- 论坛徽章:
- 0
|
需求eth0 eth1绑定实现fail over,可是设置了半天始终不行,只要一拔掉eth0网络立刻断掉
好像eth1压根没起上作用
# uname -a
Linux redhat1.tools.com 2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
#more ifcfg-bond0
DEVICE=bond0
BOOTPROTO=none
BROADCAST=192.168.0.255
IPADDR=192.168.0.190
NETMASK=255.255.255.0
ONBOOT=yes
#GATEWAY=192.168.0.15
TYPE=Ethemet
USERCTL=no
bonding_ops="mode=1 miimon=100"
# more ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=no
# more ifcfg-eth1
DEVICE=eth1
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=no
# more bond0
Ethernet Channel Bonding Driver: v3.2.4 (January 28, 200
Bonding Mode: fault-tolerance (active-backup)
Primary Slave: None
Currently Active Slave: eth0
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0
Slave Interface: eth0
MII Status: up
Link Failure Count: 1
Permanent HW addr: 00:1a:64:dc:45:18
Slave Interface: eth1
MII Status: up
Link Failure Count: 1
Permanent HW addr: 00:1a:64:dc:45:1a
[root@redhat1 bonding]# pwd
/proc/net/bonding
|
|