one LAN; two gateways; possible?; how?


M

Mike Clark

I have one network (192.168.0.0) containing 10 clients running win2k.
They are set up to obtain an IP address automatically from 192.168.0.1.
The Default Gateway (192.168.0.1) has a public address (66.66.66.66) to the
Internet.

A second Gateway device is attached to the same LAN.
It has a static IP address on the LAN (192.168.0.100),
And it has a second IP address matching a remote LAN (10.10.10.10),
And it connects to the remote LAN via a dedicated circuit.

The Default Gateway is for Internet connections; All a client has to do is
open a browser.

We want a client to be able to also connect to the remote LAN through the
second Gateway.
Is this possible using WIndows2kPro ROUTE command.

If so, how is the comand set up and started?

Is this close? (see the following)

ROUTE -f ADD 10.10.10.10 Mask 255.255.255.128 Gateway 192.168.0.100 1
And how is the command run? Shortcut? Pointing a browser to 10.10.10.10?
What?
And how is the routing changed back to Default?
I am not (obviously) understanding this stuff!!!

Mike
 
Ad

Advertisements

B

Bill Grant

You could add the second route to every client. The static route would
take priority over the default route, so the traffic for 10.10.10 would go
to the remote LAN gateway, everything else would go to the Internet router.

If you have access to the Internet router, you could add the route
there. That way you only need to do it once. The client would send all
traffic to the default gateway, but the default router would redirect the
10.10.10 traffic to the WAN gateway.

What the actual route is depends on what traffic you want to redirect.
Exactly what addresses are the clients at the remote site (over the WAN
link) using? If they are using the addressing scheme 10.10.10.x and mask
255.255.255.0 , your route would need to look like this

10.10.10.0 255.255.255.0 192.168.0.100

This tells the routing software to send all data for a 10.10.10.x
address to the WAN router at 192.168.0.100 . The router will forward it over
the link to the remote site.

If you add the route to the clients, the format is

route add -p 10.10.10.0 mask 255.255.255.0 192.168.0.100

The exact format to add it to the router depends on on what router it
is. But the actual numbers are the same - destination subnet address
10.10.10.0, subnet mask 255.255.255.0 and gateway address 192.168.0.100 .
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top