Comments on Network Card Bonding On CentOS
Network Card Bonding On CentOS Bonding is the same as port trunking. In the following I will use the word bonding because practically we will bond interfaces as one. Bonding allows you to aggregate multiple ports into a single group, effectively combining the bandwidth into a single connection. Bonding also allows you to create multi-gigabit pipes to transport traffic through the highest traffic areas of your network. For example, you can aggregate three megabits ports into a three-megabits trunk port. That is equivalent with having one interface with three megabytes speed.
11 Comment(s)
Comments
how do you remove a bonding?
tried going backwards, but I still see bond0 with the IP in ifconfig -a
I just removed/renamed the bonding config file in /etc/sysconfig/network-scripts after falling back to the original ifcfg-eth0/1/2/3 scripts (with no master/slave designation).
"That´s all! Now your trunk should be up and running!"
Almost, you need to restart networking as well ("service network restart" or "/etc/init.d/network restart").
and also "modprobe bonding"
THANK YOU!!!!
veeeeeeeery helpful...just did this on a CentOS 5.2 box with two onboard intel e1000s...
FYI for others, my nics were named eth2 and eth3, not 0&1. I was really scared to restart the network remotely, once I grew the balls to do so, it went offline for about a minute and I panicked, THANKFULLY it came back up and is now trunked...yaaay 8)
another note: it started working without me running "modprobe bonding", but i ran it anyway.
Would you please tell me which IPs you configured on eth2 and eth3 interfaces?... were they external or internal faces? and which IP did you configure on bond0 interface?
Actually i am stuck as to configure public IPs on my external interfaces)which i want to bind) of my centOS server or not? :(
Regards.
Hi,
Is there a manner to do the same on Windows?
Thanks in advance
Hi,
on windows systems is called "NIC Temiang"...and actually is supported from all the vendors, You have to check if is available on your systems....
Thanks! It worked great!!
Here is how to connect this with VLAN forwarding to KVM guest:
http://henroo.wordpress.com/2011/08/09/forward-bond-interface-vlan-to-guest-kvm/
I am trying to test the network redundancy on centos 6. When one particular slave interface is manually brought down, the putty session to the o.s goes down as well. When the other slave interface is brought down, the putty session to the o.s stays as it is. The o/p of "cat /proc/net/bonding/bond0" seems to be ok. I am trying this setup on Virtual-Box as of now. Am i doing something wrong ...Please help....(mode=1)