Comment 3 for bug 1701417

Revision history for this message
Mike Pontillo (mpontillo) wrote :

It looks like on CentOS there are two configuration keys for specifying the MAC[1], which have a subtle difference:

HWADDR=<MAC-address>
where <MAC-address> is the hardware address of the Ethernet device in the form AA:BB:CC:DD:EE:FF. This directive is useful for machines with multiple NICs to ensure that the interfaces are assigned the correct device names regardless of the configured load order for each NIC's module. This directive should not be used in conjunction with MACADDR.

MACADDR=<MAC-address>
where <MAC-address> is the hardware address of the Ethernet device in the form AA:BB:CC:DD:EE:FF. This directive is used to assign a MAC address to an interface, overriding the one assigned to the physical NIC. This directive should not be used in conjunction with HWADDR.

HWADDR should be used to *identify* the NIC, such as for physical interfaces, whereas MACADDR is used to *configure* the MAC address, such as if you want a non-default MAC for a bond or bridge (AIUI).

In other words, maybe it isn't working because we're using HWADDR in the bond configuration, when it should be using MACADDR?

[1]: https://www.centos.org/docs/5/html/5.2/Deployment_Guide/s2-networkscripts-interfaces-eth0.html