Bonding NICs in RHEL5

We started testing some NIC bonding on our RHEL 5 VM and we will be testing on real hardware soon. The ultimate goal is to add this setup in our kickstart file.

We created these files for testing:

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

DEVICE=bond0
BOOTPROTO=dhcp
ONBOOT=yes
USERCTL=no
IPV6INIT=no

Added these lines to /etc/sysconfig/network-scripts/ifcfg-eth0 and ifcfg-eth1:

MASTER=bond0
SLAVE=yes

in /etc/modprobe.conf we added these lines:

alias bond0 bonding
options bond0 miimon=100 mode=1

We just need to test on some physical servers and see how all this works now.

Reference:

Advertisements

Published by

m5c

Java developper that loves photography and good coffee

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s