esources 于 2008-03-12 11:46:18发表:
软件不懂 vi /etc/modprobe.conf 添加alias bond0 bonding cd /etc/sysconfig/network-scripts vi ifcfg-bond0 添加 DEVICE=bond0 IPADDR=192.168.1.1 NETMASK=255.255.255.0 NETWORK=192.168.1.0 BROADCAST=192.168.1.255 ONBOOT=yes BOOTPROTO=none USERCTL=no vi ifcfg-eth1 ifcfg-eth0 添加 DEVICE=eth0/1 USERCTL=no ONBOOT=yes MASTER=bond0 SLAVE=yes BOOTPROTO=none vi /etc/init.d/boot.local 添加 /sbin/ifconfig bond0 192.168.1.1 netmask 255.255.255.0 \ broadcast 192.168.1.255 up /sbin/ifenslave bond0 eth0 /sbin/ifenslave bond0 eth1 绑定有好几种模式,可以参考下资料
esources 于 2008-03-12 11:46:18发表:
软件不懂
vi /etc/modprobe.conf
添加alias bond0 bonding
cd /etc/sysconfig/network-scripts
vi ifcfg-bond0
添加
DEVICE=bond0
IPADDR=192.168.1.1
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
vi ifcfg-eth1 ifcfg-eth0
添加
DEVICE=eth0/1
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
vi /etc/init.d/boot.local
添加
/sbin/ifconfig bond0 192.168.1.1 netmask 255.255.255.0 \
broadcast 192.168.1.255 up
/sbin/ifenslave bond0 eth0
/sbin/ifenslave bond0 eth1
绑定有好几种模式,可以参考下资料