The error was  ICMP "no route to host", but now i change the conf and instead of vepa I used bridge...after destroy and create the containers with the new conf, seems to be working as expected for a while, but from time to time "the container became unresponsive".. no ping (100% packet lost). The curious thing is, if I login into the host and then to the container (lxc-console) and ping another container or host the " unresponsive container " become alive again (ping OK)....so I'm a bit lost.. <br clear="all">
<br>Jorge E. Espada<br><br>
<br><br><div class="gmail_quote">On Wed, Oct 13, 2010 at 2:17 AM, Daniel Lezcano <span dir="ltr"><<a href="mailto:dlezcano@fr.ibm.com">dlezcano@fr.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 class="im">On 10/12/2010 10:29 PM, jorge espada wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi, I have a lxc container  running on debian lenny (kernel 2.6.32) with the<br>
following conf:<br>
<br>
lxc.network.type = macvlan<br>
lxc.network.flags = up<br>
lxc.network.link = vlan310<br>
<a href="http://lxc.network.name" target="_blank">lxc.network.name</a> = vlan310<br>
lxc.network.macvlan.mode = vepa<br>
lxc.network.hwaddr = 06:00:0a:1f:00:46<br>
lxc.network.ipv4 = <a href="http://10.31.0.70/24" target="_blank">10.31.0.70/24</a><br>
<br>
# network2<br>
lxc.network.type = macvlan<br>
lxc.network.flags = up<br>
lxc.network.link = vlan400<br>
<a href="http://lxc.network.name" target="_blank">lxc.network.name</a> = vlan400<br>
lxc.network.macvlan.mode = vepa<br>
lxc.network.hwaddr = 06:00:0a:28:00:46<br>
lxc.network.ipv4 = <a href="http://10.40.0.70/23" target="_blank">10.40.0.70/23</a><br>
<br>
<br>
is the macvlan mode vepa supported for that kernel or I need a newer one?<br>
</blockquote>
<br></div>
You need a 2.6.33 kernel version.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Because I have weird problems with that conf, some times I can ping the<br>
container from another host but some times not...is random<br>
</blockquote>
<br></div>
I am not sure it is related. What happens when you can't ping the host ?<br>
What is the error ? ICMP "no route to host" ? or just the packet are lost ?<br>
</blockquote></div><br>