NYCPHP Meetup

NYPHP.org

[nycphp-talk] multiple gateways and linux

Larry Chuon LarryC at indexstock.com
Tue Jun 4 11:54:49 EDT 2002


Keep in mind that when you have multiple circuits, you're running into some
complecity with your network design.  Here is a general guideline.
1. Are you planning to subscribe the add'l T1 from the same ISP of from a
different one?
Same: 
a. Easy to loadbalance (LB) your package both inbound and outbound
b. You don't require to have a heavy duty router.  This way you can accept
partial BGP route.  As a result your, hardware requirement is much less.
c. Use vendor assigned Autonymous System Number (ASN).
d. If the ISP is down, assuming both T1 are from the same c/o, you're out!
e. I recommend that you have two separate routers for each circuit.

Different:
a. You must apply for you own ASN from ARIN.
b. Tedious BGP configuration
c. Setup of LB might be difficult depends on your environment, but not
impossible
d. Complete ISP redundancy - due to two separate path in and out
e. Same as 1e above.

With the two routers as your gateway, you can configure HSRP/VSRP (depends
on the vendors).  Essentially, you have two real gateways and one virtual
one that everyone is pointing to.  When any of the real gateways is down, it
won't affect your connectivity at all.  Linux has something to that affect
as well.  I don't have experience with it nor do I know what it calls.


-----Original Message-----
From: Jim Suto [mailto:jim at alliedtours.com]
Sent: Tuesday, June 04, 2002 11:10 AM
To: NYPHP Talk
Subject: [nycphp-talk] multiple gateways and linux


I am looking for any ideas people might have to maximize the value of having
multiple T1s from different providers and being able to provide redundancy
and possibly performance gains from having a linux server utilize these
multiple gateways.  Some ideas I was thinking about:
1) enable linux to do dead gateway detection and avoid using a gateway if it
is not up
2) enable linux to distribute traffic among the gateways to whichever one is
least busy (this might be a little bit more difficult)
3) enable linux to figure out from a list of hosts which gateway would allow
connection to a specific host with minimum lag and/or hops

I guess some shell scripts could accomplish some of these tasks unless
someone knows a better way?

regards,
Jim





More information about the talk mailing list