Download your favorite Linux distribution at LQ ISO.
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 09-11-2009, 01:36 PM   #1
Registered: Feb 2007
Posts: 34

Rep: Reputation: 15
network load balancing in linux

hi all.

I've got 2 uplinks (different ISPs) and I want to make some sane load
balancing between them.

current solution is taken from lartc: 2 tables + default nexthop via x.x.x.x dev eth1 weight 10 nexthop dev ppp0 weight 50

but it doesn't actually work as expected routes are cached.

any ideas how do make a normal load balancing?

P.S. ISPs don't give BGP. linux is 2.6.31.

Last edited by naquad; 09-11-2009 at 01:36 PM. Reason: network, load balance, linux
Old 10-12-2009, 01:47 AM   #2
LQ Newbie
Registered: Apr 2007
Location: Brazil
Distribution: Slackware
Posts: 21

Rep: Reputation: 15
Hello, naquad.

Have you already take a look at: ?

This guy also offer some helpful advice about traffic-shaping (CBQ-based) and basic firewall setup.

Have fun.
Old 10-12-2009, 02:18 AM   #3
Senior Member
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
Use Shorewall firewall. It has MultiISP support and load balancing when you use "balance" option in configuration. Good config tool can be Webmin GPL web based configuration tool for entire system, but you will have to use "Edit file manually" when you set up "providers" file. For all other files you can use webmin's interface.


balancing, linux, load, network

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
Linux network load balancing trouble naghi32 Linux - Networking 2 12-23-2008 03:39 PM
network load balancing Ammad Linux - Networking 1 08-09-2007 02:24 AM
Network Load Balancing namdn Linux - Networking 1 09-20-2004 03:14 AM
Network Load Balancing bwilliam79 Linux - Networking 1 08-10-2004 10:38 AM
Network load balancing?? trycoon Linux - Networking 3 01-21-2003 03:53 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:43 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
Open Source Consulting | Domain Registration