Hello all

Using lxc since many months, i decided to add a network card on my host. I 
thought it could be assigned to the lxc-guests i will create later.

But ... it doesn't work.

when i try to start the container i get this error:

root@p733:/opt/lxc/vm1733# lxc-start -n vm1733 -d -o /tmp/outvm1733

root@p733:/opt/lxc/vm1733# cat /tmp/outvm1733
       lxc-start 1296908902.660 ERROR    lxc_conf - failed to move 'eth3' to 
the 
container : Invalid argument
       lxc-start 1296908902.660 ERROR    lxc_start - failed to create the 
configured network
       lxc-start 1296908902.660 ERROR    lxc_start - failed to spawn 'vm1733'

eth3 exists on the hosts (3 because i tried with another card before)

Here the guest config:

root@p733:/opt/lxc/vm1733# cat config
# Container with network virtualized using a physical network device with name
lxc.utsname = vm1733
lxc.network.type = phys
lxc.network.flags = up
lxc.network.link = eth3
lxc.network.name = eth0
#lxc.network.hwaddr = 01:50:fc:45:6e:35
lxc.network.ipv4 = 192.168.0.69/24

This guest works fine with config veth (lxc.network.link= br0)  but i should 
like to understand...

Thanks
Patrick


------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to