Question : Add Host Route

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?

Answer : Add Host Route

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
Random Solutions  
 
programming4us programming4us