Re: HN Network Connectivity loss when VE stopped [message #31006 is a reply to message #26576] |
Thu, 12 June 2008 14:35  |
swindmill
Messages: 57 Registered: April 2007
|
Member |
|
|
I seem to have been able to resolve this issue for myself by modifying the custom network script I use to add the veth devices created by vzctl into my bridge (containing eth0) at the VE start.
I manually set br0's mac address to that of eth0 after adding the veth device, and I also added a VEID.umount script that does the same when the VE is shutdown.
This seems to allow me to start and stop the VE without causing any network connectivity issues.
The command I'm using is:
/sbin/ifconfig br0 hw ether $(ifconfig eth0 | awk '{print $5; exit}')
|
|
|