PHYS type lxc not working

Matt Helsley matthltc at us.ibm.com
Wed Jul 7 15:33:44 PDT 2010


On Mon, Jul 05, 2010 at 10:09:21AM +0530, Sabdar wrote:
>    Hi all,
>         I want to use the below configuration in lxc, but the problem is the
> physical interface is not getting release after i stop the container like it
> happens in macvlan type.The interface gets disappear from host and i can
> restore that only if i reboot my system,
> 
> lxc.utsname = gamma
> lxc.network.type = phys
> lxc.network.flags = up
> lxc.network.link = eth0
> lxc.network.name = eth0
> lxc.network.ipv4 = 192.168.10.1
> 
> My kernel version :- linux-2.6.33

Have you tried 2.6.35-rc4? It has Eric's sysfs and netns tagging
patches which enhance support for using physical interfaces.

Cc'ing lxc-users (which is probably a better place to ask)

> Lxc version :- 0.6.5

lxc 0.7.1 is also out.

I'm sorry, I know this isn't much help in figuring out the
exact nature of the problem. Hopefully Cc'ing lxc-users will help.

Cheers,
	-Matt Helsley


More information about the Containers mailing list