Re: Getting started - Error message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daniel,


On 2011-03-04 19:08, Daniel Lezcano wrote:
> On 03/03/2011 07:55 PM, Philip Rhoades wrote:
>> People,
>>
>> I used this info to get started on Fedora 14 x86_64:
>>
>> http://www.techrepublic.com/blog/opensource/introducing-linux-virtual-containers-with-lxc/1289
>>
>>
>> and everything seems happy when doing the setup stuff but when I try
>> to run:
>>
>> /usr/bin/lxc-execute -n test -f /etc/lxc/lxc-test.conf /bin/bash
>>
>> I get:
>>
>> lxc-execute: network is not created for 'lxc.network.link' = 'br0
>> lxc.network.hwaddr = 4a:49:43:49:79:bd' option
>>
>> lxc-execute: failed to process 'lxc.network.link = br0
>> lxc.network.hwaddr = 4a:49:43:49:79:bd
>> '
>> lxc-execute: failed to read configuration file
>>
>> but the conf file is readable:
>>
>> -rw-r--r-- 1 root root 215 Mar 4 05:29 /etc/lxc/lxc-test.conf
>
> The blog shows something like that:
>
> "lxc.utsname = test lxc.network.type = veth lxc.network.flags = up
> lxc.network.link = br0 lxc.network.hwaddr = 4a:49:43:49:79:bd
> lxc.network.ipv4 = 192.168.250.150 lxc.network.ipv6 =
> 2003:db8:1:0:214:1234:fe0b:3596"
>
> The configuration file should be in this format:
>
> lxc.utsname = test
> lxc.network.type = veth
> lxc.network.flags = up
> lxc.network.link = br0
> lxc.network.hwaddr = 4a:49:43:49:79:bd
> lxc.network.ipv4 = 192.168.250.150
> lxc.network.ipv6 = 2003:db8:1:0:214:1234:fe0b:3596


I should have seen that! (I did notice the same problem in one of the 
commands.  I changed the IP addresses appropriately for my setup but the 
comment:  "The next commands then reset the IP address of eth0 to 
0.0.0.0, but since it is bound to the bridge interface, it will respond 
to the previous IP address anyways." does not seem to be true for me and 
my normal networking was messed up.  Anyway, is it possible to set up 
the container without messing with the existing eth0 setup?

Thanks,

Phil.
-- 
Philip Rhoades

GPO Box 3411
Sydney NSW	2001
Australia
E-mail:  phil@xxxxxxxxxxxxx
_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers


[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux