[Lxc-users] lxc-start "eats" eth1

Daniel Lezcano daniel.lezcano at free.fr
Tue Apr 12 13:27:57 UTC 2011


On 04/12/2011 01:36 PM, Ulli Horlacher wrote:
> On Tue 2011-04-12 (09:19), Ulli Horlacher wrote:
>> I use lxc with physical eth1.
>> I can start the container, connect to it, etc. Everything looks ok. But
>> when I stop the container and try to restart it, eth1 is no more availble.
>> Looks lxc "eats" this interface. How can I free it (without rebooting the
>> host (zoo))?
>
> Addon:
>
> This was with kernel 2.6.35-25-virtual
>
> With kernel 2.6.32-30-server I even cannot start the container:

Yes, in order to be able to use a physical netdev to a container, the 
/sys/class/net per namespace is needed which is available in mainstream 
since the 2.6.35 kernel version.




More information about the lxc-users mailing list