Question

Locked

DOS Command ROUTE an IP through a different gateway

By support ·
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 conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

you need to route to a destination network, not a destination address

by robo_dev In reply to DOS Command ROUTE an IP t ...

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

Collapse -

Try mask 255.255.255.255

by darwinvelez In reply to DOS Command ROUTE an IP t ...

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

Back to Networks Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums