Network Interface & Bridge Change¶
To change the default bridge in Proxmox, you need to edit the /etc/network/interfaces file on the node you want to change.
Here's an example of how to change the default bridge from vmbr0 to vmbr1 or change the physical interface fro eth0 to eth1:
- Log in to the node as root.
- Open the
/etc/network/interfacesfile in a text editor, such asnanoorvim. - Locate the section that defines the default bridge, which typically looks like this:
Sample Config¶
Change Physical Interface¶
Change the eth0 to eth1 and update the bridge_ports line to reflect the new eth interface.
Change Bridge Interface¶
Change the vmbr0 to vmbr1 and update the bridge_ports(if needed) line to reflect the new bridge interface.
Post Update¶
- Save the changes to the
/etc/network/interfacesfile. - Restart the networking service to apply the changes:
You can also restart the node itself for the changes to take affect!
Note: Be careful when editing the /etc/network/interfaces file, as incorrect changes can cause network connectivity issues.
It's a good idea to make a backup of the file before making changes.