以下为bound1(主备模式)的配置
[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-ens6f0 TYPE=Ethernet NAME=ens6f0 DEVICE=ens6f0 MASTER=ctl_bond1 SLAVE=yes ONBOOT=yes [root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-ens6f1 TYPE=Ethernet NAME=ens6f1 DEVICE=ens6f1 MASTER=ctl_bond1 SLAVE=yes ONBOOT=yes [root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-ctl_bond1 TYPE=Bond BONDING_OPTS=mode=active-backup BONDING_MASTER=yes BOOTPROTO=none NAME=ctl_bond1 DEVICE=ctl_bond1 ONBOOT=yes BRIDGE=br0 [root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-br0 BOOTPROTO=none DEFROUTE=yes IPV4_FAILURE_FATAL=no IPV6INIT=yes IPV6_AUTOCONF=yes IPV6_DEFROUTE=yes IPV6_FAILURE_FATAL=no IPV6_ADDR_GEN_MODE=stable-privacy DEVICE=br0 NAME=br0 ONBOOT=yes IPADDR=192.168.7.110 PREFIX=24 GATEWAY=192.168.7.1 TYPE=Bridge [root@localhost ~]#
标签:bond1,配置,bound,sysconfig,网桥,ctl,yes,root,localhost From: https://www.cnblogs.com/santia-god/p/17195861.html