Seleena Day asked:
I have a server that has three static IP addresses. I’d like to add a bridge to these settings. I tried to add the bridge this way but it doesn’t seem to be working.
auto bond0 iface bond0 inet static address x.x.x.108 netmask 255.255.255.100 gateway x.x.x.1 dns-nameservers 126.96.36.199 188.8.131.52 slaves eno1 eno2 bond-mode active-backup bond-miimon 100 bond-primary eno1 auto br0 iface br0 inet static address x.x.x.108 netmask 255.255.255.100 gateway x.x.x.1 bridge_ports bond_lan bridge_stp on bridge_fd 0 bridge_maxwait 0 auto bond0 iface bond0 inet static address x.x.x.108 netmask 255.255.255.100 auto bond0 iface bond0 inet static address x.x.x.110 netmask 255.255.255.100
There’s an obvious error here:
You named your bond interface
bond0, but mistyped it there as
The other error is that you have added the IP addresses to the bond interface, but they have to be added to the bridge interface. Also change those to
iface br0 inet static
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.