1 of 1 people found this helpful
In order to set 2 ports one is active and the other is backup , you can configure a bond using the active-backup mode.
Active-backup policy: Only one slave in the bond is active. A different slave becomes active if, and only if, the active slave fails.
The bond’s MAC address is externally visible on only one port (network adapter) to avoid confusing the switch.
This mode provides fault tolerance. The primary option affects the behavior of this mode.
Please refer to the following guides from RedHat :
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/networking_guide/sec-network_bonding_using_the_command_line_interface4.4. Using the Command Line Interface (CLI) - Red Hat Customer Portal