Why do I need to reboot after adding bridge device?

RodinM

Renowned Member
Aug 1, 2011
81
0
71
Hi,
When I add a bridge device in the web interface of a physical server it says to me that I must reboot the server to apply changes. Why is it so?
It is very complicated to reboot the physical server with a couple of VMs that MUST run in uninterruptible mode.
Any ideas? Or do I miss anything?
 
I was wondering too, when I started using Proxmox. I guess this was invented as a sure-fire way to get the modified networking setup working. But if you know how yo make your changes by hand, then you can do just that. That's what I do as well.
 
I try to issue the command "/etc/init.d/networking restart" but it has no effect on the changes I made in the web interface. The second bridge device doesn't appear in the network configuration.
 
I try to issue the command "/etc/init.d/networking restart" but it has no effect on the changes I made in the web interface. The second bridge device doesn't appear in the network configuration.

# cp /etc/network/interfaces.new /etc/network/interfaces
# /etc/init.d/networking restart

But i consider that quite dangerous - I guess all VMs will loose there network connections.
 
And if you have slaves on your bridges (you probably will), you need to re-add them. Make notes of how it was before the networking restart step and re-build it afterwards if needed.
 
dietmar: instead of doing a restart of the network, one could do a ifup vmbrX. Also to be able to remove a bridge you could do a ifdown vmbrX, and thus be able to add and remove bridges on the fly.