bonding 설정
centos. 5.x
/etc/modprobe.conf
cettos 6.x
/etc/modprobe.d/
bond.conf
alias bond0 bonding
options bonding miimon=100 mode=1 primary=eth0 updelay=60000
현재 bonding 설정값 확인
cat /proc/net/bonding/bond0
ex)
vi /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
TYPE=Ethernet
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.195.53
NETMASK=255.255.255.0
GATEWAY=192.168.195.11
vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
HWADDR=D0:50:99:51:78:34
#HWADDR=90:9F:33:E9:13:1A
TYPE=Ethernet
ONBOOT=yes
BOOTPROTO=static
MASTER=bond0
SLAVE=yes
~
vi /etc/sysconfig/network-scripts/ifcfg-eth1
HWADDR=90:9F:33:E9:13:1A
TYPE=Ethernet
ONBOOT=yes
BOOTPROTO=static
MASTER=bond0
SLAVE=yes
service NetworkManager stop
chkconfig NetworkManager off
ifconfig bond0 up
ifup bond0
/etc/init.d/network restart