Solved

Add Host Route

Posted on 2001-07-04
3
1,892 Views
Last Modified: 2006-11-17
I need to add a host route to the Windows NT/2000 routing table.  Under Unix, the command is:

  route add -host 170.32.200.1 gw 182.162.0.51

which basically says, route packets with final desitnation 170.32.200.1 through the gateway at 182.162.0.51.  Whats the equivalent command in Windows NT/2000?
0
Comment
Question by:pretty_girl
  • 2
3 Comments
 
LVL 41

Expert Comment

by:stevenlewis
ID: 6253577
route add <network> <mask> <gateway>
to make it persistant
route -p add <network> <mask> <gateway>
so
route -p add 170.32.200.0 255.255.0.0 182.162.0.51
0
 
LVL 10

Accepted Solution

by:
tonnybrandt earned 100 total points
ID: 6253820
Steve: You are typing to fast. :~)

Since it is a host then mask should be 255.255.255.255 and there is a "mask" missing in the commandline
This doesn't work:
route -p add 170.32.200.0 255.255.0.0 182.162.0.51
This does:
route -p add 170.32.200.0 mask 255.255.255.255  182.162.0.51

Regards
Tonny
0
 
LVL 41

Expert Comment

by:stevenlewis
ID: 6253897
thanks Tonny, you are right!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Lets look at the default installation and configuration of FreeProxy 4.10 REQUIREMENTS 1. FreeProxy 4.10 Application - Can be downloaded here (http://www.handcraftedsoftware.org/index.php?page=download) 2. Ensure that you disable the windows fi…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

706 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now