Solved

Add Host Route

Posted on 2001-07-04
3
1,895 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Switch Uplinking Arista to Force 10 5 35
CMDB relationships for hardware assets 2 71
By pass website on ASA for Websense 4 70
Can't ping New Linux Servers 40 65
Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
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…

805 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