?
Solved

Add route manually to the windows box?

Posted on 2010-11-30
3
Medium Priority
?
386 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 668 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 664 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 668 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

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

You deserve ‘straight talk’ from your cloud provider about your risk, your costs, security, uptime and the processes that are in place to protect your mission-critical applications.
Let’s face it: one of the reasons your organization chose a SaaS solution (whether Microsoft Dynamics 365, Netsuite or SAP) is that it is subscription-based. The upkeep is done. Or so you think.
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
Suggested Courses
Course of the Month10 days, 12 hours left to enroll

765 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