Question Locked

DOS Command ROUTE an IP through a different gateway

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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

3 replies

by robo_dev

route add 192.168.11.0 MASK 255.255.255.0 192.168.10.2 METRIC 1

you want to go the the 192.168.11.0 network, and the .33 address is part of that network

by darwinvelez

Try mask 255.255.255.255 or leave mask as it is and try 192.168.11.0 instead 192.168.11.33.

This discussion is closed to new replies.