ok thanks for the information,i will make a try on 2.6.35-rc4 kernel and with latest lxc package.Also can anyone suggest how to make macvlan container communicate with the host.i can make macvlan communicate with other container using macvlan bridge mode similarly is there any way that i can make it to allow communicate with host as well.<div>

<br></div><div>Thanks,</div><div>Sabdar.  <br><br><div class="gmail_quote">On Thu, Jul 8, 2010 at 4:03 AM, Matt Helsley <span dir="ltr"><<a href="mailto:matthltc@us.ibm.com">matthltc@us.ibm.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5">On Mon, Jul 05, 2010 at 10:09:21AM +0530, Sabdar wrote:<br>
>    Hi all,<br>
>         I want to use the below configuration in lxc, but the problem is the<br>
> physical interface is not getting release after i stop the container like it<br>
> happens in macvlan type.The interface gets disappear from host and i can<br>
> restore that only if i reboot my system,<br>
><br>
> lxc.utsname = gamma<br>
> lxc.network.type = phys<br>
> lxc.network.flags = up<br>
> lxc.network.link = eth0<br>
> <a href="http://lxc.network.name" target="_blank">lxc.network.name</a> = eth0<br>
> lxc.network.ipv4 = 192.168.10.1<br>
><br>
> My kernel version :- linux-2.6.33<br>
<br>
</div></div>Have you tried 2.6.35-rc4? It has Eric's sysfs and netns tagging<br>
patches which enhance support for using physical interfaces.<br>
<br>
Cc'ing lxc-users (which is probably a better place to ask)<br>
<div class="im"><br>
> Lxc version :- 0.6.5<br>
<br>
</div>lxc 0.7.1 is also out.<br>
<br>
I'm sorry, I know this isn't much help in figuring out the<br>
exact nature of the problem. Hopefully Cc'ing lxc-users will help.<br>
<br>
Cheers,<br>
<font color="#888888">        -Matt Helsley<br>
</font></blockquote></div><br></div>