- 论坛徽章:
- 0
|
机器环境IBM X3650,RHEL AS4U4,4块千兆网卡,双双bond。
但是/etc/init.d/network restart时,bond0正常,bond1不能找到:
Sep 28 00:56:12 server1 ifup: bonding 设备 bond1 似乎不在。将要推迟它的初始化。
Sep 28 00:56:12 server1 network: 弹出界面 bond1: failed
另外mii-tools bond0竟然只有10m的速率
bond0: 10 Mbit, half duplex, link ok
下面是配置:
/etc/sysconfig/network-script/ifcfg-bond0
- DEVICE=bond0
- TYPE=Ethernet
- BOOTPROTO=static
- ONBOOT=yes
- USERCTL=no
- NETWORK=192.168.0.0
- NETMASK=255.255.255.0
- BROADCAST=192.168.0.255
- IPADDR=192.168.0.61
- GATEWAY=192.168.0.1
- IPV6INIT=no
- PEERDNS=no
复制代码
/etc/sysconfig/network-script/ifcfg-bond1
- DEVICE=bond1
- TYPE=Ethernet
- BOOTPROTO=static
- ONBOOT=yes
- USERCTL=no
- NETWORK=20.20.20.0
- NETMASK=255.255.255.0
- BROADCAST=20.20.20.255
- IPADDR=20.20.20.61
- IPV6INIT=no
- PEERDNS=no
复制代码
/etc/sysconfig/network-script/ifcfg-eth0,1,2,3
- DEVICE=eth1
- TYPE=Ethernet
- BOOTPROTO=none
- ONBOOT=yes
- USERCTL=no
复制代码
/etc/modprobe.conf
- alias bond0 bonding
- options bond0 miimon=100 mode=0
- alias bond1 bonding
- options bond1 miimon=100 mode=0
复制代码
/etc/rc.d/rc.local
- ifenslave bond1 eth1 eth3
- ifenslave bond0 eth0 eth2
复制代码
[ 本帖最后由 skysnowolf 于 2007-9-29 16:43 编辑 ] |
|