Solved

Add Host Route

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ip igmp join-group 8 43
HP thin clients mass configuration/ control 2 24
Cisco 2960 unable to add SFP modules to device 9 68
BGP recommended setup with failover 2 50
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.
#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

820 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