1753873 Members
7789 Online
108809 Solutions
New Discussion юеВ

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 2
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