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. 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 to 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. Note: Red Hat does not support assigning a permanent MAC address to bond interfaces in active-backup mode with the fail_over_mac option set to follow or active.Īfter performing the necessary changes in the network configuration files make sure to reboot the system for the MAC address to take effect. # cat /etc/sysconfig/network-scripts/ifcfg-bond0īONDING_OPTS="mode=active-backup primary=eno1 miimon=100" # cat /etc/sysconfig/network-scripts/ifcfg-eno2 # cat /etc/sysconfig/network-scripts/ifcfg-eno1
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |