[CentOS] Bonding mode balance-alb (6): How to control the assigned MAC address?

Robert Moskowitz rgm at htt-consult.com
Tue Apr 25 11:30:58 UTC 2017



On 04/25/2017 12:32 PM, Frank Thommen wrote:
> Hi,
>
> we are trying to switch our bonding modes from 1 (active-backup) to 6 
> (balance-alb).  However it seems, that these bond devices are not 
> always getting the MAC address from the same slave.  Sometimes the 
> device gets the MAC address of the first and sometimes of the second 
> slave.  Since only the MAC address of the first slave device is (can 
> be) registered in DHCP, this breaks connectivity (about) every second 
> time we boot the computer.
>
> Is there a way to control which MAC address is assigned to the bonding 
> device w/o configuring it explicitely in the ifcfg file?

can you set it at bonding time with the nmcli command?





More information about the CentOS mailing list