1.
Network topology
650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M00/05/8F/wKiom1mndXGjAkrDAAE4t7pOhFY397.png-wh_500x0-wm_ 3-wmp_4-s_3202734672.png "title=" image 1.png "alt=" Wkiom1mndxgjakrdaae4t7pohfy397.png-wh_50 "/>
2.
Project Requirements
Customer Requirements Linuxthe system server dual NIC is connected to two units 7706 core Switchdo The NIC's bond take active-backupMode, improve the linkfault-tolerant capability.
3.
Configuration Steps
1,, Create bond0 Configuration file
V I /etc/sysconfig/network-scripts/ifcfg-bond0
Device=bond0
Type=bond
ipaddr=6.0.20.6
netmask=255.255.255.0
network=6.0.20.0
broadcast=6.0.20.255
gateway=6.0.20.1
Onboot=yes
Bootproto=none
Userctl=no
2 , Modify the bound eth0 and eth1 . configuration file
V I /etc/sysconfig/network-scripts/ifcfg-eth0
Device=eth0
Userctl=no
Onboot=yes
Master=bond0
Slave=yes
Bootproto=none
V I /etc/sysconfig/network-scripts/ifcfg-eth1
Device=eth1
Userctl=no
Onboot=yes
Master=bond0
Slave=yes
Bootproto=none
3. Loading Bond Module Drive
Vi/etc/modprobe.d/bond0.conf
Alias Bond0 Bonding
Options Bond0 miimon=100 mode=1
4./etc/rc.d/rc.local setting Boot from boot
I Fen slave bond0 eth0 eth1
This article from the "13244484" blog, reproduced please contact the author!
Linux NIC binding implementation case