Stephen Brown on Sat, 19 Aug 2000 14:22:49 -0400 (EDT)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] doubling bandwidth and achieving network redundancy


Son To wrote:
> 
> I do not know much about routers so can someone tell me if it is possible
> to achieve this using a Linux router.
> 
> My bellatlantic ADSL is unreliable. It would work great for a week or so
> then disconnects me. I have to restart pppoet.
> 
> Suppose I get two ADSL line from two different ISP, can a Linux router
> be configured so that traffic is load balance between the two lines? A TCP
> data stream is sent/recieve using both lines. If one line goes down, my
> internal network should not notices the broken connection.

Yes, but it isn't as easy as it should be. The linux end of things
will be trivial compared to the hassles in the real world.

You have 2 basic options:
The easiest is to get redundant connections from a single provider
which may allow you to do link trunking across the 2 links, and keep
a single IP block.

The other one is what most ISPs and colo facilities do, but on a smaller
scale. It will require you to get an ASN (Autonomous System Number) from
ARIN (http://www.arin.net/), run BGP4 on the Linux router and either get
a block of 'transportable' IP addresses from ARIN, or IP addresses from 
one ISP that are advertised to the rest of the Internet so you can reach 
your IPs through either upstream connection. The other drawback is that
for a single TCP connection you really won't get a doubling in bandwidth
because the routers in the core of the net will point all traffic to the
closest ISP instead of sending half to one and half to the other.

Those are all possible - the tricky thing is that you would need to get
the 2 DSL lines, each originating from a different telco central office
to get the full benefit of redundancy. If you don't get diverse
connections 
from the edge of your building to your ISP's routers, then you are
wasting 
your money because the DSLAM could go down and both of your DSL lines
will die. You may be better off getting a DSL line and a backup dial-up
connection from a single provider, and bring up the modem link when
there 
is a problem with the DSL.

If I haven't scared you off yet ;) grab yourself a good book on Internet 
routing. I would recommend "Routing in the Internet" by Christian
Huitema (you can find it in Gene's, B&N and Borders around Philly). I
was
recently thinking of doing something similar myself because my cable
modem 
at home goes down all the time, but it is more expensive than I wanted
to 
pay for personal use. Mail me off-list and I can point you to more
details
on the Linux side of things if you want.

Steve

-- 
Stephen Brown           Data Clarity, Inc.
steve@dataclarity.net   1-877-496-3527   fax: 801-382-1525



______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug