hi.
i am using 802.3ad in my network, which seems to work if:
i manually change the mac of one servers vmbr0.
802.3ad depends on the mac address of the interface. unfortunately, my servers all have EVEN mac addresses, which leads to bad performance.
my server has 4 NICS in two bonds
one bond is directly used for iscsi network, changing of mac is easy. I just added a line in /etc/network/interfaces hwaddress ether ....
That works for this bond.
But the other bond, "bond1" is part of vmbr0
if i comment out the hwaddress line, the server is not reachable, because the base NICS have still the original MAC 00:30:48:f7:1e:9a
If i put the line hwaddress ether in the "bond1" part like this:
It is not working either. What can i do to change the mac to a odd address?
i am using 802.3ad in my network, which seems to work if:
i manually change the mac of one servers vmbr0.
802.3ad depends on the mac address of the interface. unfortunately, my servers all have EVEN mac addresses, which leads to bad performance.
my server has 4 NICS in two bonds
one bond is directly used for iscsi network, changing of mac is easy. I just added a line in /etc/network/interfaces hwaddress ether ....
Code:
auto bond0
iface bond0 inet static
hwaddress ether 00:30:48:f7:1e:99
address 172.12.0.30
netmask 255.255.255.0
slaves eth2 eth3
bond_miimon 100
bond_mode 802.3ad
That works for this bond.
But the other bond, "bond1" is part of vmbr0
Code:
auto vmbr0
iface vmbr0 inet static
#hwaddress ether 00:30:48:f7:1e:9b
address 192.168.0.101
netmask 255.255.255.0
gateway 192.168.0.20
bridge_ports bond1
bridge_stp off
bridge_fd 0
if i comment out the hwaddress line, the server is not reachable, because the base NICS have still the original MAC 00:30:48:f7:1e:9a
If i put the line hwaddress ether in the "bond1" part like this:
Code:
auto bond1
iface bond1 inet manual
hwaddress ether 00:30:48:f7:1e:9b
slaves eth0 eth1
bond_miimon 100
bond_mode 802.3ad
It is not working either. What can i do to change the mac to a odd address?