Hello,
Long time lurker, first time caller.
I am running a PVE cluster with two switches for redundancy. Both switches have access to the rest of the network/internet. The primary switch is connected with dual 10G LACP links and the secondary with dual 1G active-backup links.
My goal is to set the default route on both links, with the primary route being over the 10G switch. This can be accomplished normally with:
What is the appropriate way to accomplish this using the /etc/network/interfaces configuration file?
Here is my current setup:
Long time lurker, first time caller.
I am running a PVE cluster with two switches for redundancy. Both switches have access to the rest of the network/internet. The primary switch is connected with dual 10G LACP links and the secondary with dual 1G active-backup links.
My goal is to set the default route on both links, with the primary route being over the 10G switch. This can be accomplished normally with:
Code:
ip route add default via xx.xx.xx.xx metric 200
What is the appropriate way to accomplish this using the /etc/network/interfaces configuration file?
Here is my current setup:
Code:
auto lo
iface lo inet loopback
auto eno1
iface eno1 inet manual
auto eno2
iface eno2 inet manual
iface eno3 inet manual
iface eno4 inet manual
auto enp6s0
iface enp6s0 inet manual
auto enp6s0d1
iface enp6s0d1 inet manual
auto pve
iface pve inet static
address 10.23.70.11/24
gateway 10.23.70.1
ovs_type OVSIntPort
ovs_bridge vmbr0
ovs_options tag=2370
iface pve inet6 static
address 2603:xxxx:xxxx:2570::11/64
auto pvebackup
iface pvebackup inet static
address 10.23.75.11/24
ovs_type OVSIntPort
ovs_bridge vmbr1
auto bond0
iface bond0 inet manual
ovs_bonds enp6s0 enp6s0d1
ovs_type OVSBond
ovs_bridge vmbr0
ovs_options other_config:lacp-time=fast lacp=active bond_mode=balance-tcp
auto bond1
iface bond1 inet manual
ovs_bonds eno1 eno2
ovs_type OVSBond
ovs_bridge vmbr1
ovs_options bond_mode=active-backup
auto vmbr0
iface vmbr0 inet manual
ovs_type OVSBridge
ovs_ports bond0 pve
auto vmbr1
iface vmbr1 inet manual
ovs_type OVSBridge
ovs_ports bond1 pvebackup