lunarhotel.co.uk
How about a view of the sea of tranquility?
| Sponsored Links |
|---|
|
|
| Part 1: Outbound routing over multiple internet connections |
|
|
|
Page 1 of 4
{mosignorehit}
This article deals with routing over two (or more) internet connections. There are many different ways of setting this up, including load balancing, auto fail over, and selective routing (routing depending on traffic type) configurations. The one I've detailed here features selective routing, and inbound routing. The inbound routing is actually slightly more difficult to do than the outbound routing, but once its set up would allow the ipsec vpn service to be available on both public ip addresses, or have dual access points to an internal web server
Note: While I havent checked (and would love to be proved wrong) I dont think this is possible to do on a windows based pc. If you know any different, and care to share that information. Leave a comment at the end of the article
So, lets have some background: "For example, have all http traffic going out via internet connection 1 and all ftp traffic going out via internet connection 2." Lets say you have two internet connections (this could be two xdsl lines, or an adsl and a standard modem). If you want to utilise both lines, you have a problem, which takes the form of the gateway setting. You can only define one default gateway, and ergo it will only ever use that one (and ergo one internet connection) to service any internet requests. The routing table is obviously central to this process. You can list the routing table in linux by issuing the following command
ip route show table main
You'll note at the bottom of this table is an entry that look something like
default via <your gateway address> dev <internet device>
Fortunatley, with Linux, its possible to set more than one routing table, which is key to routing over multiple internet connections. First, lets look at the pc we need to setup to act as our router. The one I used was a pentium 3 500mhz with 256MB RAM. into this I put 4 network cards. "Why 4?" I hear you ask! The work network has two subnets for reasons of security, The "Repro" network gets exposed to a lot of removable media, usb sticks and various other potentiall sources of viruses. It also carries alot more traffic than the other, and requires a faster and better quality switch. So, we have:
Of course, the two internal networks just add to the complication of things, but if you can get your head around all this, then you should be able to do the same with only one internal network range. |
||||||||||||||||||||||||||
| Last Updated ( Friday, 08 August 2008 ) | ||||||||||||||||||||||||||
| < Prev | Next > |
|---|
| Main Menu | ||||
|---|---|---|---|---|
|
| Partner Blog |
|---|
|
Money saving tips at http://cashsavetips.blogspot.com/ to help beat the global meltdown |
| Special Offer Item for Virtuemart |
|---|
|
|
| latest Content |
|---|
Routing over two internet connections 

