配置bond

[root@node4 ~]# 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 "

[root@node4 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE="eth0"

HWADDR="B4:99:BA:BF:1F:36"

ONBOOT="yes"

MASTER="bond0"

SLAVE="yes"

[root@node4 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1

DEVICE="eth1"

HWADDR=B4:99:BA:BF:1F:38

ONBOOT="yes"

MASTER="bond0"

SLAVE="yes"

[root@node4 ~]# 


你可能感兴趣的:(配置,Bond)