[Ilugc] Load Balancing two ISPs.

2010-12-02 Thread R.Kanagaraj (RK)
Dear Friends,

In our Office we are having 8 Desktop Client Machines and 10 Laptops
with Fedora 14, Ubuntu 10.04, Mandriva 2010.1 etc., We are getting Internet
Connection from two ISPs. BSNL (ADSL Dynamic IP) and Sify (Private IP and
not public). Both are 1 MBps. BSNL is Configured to a wireless Router and
Sify is configured in a wired switch. BSNL connection is often going down.
So the laptop users cannot get internet through wireless. So, we need an
alternate solution by configuring a desktop machine, to get both the ISP
lines from two LAN cards. and an output from the third LAN card should give
the trouble free Internet through Wireless. If any one line is down then the
other one should take up automatically, even if any link is very slow then
the other one should take up automatically. Please guide me how to configure
these setup. and if there is any software please mention it. It should be
truly open source.

-- 

With Regards,
RK,
+91 9976294191
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Load Balancing two ISPs.

2010-12-02 Thread Rajagopal Swaminathan
Greetings,

On Thu, Dec 2, 2010 at 1:28 PM, R.Kanagaraj (RK) kanagaraj...@gmail.com wrote:
 Dear Friends,

 Connection from two ISPs. BSNL (ADSL Dynamic IP) and Sify (Private IP and
 the other one should take up automatically. Please guide me how to configure
 these setup. and if there is any software please mention it. It should be
 truly open source.

pfsense?

Regards,

Rajagopal
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Load Balancing two ISPs.

2010-12-02 Thread Girish Venkatachalam
On Thu, Dec 2, 2010 at 1:28 PM, R.Kanagaraj (RK) kanagaraj...@gmail.com wrote:
 Dear Friends,

        In our Office we are having 8 Desktop Client Machines and 10 Laptops
 with Fedora 14, Ubuntu 10.04, Mandriva 2010.1 etc., We are getting Internet
 Connection from two ISPs. BSNL (ADSL Dynamic IP) and Sify (Private IP and
 not public). Both are 1 MBps. BSNL is Configured to a wireless Router and
 Sify is configured in a wired switch. BSNL connection is often going down.
 So the laptop users cannot get internet through wireless. So, we need an
 alternate solution by configuring a desktop machine, to get both the ISP
 lines from two LAN cards. and an output from the third LAN card should give
 the trouble free Internet through Wireless. If any one line is down then the
 other one should take up automatically, even if any link is very slow then
 the other one should take up automatically. Please guide me how to configure
 these setup. and if there is any software please mention it. It should be
 truly open source.


Remember that you can only load balance outgoing IP traffic.

Even traffic shaping can only be done on outgoing traffic.

If you want full link aggregation you should keep the same setup on
the ISP side also.

I dunno about Linux.

With OpenBSD you can do this with trunk(4) interfaces.

You can also use equal cost multipath routing.

Or you can use BGP if there are BGP speakers.

The final way is by using pf(4) to do route-to() between the two
outgoing interfaces.

In other words there are 4 ways to achieve this.

With OpenBSD which is truly open source unlike Linux.

-Girish
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Load Balancing two ISPs.

2010-12-02 Thread Guruprasad
Hi,

On Thu, Dec 2, 2010 at 2:48 PM, Girish Venkatachalam
girishvenkatacha...@gmail.com wrote:
 With OpenBSD which is truly open source unlike Linux.

Please avoid trolling/posting flame baits like the one above.

Thanks  Regards,
Guruprasad
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Load Balancing two ISPs.

2010-12-02 Thread Kenneth Gonsalves
On Thu, 2010-12-02 at 14:53 +0530, Guruprasad wrote:
 On Thu, Dec 2, 2010 at 2:48 PM, Girish Venkatachalam
 girishvenkatacha...@gmail.com wrote:
  With OpenBSD which is truly open source unlike Linux.
 
 Please avoid trolling/posting flame baits like the one above. 

how is it a troll or flame bait? He is entitled to express an opinion -
an opinion held by many people
-- 
regards
KG
http://lawgon.livejournal.com
Coimbatore LUG rox
http://ilugcbe.techstud.org/

___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Load Balancing two ISPs.

2010-12-02 Thread Shrinivasan T
Hi Kanagaraj,

Here is the guide on how to setup the failover load balancing net
connection in linux.

http://tech.gaeatimes.com/index.php/archive/how-to-load-balancing-failover-with-dual-multi-wan-adsl-cable-connections-on-linux/

Try this and share your experiences.

-- 
Regards,
T.Shrinivasan


My Life with GNU/Linux : http://goinggnu.wordpress.com
Free/Open Source Jobs : http://fossjobs.in
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Load Balancing two ISPs.

2010-12-02 Thread akila...@gmail.com
On Thu, Dec 2, 2010 at 2:48 PM, Girish Venkatachalam 
girishvenkatacha...@gmail.com wrote:

 With OpenBSD which is truly open source unlike Linux


Oh ya, OpenBSD is truly, honestly, evidently, obviously a better, greater
open source software than Linux, but please stop trolling! Nobody is
discussing about the merits of BSD or Linux or Open Source here. Is it any
requirement that this list should have n flames per month or so? Anyway IMHO
we already had enough flame-war for this year; So you can postpone flame
baiting till next year. Thanks.

-- 
*அகிலன்* (Akilan R)
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Load Balancing two ISPs.

2010-12-02 Thread Kenneth Gonsalves
On Thu, 2010-12-02 at 16:31 +0530, akila...@gmail.com wrote:
 On Thu, Dec 2, 2010 at 2:48 PM, Girish Venkatachalam 
 girishvenkatacha...@gmail.com wrote:
 
  With OpenBSD which is truly open source unlike Linux
 
 
 Oh ya, OpenBSD is truly, honestly, evidently, obviously a better,
 greater
 open source software than Linux, but please stop trolling!

how is this trolling?
  Nobody is
 discussing about the merits of BSD or Linux or Open Source here.

why not?
-- 
regards
KG
http://lawgon.livejournal.com
Coimbatore LUG rox
http://ilugcbe.techstud.org/

___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Load Balancing two ISPs.

2010-12-02 Thread Guruprasad
Hi,

On Thu, Dec 2, 2010 at 4:42 PM, Kenneth Gonsalves
law...@thenilgiris.com wrote:
 On Thu, 2010-12-02 at 16:31 +0530, akila...@gmail.com wrote:
 On Thu, Dec 2, 2010 at 2:48 PM, Girish Venkatachalam 
 girishvenkatacha...@gmail.com wrote:

  With OpenBSD which is truly open source unlike Linux


 Oh ya, OpenBSD is truly, honestly, evidently, obviously a better,
 greater
 open source software than Linux, but please stop trolling!

 how is this trolling?
  Nobody is
 discussing about the merits of BSD or Linux or Open Source here.

 why not?

Because this thread is about something else as the subject says. If
there are other things to be discussed, you can start a separate
thread and talk your heart out there and back your opinions with facts
and reasons.

Thanks  Regards,
Guruprasad
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Load Balancing two ISPs.

2010-12-02 Thread Kenneth Gonsalves
On Thu, 2010-12-02 at 16:56 +0530, Guruprasad wrote:
  why not?
 
 Because this thread is about something else as the subject says. If
 there are other things to be discussed, you can start a separate
 thread and talk your heart out there and back your opinions with facts
 and reasons. 

right - I missed that point
-- 
regards
KG
http://lawgon.livejournal.com
Coimbatore LUG rox
http://ilugcbe.techstud.org/

___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Load Balancing two ISPs.

2010-12-02 Thread Gourav Shah

 I dunno about Linux.

 With OpenBSD you can do this with trunk(4) interfaces.

 You can also use equal cost multipath routing.

 Or you can use BGP if there are BGP speakers.

 The final way is by using pf(4) to do route-to() between the two
 outgoing interfaces.

 In other words there are 4 ways to achieve this.


As Girish and Rajgopal suggested, FreeBSD is the ideal solution for you.  I
suggest you use pfsense http://www.pfsense.org/  which will give you a easy
to use web interface to configure all this.  Ideally, use a dedicated box
with CF card running pfsense.  You could get a Soekris Embedded box (
http://www.soekris.com/index.htm) and install pfsense/freebsd on it.  Very
solid solution. We have been using this type of solution for years without
almost no issues.


Thanks
Gourav
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Load Balancing two ISPs.

2010-12-02 Thread Raja Subramanian
On Thu, Dec 2, 2010 at 1:28 PM, R.Kanagaraj (RK) kanagaraj...@gmail.com wrote:
 Both are 1 MBps.

Before you start playing around with load balancing links, may I suggest that
you first upgrade your DSL bandwidth?

4Mbps unlimited DSL schemes are Rs 1500 to Rs 2000 per month.  These
are typically residential DSL schemes, but the ISPs are not too strict and I
know several folks who are using it at work.

- Raja
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Load Balancing two ISPs.

2010-12-02 Thread Ravi Kumar Tenneti
   In our Office we are having 8 Desktop Client Machines and 10 Laptops

 with Fedora 14, Ubuntu 10.04, Mandriva 2010.1 etc., We are getting Internet
 Connection from two ISPs. BSNL (ADSL Dynamic IP) and Sify (Private IP and
 not public). Both are 1 MBps. BSNL is Configured to a wireless Router and
 Sify is configured in a wired switch. BSNL connection is often going down.
 So the laptop users cannot get internet through wireless. So, we need an
 alternate solution by configuring a desktop machine, to get both the ISP
 lines from two LAN cards. and an output from the third LAN card should give
 the trouble free Internet through Wireless. If any one line is down then
 the
 other one should take up automatically, even if any link is very slow then
 the other one should take up automatically. Please guide me how to
 configure
 these setup. and if there is any software please mention it. It should be
 truly open source.


May be this will help you:
http://zeroshell.net/eng/

http://zeroshell.net/eng/Share your experience with us.

Regards

Ravi Kumar Tenneti
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc