DOS Command ROUTE an IP through a different gateway - TechRepublic
Question
October 8, 2008 at 02:06 PM
support

DOS Command ROUTE an IP through a different gateway

by support . Updated 17 years, 2 months ago

I have a VPN that connects two locations. One is 192.168.10.x and the other is 192.168.11.x.

I need one computer within 10. to see one device 192.168.11.33 over the VPN. The trick is the default gateway on 10. is not the VPN router. Its a different internet connection. This was set up by the previous network admin and they used CMD> route add command to route the IP request for this one device over the VPN gateway.

I tried to recreate the command but always failed. Anyone know what it would be?

I was trying

route ADD 192.168.11.33 MASK 255.255.255.0 192.168.10.2 METRIC 1

and I get

The route addition failed. The specified Mask parameter is invalid (Destination & Mask) !=Destination

This discussion is locked

All Comments