Solved

Add route manually to the windows box?

Posted on 2010-11-30
3
381 Views
Last Modified: 2012-08-13
Hi Experts,

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

Windows box named 'Wins01' and ip 10.10.0.15/24. Gateway is 10.10.0.254.
Box23 has a web server with ip 192.168.1.10/24

In my router, I added a static route to route my traffic to subnet 192.168.1.0/24. But I still couldn't get to 192.168.1.10 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 192.168.1.10 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.
0
Comment
Question by:SJCA
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 14

Accepted Solution

by:
SIM50 earned 167 total points
ID: 34242165
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.
0
 
LVL 7

Assisted Solution

by:TheLastFantasy
TheLastFantasy earned 166 total points
ID: 34242233
Hi,

i guess you could not solve your problem that way!

the problem is that the route to your network (10.10.0.0/24) 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:

route add 10.10.0.0 MASK 255.255.255.0 <HERE THE GATEWAY FROM YOUR Box23>

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

i hope this helps!
0
 
LVL 33

Assisted Solution

by:MikeKane
MikeKane earned 167 total points
ID: 34244109
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.


0

Featured Post

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the hope of saving someone else's sanity... About a year ago we bought a Cisco 1921 router with two ADSL/VDSL EHWIC cards to load balance local network traffic over the two broadband lines we have, but we couldn't get the routing to work consi…
There’s a movement in Information Technology (IT), and while it’s hard to define, it is gaining momentum. Some call it “stream-lined IT;” others call it “thin-model IT.”
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question