[lug] Routing with Linux

Sean Reifschneider jafo at tummy.com
Thu Jun 29 16:33:46 MDT 2000


On Thu, Jun 29, 2000 at 10:14:03PM +0000, Stephen G. Smith wrote:
>Both network 1 and network 2 already have a default gateway that I can't
>manipulate.

Then you'll have to tell each machine individually how to reach the other
network.  "route add -net 10.9.8.0 gw 10.9.7.254 metric 1", for example.

>The users on network 1  use a travel booking service (router1)
>and if they need internet access they go out through a DSL connection
>(router2)
>
>The users on network 2 use a different travel booking service(router3)
>and will want to use (router2) for internet access.

So, the IP addresses in network 2 will have to be public, or you'll
have to set up the linux router to masquerade connections from network2
to the public internet (but probably not to the other local network).

This should work fine.

>Is there a need to use more than one router or is putting routing
>rules at each workstation the best bet..

It's really your only bet unless you can modify the current routers.
You'd need to modify routers 2 and 3 most likely.  It's hard to tell
without knowing all the specifics (IP addresses of all parties
involved).

It's definitely doable though.  Sticking with static routes on the
machines in question is easy enough.

Sean
-- 
 Windows NT: From the people who brought you 640K and EDLIN
Sean Reifschneider, Inimitably Superfluous <jafo at tummy.com>
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python




More information about the LUG mailing list