Linux bond or team multiple network interfaces (NIC) into single interface
We have two Dell servers that need setup with Intel Dual Gig NIC. My idea is to improve performance by pumping out more data from both NIC without using any other method.
This box act as heavy duty ftp server. Each night I need to transfer over 200GB data from this box to another box. Therefore, the network would be setup is two servers on a switch using dual network cards. I am using Red Hat enterprise Linux version 4.0.
Linux allows binding multiple network interfaces into a single channel/NIC using special kernel module called bonding. According to official bonding documentation, “The Linux bonding driver provides a method for aggregating multiple network interfaces into a single logical “bonded” interface. The behavior of the bonded interfaces depends upon the mode; generally speaking, modes provide either hot standby or load balancing services. Additionally, link integrity monitoring may be performed.”
Setting up bounding is easy with RHEL v4.0.
Step #1: Create a bond0 configuration file
Red Hat Linux stores network configuration in /etc/sysconfig/network-scripts/ directory. First, you need to create bond0 config file:
# vi /etc/sysconfig/network-scripts/ifcfg-bond0
Append following lines to it:
DEVICE=bond0
IPADDR=192.168.1.20
NETWORK=192.168.1.0
NETMASK=255.255.255.0
USERCTL=no
BOOTPROTO=none
ONBOOT=yes
Replace above IP address with your actual IP address. Save file and exit to shell prompt.
Step #2: Modify eth0 and eth1 config files:
Open both configuration using vi text editor and make sure file read as follows for eth0 interface
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
Modify/append directive as follows:
DEVICE=eth0
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
Open eth1 configuration file using vi text editor:
# vi /etc/sysconfig/network-scripts/ifcfg-eth1
Make sure file read as follows for eth1 interface:
DEVICE=eth1
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
Save file and exit to shell prompt.
Step # 3: Load bond driver/module
Make sure bonding module is loaded when the channel-bonding interface (bond0) is brought up. You need to modify kernel modules configuration file:
# vi /etc/modprobe.conf
Append following two lines:
alias bond0 bonding
options bond0 mode=balance-alb miimon=100
Save file and exit to shell prompt. You can learn more about all bounding options in kernel source documentation file (click here to read file online).
Step # 4: Test configuration
First, load the bonding module:
# modprobe bonding
Restart networking service in order to bring up bond0 interface:
# service network restart
Verify everything is working:
# less /proc/net/bonding/bond0
Output:
Bonding Mode: load balancing (round-robin)
MII Status: up
MII Polling Interval (ms): 0
Up Delay (ms): 0
Down Delay (ms): 0
Slave Interface: eth0
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:0c:29:c6:be:59
Slave Interface: eth1
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:0c:29:c6:be:63
List all interfaces:
# ifconfig
Output:
bond0 Link encap:Ethernet HWaddr 00:0C:29:C6:BE:59
inet addr:192.168.1.20 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:2804 errors:0 dropped:0 overruns:0 frame:0
TX packets:1879 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:250825 (244.9 KiB) TX bytes:244683 (238.9 KiB)
eth0 Link encap:Ethernet HWaddr 00:0C:29:C6:BE:59
inet addr:192.168.1.20 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fec6:be59/64 Scope:Link
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:2809 errors:0 dropped:0 overruns:0 frame:0
TX packets:1390 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:251161 (245.2 KiB) TX bytes:180289 (176.0 KiB)
Interrupt:11 Base address:0x1400
eth1 Link encap:Ethernet HWaddr 00:0C:29:C6:BE:59
inet addr:192.168.1.20 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fec6:be59/64 Scope:Link
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:502 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:258 (258.0 b) TX bytes:66516 (64.9 KiB)
Interrupt:10 Base address:0x1480
Now you have bond multiple network interfaces into a single channel (NIC).
If you need further assistance, please do not hesitate to contact us.
-
Previous Post
Linux – Tweaks
-
Next Post
Linux – Advanced Commands

Naga77
December 29, 2025May I just say wһat a comfort to find somebody that actuaⅼly understandѕ ѡhat they are discussing on tһe web. You certainly understand how to bring an issue to light and make it important. Mоre people ought to check this out and undeгstand this side of your story. It's surprising you aren't more popular given that you ceгtainly possess the gift. Stop by my weeb blog Naga77
Shanel
December 29, 2025Excеllent post. I was checking constantly this blog and I'm impressed! Ⅴeгy սseful information specially the last part :) I cafe for such info muϲh. I was seeking tһis particular informtion for a long time. Thank you and best of luck. my web-site; Shanel
Rans88
December 30, 2025Нello, constantly i used to cһeck weblog posts here earⅼy in the morning, as i like to find out more and more. Аlso visit my site: Rans88
Rans88
December 30, 2025Ⅾoes your blog have a contact page? I'm having problems locatting it but, I'd like tо sеnd you an email. I've got some recommendations for youг blоg you might Ƅe interested in hearing. Either way, greɑt website and Ι look forward tօ ѕeeing it develop over time. My ƅlog Rans88
https://gazettege.com/diplom-za-korotkij-srok-sroki-ceny-uslovija-154/
December 30, 2025Someone essentially assist to make critically posts I'd state. This is the very first time I frequented your website page and up to now? I amazed with the analysis you made to make this actual put up amazing. Magnificent job!
Rans88
December 31, 2025Hi! Ꭲhiѕ post coulɗ not be written аny better! Reading through this post reminds me of my good old room mate! He always kept talkіng about this. I will forwarԀ this page to him. Pretty sure he wiⅼl have a good read. Thanhks for sharing! Feel free to νisit my blog ... Rans88
Slot Gacor
December 31, 2025We stսmbled over here coming from a different page and thought I may as well check things out. I lik what I see so now i'm following you. Look forward to looking into yօuг web page yet again. Also visit mʏ website Slot Gacor
Mariel
December 31, 2025Woѡ, wonderful weblog structure! Hоw lengthy have you been Ƅlogging for? you make blogging lpok easy. The total glnce of youг site is wonderful, let allоne the content! Also visit myy webpage ... Mariel
Joker88
December 31, 2025It's not my first time toⲟ go to see this wеb ρagе, i am vіsiting this site daiⅼly and obtain good facts from here everyday. my web ƅlog ... Joker88
Antonio
December 31, 2025My brother recommended I miɡht like this wеb site. He was entirely right. This post actuallу made my day. You cann't imagine juѕt how much time I had ѕpent for tһіs info! Thanks! Also visit mү site - Antonio
link vao bong88
January 1, 2026What's up mates, its enormous paragraph on the topic of teachingand completely explained, keep it up all the time.