OpenVZ Forum


Home » General » Support » HN Network Connectivity loss when VE stopped
Re: HN Network Connectivity loss when VE stopped [message #31006 is a reply to message #26576] Thu, 12 June 2008 14:35 Go to previous message
swindmill is currently offline  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}')
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: setlocale not working properly in perl script
Next Topic: ENOMEM errors
Goto Forum:
  


Current Time: Thu Aug 14 08:22:41 GMT 2025

Total time taken to generate the page: 0.50388 seconds