Routing between 2 differnet networks

zazoo

Distinguished
Sep 26, 2001
59
0
18,630
I have a slightly complicated situation i was hoping someone could help me with.
I have one network on a standard class c subnet (192.168.0.0)
There is a second network for which i have access to the server on a class b (172.16.0.0) through a vpn connection
I would like to know if there is any way i can manipulate the routing table of the server on the 192 subnet to route requests for the 172 subnet to the class b server's address:
Server1: 192.168.0.1
Server2: 172.16.4.121

I'm not sure how clear i'm being.. i've been reading routing docs all night and all i see are ip addresses.. :)

Any ideas would be great!
thanks


Zazoo.
 

Dev

Distinguished
Sep 18, 2001
553
0
18,980
FYI: Not very clear :)

Anyways, If I understand you correctly you have two servers on different networks, and want to route between the two, right?

I assume that you use either windows or linux, and you do this by the route command. The router needs to be on both networks by having two NICs or by setting secondary ip addresses. On windows you can do this in the advanced settings of your TCP/IP settings, and on linux you create the interface eth0:n where n is a number 0-255 (IIRC).

If routing is turned on, both OS's will route automatically with no configuration on your part.

Hope this helps...

Dev

---
My Sig:
))
(( ___________________
|||_____________|_____|