How to create Network Bonding

Steps to create Bonding:

/etc/init.d/NetworkManager stop

chkconfig NetworkManager off

cat /etc/modprobe.d/bonding.conf
alias bond0 bonding
options bond0 mode=1 miimon=1000

cat /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
IPADDR=10.0.250.11
NETMASK=255.255.0.0
USERCTL=no
BOOTPROTO=none
ONBOOT=yes
BONDING_OPTS=mode=0 miimon=1000


cat /etc/sysconfig/network-scripts/ifcfg-eth2
DEVICE=eth2
HWADDR=E4:1F:13:40:E6:D0
TYPE=Ethernet
#UUID=3c7adca2-c92e-4020-80d6-3e1fbc565c12
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=none
MASTER=bond0
SLAVE=yes
USERCTL=no


cat /etc/sysconfig/network-scripts/ifcfg-eth3
DEVICE=eth3
HWADDR=E4:1F:13:40:E6:D2
TYPE=Ethernet
#UUID=dbe13f39-8928-401e-acb9-1323d5cfd677
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=none
MASTER=bond0
SLAVE=yes
USERCTL=no

cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.6.0 (September 26, 2009)

Bonding Mode: load balancing (round-robin)
MII Status: up
MII Polling Interval (ms): 0
Up Delay (ms): 0
Down Delay (ms): 0

Slave Interface: eth2
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: e4:1f:13:40:e6:d0
Slave queue ID: 0

Slave Interface: eth3
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: e4:1f:13:40:e6:d2
Slave queue ID: 0

Comments

Popular posts from this blog

How to delete SEA in VIOS

More VIOS commands

Webmin configuration for LDAP