[Lxc-users] Networking fails sporadically in containers on ubuntu server 12.10
David Parks
davidparks21 at yahoo.com
Wed Apr 3 07:50:17 UTC 2013
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:
Ill take another look at this output when I encounter the problem again.
root at ubuntuserver:~# brctl showstp br0
br0
bridge id 8000.080027ca5f7a
designated root 8000.080027ca5f7a
root port 0 path cost 0
max age 20.00 bridge max age
20.00
hello time 2.00 bridge hello time
2.00
forward delay 0.00 bridge forward delay
0.00
ageing time 300.01
hello timer 1.86 tcn timer
0.00
topology change timer 0.00 gc timer
108.86
flags
eth0 (1)
port id 8001 state
forwarding
designated root 8000.080027ca5f7a path cost 4
designated bridge 8000.080027ca5f7a message age timer
0.00
designated port 8001 forward delay timer
0.00
designated cost 0 hold timer
0.85
flags
veth8c3e7P (2)
port id 8002 state
forwarding
designated root 8000.080027ca5f7a path cost 2
designated bridge 8000.080027ca5f7a message age timer
0.00
designated port 8002 forward delay timer
0.00
designated cost 0 hold timer
0.85
flags
vethBXiUaM (3)
port id 8003 state
forwarding
designated root 8000.080027ca5f7a path cost 2
designated bridge 8000.080027ca5f7a message age timer
0.00
designated port 8003 forward delay timer
0.00
designated cost 0 hold timer
0.85
flags
-----Original Message-----
From: Guido Jäkel [mailto:G.Jaekel at DNB.DE]
Sent: Wednesday, April 03, 2013 2:46 PM
To: David Parks
Subject: Re: [Lxc-users] Networking fails sporadically in containers on
ubuntu server 12.10
On 2013-04-03 08:27, David Parks wrote:
> I take it back, I'm still reproducing the issue. I just stopped 5 LXC
> containers, cloned 5 from a base image, and re-set the IP to the same
> as the original 5 were using (e.g. the MAC changed as I don't have
> that defined in the config file). Restarting the first one now and it
> won't ping the router or get out to the internet, and there's a ~30
> sec delay SSHing to it from the host. At this same time I have one
> other LXC container running that works (this one starting working
> after I changed the MAC of the NAT interface in virtualbox, eth0 on the
host OS).
Dear David,
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"
greetings
Guido
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130403/a17914d4/attachment.html>
More information about the lxc-users
mailing list