Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-22-2004, 01:40 PM   #1
LQ Newbie
Registered: Aug 2004
Distribution: Slackware 10
Posts: 1

Rep: Reputation: 0
outbound web traffic load balancing across multiple nics

Anyone know how to load balance outbound web traffic across multiple nics on a linux server? Each nic would be attached to the same switch and network connection; the goal is to increase bandwidth capacity in case of dos attack and to provide nic redundancy. Thanks.
Old 08-22-2004, 04:53 PM   #2
Senior Member
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
Apache automatically listens on all available IP addresses (so network interfaces), unless configured not to.

In truth, you are very unlikely to get any benefit at all from multiple NICs, especially if one is part of the mainboard. The chances of just the NIC failing on it's own are very low (none if a NIC is part of the mainboard). You are unlikely to be able to saturate a 100 Mbps interface unless it serves very large files and/or has very large numbers of simultaneous connections. All NICs are attached to the same (PCI) bus on a standard system, as well.

I think that the better solution to the issues you're mentioned are to have multiple boxes and use a round-robin DNS entry to split the traffic between them. The base line spec for Web serving is literally a 486, so the boxes can be as big or small as you like. A simple script can keep the files on multiple servers identical.
Old 08-22-2004, 09:55 PM   #3
Registered: Jun 2003
Location: New Albany, OH
Posts: 190

Rep: Reputation: 30
you could do ether-channel (channel-bonding)

as for round robin dns... to slow
Old 10-23-2008, 01:41 PM   #4
Registered: Feb 2005
Posts: 34

Rep: Reputation: 16
I had posted a method to get perfect load balancing on another forum a while back. You might find it useful

To use some specific iptables features, you may have to re-compile it. This link will help
Old 01-21-2009, 01:35 PM   #5
LQ Newbie
Registered: Jan 2009
Posts: 1

Rep: Reputation: 0
Originally Posted by littleking View Post
you could do ether-channel (channel-bonding)

as for round robin dns... to slow
Any clues whether Linux supports multichassis bonding?
Old 01-21-2009, 02:25 PM   #6
Registered: Jun 2002
Location: L.A.
Distribution: Fedora
Posts: 46

Rep: Reputation: 15
Linux Enterprise Cluster

Check out this book:
Linux Enterprise Cluster

You could accomplished that by having a cluster. A cluster is not replacement for bandwidth though , instead it will enable to have failover and to load balance traffic among several linux boxes.

Good luck.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
traffic shaping and link load balancing d4rksid3 Linux - Networking 7 10-22-2008 11:34 PM
load balancing nics... roofy Linux - Networking 8 12-22-2005 12:24 PM
HELP:Load balancing 2 NICs (with a twist!) pxumsgdxpcvjm Linux - Networking 6 12-06-2005 04:40 PM
Setup Dual nics for load balancing/failover thistleair Linux - Networking 4 05-11-2005 03:15 PM
Spike in outbound traffic- where to look? htmlcoder Linux - Security 3 03-19-2005 04:13 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:11 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration