Steps :
1. vi /etc/modprobe.conf and add : alias bond
2. vi /etc/sysconfig/network-scripts/ifcfg-bond
---
DEVICE=bond0
IPADDR=192.168.1.1
NETMASK=255.255.255.0
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
BONDING_OPTS="
---
NB : N -> 0,1, ...
2. Let two ethernet cards are there like : eth0 and eth1 :They will look like :
----
DEVICE=eth<0/1>
BOOTPROTO=none
ONBOOT=yes
MASTER=bond
SLAVE=yes
USERCTL=no
----
3. Make sure "bonding" kernel module is present on server: lsmod | grep bonding; modprobe bonding;
4. Restart the service network and make the bond0 up.like : #service network restart
Try :)
0 comments:
Post a Comment