Solved

Add Host Route

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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Suggested Solutions

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

751 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