OpenVZ Forum


Home » General » Support » Even worse thing when migrating online
Re: Even worse thing when migrating online [message #36981 is a reply to message #36980] Thu, 06 August 2009 00:11 Go to previous messageGo to previous message
swindmill is currently offline  swindmill
Messages: 57
Registered: April 2007
Member
I believe it happens because of the way linux bridges assign themselves a MAC address.

IIRC, the bridge takes its MAC from the lowest MAC of
all the interfaces that form the bridge, and the bridge changes its MAC if that interface is detached from the bridge, taking then the next lowest one.

I use a command similar to this one in my /usr/sbin/vznetaddbr and /etc/vz/conf/CTID.umount scripts for any container using veth and bridging:

ifconfig br0 hw ether $(ifconfig eth0 | awk '{print $5; exit}')


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Debian GNU/Linux 5.0.2 'Lenny' / sparc64
Next Topic: How to enable TUN/TAP device for VPS?
Goto Forum:
  


Current Time: Thu Oct 17 08:26:01 GMT 2024

Total time taken to generate the page: 0.05764 seconds