CentOS 7.6网卡绑定mode1
[root@server ~]# systemctl stop NetworkManager
[root@server ~]# systemctl disable NetworkManager
[root@server ~]# lsmod |grep bonding
[root@server ~]# modprobe --first-time bonding
[root@server ~]# setenforce 0
[root@server ~]# getenforce 0
使用bond实现mode1:
[root@server ~]# more /etc/modprobe.d/bond.conf
alias bond1 bonding
options bond1 miimon=100 mode=1
[root@server ~]#
[root@server network-scripts]# more ifcfg-bond1
TYPE=Bond
BOOTPROTO=none
ONBOOT=yes
USERCTL=no
DEVICE=bond1
IPADDR=192.168.21.200
PREFIX=24
NM_CONTROLLE=no
BONDING_MASTER=yes
BONDING_OPTS="mode=1 miimon=100"
[root@server network-scripts]#
[root@ser