Hi all,
I have 2 identical nodes on the latest 5.3 version.
I'm using storage replication based on a shared zfs pool.
IPv4 only network, 2 VLANs but only one is involved in Proxmox routing.
Each node has 4 Ethernet ports so I've decided to create 2 bonds:
1. Going to the nearest switch they both share and where some other LAN devices are connected to.
2. Interconnecting nodes with a pair of cross over cables.
My /etc/network/interfaces as below:
auto lo
iface lo inet loopback
iface eno1 inet manual
iface eno2 inet manual
iface ens1f0 inet manual
iface ens1f1 inet manual
auto bond0
iface bond0 inet manual
slaves eno1 eno2
bond_miimon 100
bond_mode 802.3ad
bond_xmit_hash_policy layer3+4
auto bond1
iface bond1 inet static
slaves ens1f0 ens1f1
address 192.168.100.1
netmask 255.255.255.252
bond_miimon 100
bond_mode balance-rr
bond_xmit_hash_policy layer3+4
auto vmbr0
iface vmbr0 inet static
address 192.168.8.107
netmask 255.255.252.0
gateway 192.168.8.1
bridge_ports bond0
bridge_stp off
bridge_fd 0
Both bonds are working fine, i.e. pass traffic.
Question: How do I force all storage replication traffic through bond1?
In my scenario there is no need to involve a switch or any other device in this traffic.
I've tried adding static entries to /etc/hosts on both nodes:
node1:
127.0.0.1 localhost.localdomain localhost
192.168.8.107 node1.matrixscience.co.uk node1 pvelocalhost
192.168.100.2 node2.matrixscience.co.uk node2
node2:
127.0.0.1 localhost.localdomain localhost
192.168.8.107 node2.matrixscience.co.uk node2 pvelocalhost
192.168.100.2 node1.matrixscience.co.uk node1
bit still no traffic passes through bond1 / 192.168.200.0/30
Is it possible and advisable to do?
Regards,
Adam
I have 2 identical nodes on the latest 5.3 version.
I'm using storage replication based on a shared zfs pool.
IPv4 only network, 2 VLANs but only one is involved in Proxmox routing.
Each node has 4 Ethernet ports so I've decided to create 2 bonds:
1. Going to the nearest switch they both share and where some other LAN devices are connected to.
2. Interconnecting nodes with a pair of cross over cables.
My /etc/network/interfaces as below:
auto lo
iface lo inet loopback
iface eno1 inet manual
iface eno2 inet manual
iface ens1f0 inet manual
iface ens1f1 inet manual
auto bond0
iface bond0 inet manual
slaves eno1 eno2
bond_miimon 100
bond_mode 802.3ad
bond_xmit_hash_policy layer3+4
auto bond1
iface bond1 inet static
slaves ens1f0 ens1f1
address 192.168.100.1
netmask 255.255.255.252
bond_miimon 100
bond_mode balance-rr
bond_xmit_hash_policy layer3+4
auto vmbr0
iface vmbr0 inet static
address 192.168.8.107
netmask 255.255.252.0
gateway 192.168.8.1
bridge_ports bond0
bridge_stp off
bridge_fd 0
Both bonds are working fine, i.e. pass traffic.
Question: How do I force all storage replication traffic through bond1?
In my scenario there is no need to involve a switch or any other device in this traffic.
I've tried adding static entries to /etc/hosts on both nodes:
node1:
127.0.0.1 localhost.localdomain localhost
192.168.8.107 node1.matrixscience.co.uk node1 pvelocalhost
192.168.100.2 node2.matrixscience.co.uk node2
node2:
127.0.0.1 localhost.localdomain localhost
192.168.8.107 node2.matrixscience.co.uk node2 pvelocalhost
192.168.100.2 node1.matrixscience.co.uk node1
bit still no traffic passes through bond1 / 192.168.200.0/30
Is it possible and advisable to do?
Regards,
Adam