CentOS 7 Configuration method:
Modify the Eth0 configuration file to:
Type=ethernetbootproto=noneuserctl=nodevice=eth0onboot=yesmaster=bond0slave=yes
Modify the eth1 configuration file to:
Type=ethernetbootproto=noneuserctl=nodevice=eth1onboot=yesmaster=bond0slave=yes
Add ifcfg-bond0 configuration file:
device=bond0name=bond0type=bondbonding_master=yesipaddr=18.50.129.123prefix=24gateway=18.50.129.1onboot= yesbootproto=nonebonding_opts= "Mode=1 miimon=100"
Description
Mode:1 for high availability, 0 for load balancing (requires switch support), 6 for load balancing (no switch support required)
Miimon: Units in milliseconds, indicating how many milliseconds to monitor link status
Load the Bonding module:
# The following command if there are no output instructions to execute successfully modprobe--first-time bonding
Reload the network configuration file:
Nmcli Con Reload
Restart Network Service:
Systemctl Restart Network
Linux dual NIC Bindings