November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Categories

November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

NIC Bonding on CentOS 6/7

Make sure not to use NetworkManager, using normal network

vi /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
BOOTPROTO=none
ONBOOT=yes
IPADDR=192.168.1.27
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
DNS1=8.8.8.8
USERCTL=no
BONDING_OPTS=”mode=1 miimon=100″

vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
MASTER=bond0
SLAVE=yes
USERCTL=no
BOOTPROTO=none
ONBOOT=yes
sed  “s/eth0/eth1/g” ifcfg-eth0 > ifcfg-eth1

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>