Add route manually to the windows box?

Hi Experts,

I have a windows box and it in network. There is another box which called 'Box23' in Note: this network '' from different location.

Windows box named 'Wins01' and ip Gateway is
Box23 has a web server with ip

In my router, I added a static route to route my traffic to subnet But I still couldn't get to web server, one of my engineers did something from the windows command prompt, seems like he was adding route to my windows box, and then I could connect to the web server from my machine. I asked him but he didn't want to explain and now I was wondering if anyone here knows what has he done to my machine so I can do it myself next time?

Thanks a lot.
Who is Participating?
SIM50Connect With a Mentor Commented:
To see all your routes in Windows, in command prompt type: route print
Alternatively, you can check through registry, persistent routes are stored here: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip \Parameters\PersistentRoutes

You can type in cmd, route ? for the list of all command available.
TheLastFantasyConnect With a Mentor Commented:

i guess you could not solve your problem that way!

the problem is that the route to your network ( has to be set on the Box23 web server and not on your local pc!

to do this open a command box (Start -> execute -> cmd)

the command to add the route is:


if you have another router on the Box23 side (maybe you better have to add the route there instead of adding it on the windows server!

i hope this helps!
MikeKaneConnect With a Mentor Commented:
I suppose that you might have 2 gateways available on your subnet.    

From the command line, do a "IPCONFIG /ALL"  

That output will have your current gateway.    If you cannot access 192.168.1.x via web or a ping, then there might be another gateway to use.    You would need to know the IP for the 2nd exit point on your subnet that you could use to route to the 192.168.1.x network.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.