Submitted by RyanJohnson on Wed, 03/12/2014 - 03:36
Whenever I need to make changes to the network interface of the cloudmin master and restart the network interface, all guests disconnect and need to be rebooted, hence pulling everything down.
Is there a way to avoid this? Has it got something to do with the bridge interface set-up?
This is my /etc/network/interfaces
iface br0 inet static
address MY.IP.ADD.RESS
netmask 255.255.255.0
broadcast MY.IP.ADD.255
network MY.IP.ADD.0
bridge_ports eth0
gateway MY.IP.ADD.253
#bridge_fd 0
bridge_maxwait 0
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stp off
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Wed, 03/12/2014 - 11:51 Comment #1
This is is probably inevitable due to the way Linux bridge / tap networking works. By taking down br0 to change the IP, all the tapN interfaces that VMs use to connect to the network will also go down.
Submitted by RyanJohnson on Wed, 03/12/2014 - 13:47 Comment #2
Thanks for getting back to me.
Sorry, I think I worded my question a bit wrong. If I'm not changing IPs .. Say for instance I need to edit /etc/hosts or resolv.conf I need to restart the networking ie no changes to the interface itself.
Submitted by JamieCameron on Wed, 03/12/2014 - 18:17 Comment #3
You don't need to restart networking to apply an /etc/hosts or resolv.conf change.
Submitted by RyanJohnson on Wed, 03/12/2014 - 21:09 Comment #4
Thanks Jamie,
Much appreciated.