Quoting Przemysław Knycz (pkn...@kolnet.eu): > Hello! > > Config: > #net eth0 > lxc.network.type = phys > lxc.network.flags = up > lxc.network.link = eth0 > lxc.network.name = eth0 > lxc.network.mtu = 1500 > lxc.network.ipv4 = 192.168.136.113/26 > > # lxc-start -n test1 -f config > lxc-start: failed to move 'eth0' to the container > > # uname -a > Linux kontener 2.6.32-kolnet #1 SMP Wed Apr 7 17:32:50 CEST 2010 > x86_64 GNU/Linux > > # lxc-version > lxc version: 0.6.5 > > Any ideas where find problem?
You can't currently move physical devices into containers. You must use either veth or macvlan. So for instance you should be able to use the following config: lxc.network.type = macvlan lxc.network.flags = up lxc.network.link = eth0 lxc.network.ipv4 = 192.168.136.113/26 The interface will be renamed to eth0 inside the container. -serge ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users