1. #/etc/sysconfig/network-scripts
2. create a file
# touch ifcfg-bond0
3. Edit the file
#vi ifcfg-bond0
4. Enter in the details
DEVICE=bond0
USERCTL=no
ONBOOT=yes
BROADCAST=xxx.xxx.xxx.xxx
NETWORK=xxx.xxx.xxx.xxx
NETMASK=xxx.xxx.xxx.xxx
GATEWAY=xxx.xxx.xxx.xxx
IPADDR=xxx.xxx.xxx.xxx
5. Edit ifcfg-eth0
#vi ifcfg-eth0
6. Enter in the details
DEVICE=eth0
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
7. Edit ifcfg-eth1
#vi ifcfg-eth1
8. Enter in the details
DEVICE=eth1
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
if the operating system is RHEL 32-bit then edit the following
1. #vi /etc/modules.conf
alias bond0 bonding
options bonding miimon=100 mode=0
if the operating system is RHEL 64-bit then edit the following
1. #vi /etc/modprobe.com
alias bond0 bonding
options bonding miimon=100 mode=0
Restart the network services
# service network restart
Wednesday, October 10, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment