|
Question : VPN IP routing
|
|
I have a VPN that uses DSL routers to connect a remote office to a Windows NT LAN using TCP/IP. The DSL routers are connecting at the two sites and I can ping a machine on the remote subnet from the NT server machine on my subnet. The problem is that I cannot ping a machine on my subnet from the remote subnet. The NT server machine has two NICs in it, one to connect to the DSL router, the other to connect to the LAN. The IP address of the NIC connected to the LAN is 192.168.0.1, the address of the NIC connected to the router is 192.168.254.2. The address of the remote subnet is 192.168.253.1. I can ping 192.168.254.2 from the remote subnet but cannot ping 192.168.0.1.
Also, I cannot ping the remote LAN from a workstation on my LAN.
I need to add a route to the NT server machine to route IP traffic from 192.168.254.2 to 192.168.0.1.
Is the command route ADD 192.168.0.0 MASK 255.255.0.0 192.168.254.2 metric 1?
If this doesn't work, how do I delete the route?
Thank you for any help you can provide.
|
Answer : VPN IP routing
|
|
route delete 192.168.x.0 or in this case just reboot as NT only saves your routes if you add /persistent to the end (and you will have to delete it as your mask should be 255.255.255.0)
You have to add routes on all clients and servers on both networks.
ROUTE ADD 192.168.253.0 mask 255.255.255.0 192.168.254.XXX /persistent
dont need metric as no other routes, XXX is IP address of your router's ethernet port.
on your clients route add 192.168.253.0 mask 255.255.255.0.1
add the routes back as well, the gateway address is always the address of the ethernet port of the local router (with your clients their router is your NT server).
Also turn IP forwarding on on NT server.
|
|
|
|