LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   network load balancing in linux (https://www.linuxquestions.org/questions/linux-networking-3/network-load-balancing-in-linux-754457/)

naquad 09-11-2009 01:36 PM

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.

gmbastos 10-12-2009 01:47 AM

Hello, naquad.

Have you already take a look at: http://blog.nielshorn.net/2008_09_01_archive.html ?

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

Have fun. :)

DrLove73 10-12-2009 02:18 AM

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.


All times are GMT -5. The time now is 07:36 PM.