[[email protected] ~]# cat /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
ONBOOT=yes
BOOTPROTO=static
IPADDR=10.240.217.104
NETMASK=255.255.255.0
GATEWAY=10.240.217.1
USERCTL=no
BONDING_OPTS="mode=0 miimon=100 "
[[email protected] ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
HWADDR="B4:99:BA:BF:1F:36"
ONBOOT="yes"
MASTER="bond0"
SLAVE="yes"
[[email protected] ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE="eth1"
HWADDR=B4:99:BA:BF:1F:38
ONBOOT="yes"
MASTER="bond0"
SLAVE="yes"
[[email protected] ~]#
配置bond
时间: 2024-09-30 16:39:27