Hello,
i need two different class of IP on my local network.
Can i set Two Bond on the same couple interfaces ?
in my case: bond1 bond2 sharing eth4 eth5
-----------------------------------------------------------------------------
auto lo
iface lo inet loopback
iface eth0 inet manual
#WAN
iface eth1 inet manual
iface eth2 inet manual
#ceph
iface eth3 inet manual
#ceph
iface eth4 inet manual
#ha
iface eth5 inet manual
#ha
auto bond0
iface bond0 inet static
address 10.10.10.2
netmask 255.255.255.0
slaves eth2 eth3
bond_miimon 100
bond_mode balance-rr
auto bond1
iface bond1 inet static
address 192.168.100.2
netmask 255.255.255.0
slaves eth4 eth5
bond_miimon 100
bond_mode balance-rr
auto bond2
iface bond2 inet static
address 192.168.1.1
netmask 255.255.255.0
slaves eth4 eth5
bond_miimon 100
bond_mode balance-rr
auto vmbr0
iface vmbr0 inet static
address 185.36.73.132
netmask 255.255.252.0
gateway 185.36.72.1
bridge_ports eth0
bridge_stp off
bridge_fd 0
----------------------------------------------------------------------------------------------------------------------
Thanks!
i need two different class of IP on my local network.
Can i set Two Bond on the same couple interfaces ?
in my case: bond1 bond2 sharing eth4 eth5
-----------------------------------------------------------------------------
auto lo
iface lo inet loopback
iface eth0 inet manual
#WAN
iface eth1 inet manual
iface eth2 inet manual
#ceph
iface eth3 inet manual
#ceph
iface eth4 inet manual
#ha
iface eth5 inet manual
#ha
auto bond0
iface bond0 inet static
address 10.10.10.2
netmask 255.255.255.0
slaves eth2 eth3
bond_miimon 100
bond_mode balance-rr
auto bond1
iface bond1 inet static
address 192.168.100.2
netmask 255.255.255.0
slaves eth4 eth5
bond_miimon 100
bond_mode balance-rr
auto bond2
iface bond2 inet static
address 192.168.1.1
netmask 255.255.255.0
slaves eth4 eth5
bond_miimon 100
bond_mode balance-rr
auto vmbr0
iface vmbr0 inet static
address 185.36.73.132
netmask 255.255.252.0
gateway 185.36.72.1
bridge_ports eth0
bridge_stp off
bridge_fd 0
----------------------------------------------------------------------------------------------------------------------
Thanks!