Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

Load balancing

ionut_lascu
Advisor

Load balancing

I have a suse linux box and i have 2 ISP.
I need somme advice about load balancing.
What do i need ? what do you recommend to me ?
Thanks.
2 REPLIES
Ivan Ferreira
Honored Contributor

Re: Load balancing

Please see:

http://www.faqs.org/docs/Linux-HOWTO/Adv-Routing-HOWTO.html#LARTC.RPDB.MULTIPLE-LINKS
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Steven E. Protter
Exalted Contributor

Re: Load balancing

Shalom,

I would recommend establishing two shared connections on the linux box. You might be able to use firestarter for this, maybe not.

Then you can use Round Robin DNS to a squid proxy server and randomly assign users to the two gateways.

gateway1 ip_add
gateway2 ip_add

Round Robin DNS will insure that the ip address will rotate between the two hostnames about 50% of the time. Be careful, round robin is stupid and if one of the connections is down, you need to modify the DNS database to provide an answer to the one working ip address all the time.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com