libvirt and bridge age
DULMANDAKH Sukhbaatar
dulmandakh at gmail.com
Thu Sep 23 16:09:16 UTC 2010
Hello,
I've set up virtual machine using libvirt on ubuntu 10.04 and guest is
also same. Everything went smoothly and working fine, except
networking.
Bridge network is working fine after start, but goes away after a
while. IP used on my guest points to host, so everything stops
working. If I login to my virtual machine using virt-viewer or similar
tools, and do some network activity, then bridge starts to work. And
after some time it goes away.
Searching google and reading various manuals I found nothing useful
except bridge aging. IIRC, bridges stores MAC for a while and clears
it. Due to this problem my services goes down until I login using
libvirt tools and do some network activity. Below is my
/etc/network/interface file where I tried to disable bridge aging.
auto br0
iface br0 inet static
address xxx.xxx.xxx.xxx
netmask 255.255.255.0
bridge_ports eth1
bridge_stp off
bridge_fd 0
bridge_maxwait 0
bridge_ageing 0
bridge_maxage 0
Please help me with this.
--
Regards
Dulmandakh
http://www.dulmandakh.com
http://www.twitter.com/dulmandakh/
http://www.facebook.com/dulmandakh
More information about the ubuntu-server
mailing list