MAC address self-learning - can disable?
This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
MAC address self-learning - can disable?
Region : Hongkong
Model : TG-3468
Hardware Version : V2
Firmware Version :
ISP :
I have two TG-3468 NICs in a Linux box, and generally they work fine.
However, I need to disable the MAC address self-learning.
I am trying to use them as part of a bonded (LACP) connection using Linux kernel bonding. What happens is this:
1) Boot box. Cards are identified as eth0 MAC=f8:1a:67:04:25:44 and eth1 MAC=f8:1a:67:04:25:45.
2) Kernel bonding happens. As part of this process, unavoidably, both cards are assigned the same MAC address. This means that eth1 has its MAC address changed to f8:1a:67:04:25:44.
3) The NIC supporting eth1 self-learns the new MAC address.
4) Reboot
5) Boot box. Cards are identified as eth0 MAC=f8:1a:67:04:25:44 and eth1 MAC=f8:1a:67:04:25:44 - BOTH THE SAME because of the self-learning!
6) udevd doesn't know what to do with two cards with the same MAC address, doesn't start eth1, and my kernel bonding fails.
I used to use NICs that didn't self-learn MACs, and because they reverted to their default MAC addresses every reboot, there was never a problem.
So... can I disable MAC address self-learning on this card?
Thanks!
Al.
Model : TG-3468
Hardware Version : V2
Firmware Version :
ISP :
I have two TG-3468 NICs in a Linux box, and generally they work fine.
However, I need to disable the MAC address self-learning.
I am trying to use them as part of a bonded (LACP) connection using Linux kernel bonding. What happens is this:
1) Boot box. Cards are identified as eth0 MAC=f8:1a:67:04:25:44 and eth1 MAC=f8:1a:67:04:25:45.
2) Kernel bonding happens. As part of this process, unavoidably, both cards are assigned the same MAC address. This means that eth1 has its MAC address changed to f8:1a:67:04:25:44.
3) The NIC supporting eth1 self-learns the new MAC address.
4) Reboot
5) Boot box. Cards are identified as eth0 MAC=f8:1a:67:04:25:44 and eth1 MAC=f8:1a:67:04:25:44 - BOTH THE SAME because of the self-learning!
6) udevd doesn't know what to do with two cards with the same MAC address, doesn't start eth1, and my kernel bonding fails.
I used to use NICs that didn't self-learn MACs, and because they reverted to their default MAC addresses every reboot, there was never a problem.
So... can I disable MAC address self-learning on this card?
Thanks!
Al.