<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoPlainText>It's currently working again with 2 LXC containers, though I can't make out what I've done to fix it this time (a restart of the whole VM was involved). Here's the output you suggested:<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>I’ll take another look at this output when I encounter the problem again.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><span style='font-family:"Courier New"'>root@ubuntuserver:~# brctl showstp br0<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'>br0<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'> bridge id 8000.080027ca5f7a<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'> designated root 8000.080027ca5f7a<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'> root port 0 path cost 0<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'> max age 20.00 bridge max age 20.00<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'> hello time 2.00 bridge hello time 2.00<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'> forward delay 0.00 bridge forward delay 0.00<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'> ageing time 300.01<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'> hello timer 1.86 tcn timer 0.00<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'> topology change timer 0.00 gc timer 108.86<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'> flags<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'>eth0 (1)<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'> port id 8001 state forwarding<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'> designated root 8000.080027ca5f7a path cost 4<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'> designated bridge 8000.080027ca5f7a message age timer 0.00<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'> designated port 8001 forward delay timer 0.00<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'> designated cost 0 hold timer 0.85<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'> flags<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'>veth8c3e7P (2)<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'> port id 8002 state forwarding<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'> designated root 8000.080027ca5f7a path cost 2<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'> designated bridge 8000.080027ca5f7a message age timer 0.00<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'> designated port 8002 forward delay timer 0.00<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'> designated cost 0 hold timer 0.85<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'> flags<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'>vethBXiUaM (3)<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'> port id 8003 state forwarding<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'> designated root 8000.080027ca5f7a path cost 2<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'> designated bridge 8000.080027ca5f7a message age timer 0.00<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'> designated port 8003 forward delay timer 0.00<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'> designated cost 0 hold timer 0.85<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'> flags<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>-----Original Message-----<br>From: Guido Jäkel [mailto:G.Jaekel@DNB.DE] <br>Sent: Wednesday, April 03, 2013 2:46 PM<br>To: David Parks<br>Subject: Re: [Lxc-users] Networking fails sporadically in containers on ubuntu server 12.10</p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>On 2013-04-03 08:27, David Parks wrote:<o:p></o:p></p><p class=MsoPlainText>> I take it back, I'm still reproducing the issue. I just stopped 5 LXC <o:p></o:p></p><p class=MsoPlainText>> containers, cloned 5 from a base image, and re-set the IP to the same <o:p></o:p></p><p class=MsoPlainText>> as the original 5 were using (e.g. the MAC changed as I don't have <o:p></o:p></p><p class=MsoPlainText>> that defined in the config file). Restarting the first one now and it <o:p></o:p></p><p class=MsoPlainText>> won't ping the router or get out to the internet, and there's a ~30 <o:p></o:p></p><p class=MsoPlainText>> sec delay SSHing to it from the host. At this same time I have one <o:p></o:p></p><p class=MsoPlainText>> other LXC container running that works (this one starting working <o:p></o:p></p><p class=MsoPlainText>> after I changed the MAC of the NAT interface in virtualbox, eth0 on the host OS).<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Dear David,<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>what's about the STP settings (espc. "hello" time and forwarding delay) of the involved Linux bridge(s) *and* on the external router(s)? You may e.g. post output of "brctl showstp br0"<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>greetings<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Guido<o:p></o:p></p></div></body></html>