Interface Bonding

Linux

In modprobe.conf:

alias bond0 bonding
options bond0 miimon=100 mode=1 primary=eth0

Create /etc/sysconfig/network-scripts/ifcfg-bond0

DEVICE=bond0
ONBOOT=yes
BOOTPROTO=none
IPADDR=1.2.3.4
NETMASK=255.255.255.0

Modify ifcfg-eth0 and ifcfg-eth1

DEVICE=eth0
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
MASTER=bond0
SLAVE=yes

/etc/init.d/network restart

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License