ROUTE 
Google

 
KCCWEB.COM Ken Claussen's Corner Web    

Up ARP IPCONFIG NBTSTAT NETSTAT NSLOOKUP Ping ROUTE TRACERT

ROUTE

Occasionally it is necessary to check how a system will route packets on the network. Normally your system will simply send all packets to the default gateway, however, in cases where your are having problems communicating with a group of computers, the ROUTE command may provide an answer.

C:\>route Manipulates network routing tables.

ROUTE [-f] [command [destination] [MASK netmask] [gateway] [METRIC metric]] 

-f Clears the routing tables of all gateway entries. If this is used in conjunction with one of the commands, the tables are cleared prior to running the command.

-p When used with the ADD command, makes a route persistent across boots of the system. By default, routes are not preserved when the system is restarted. When used with the PRINT command, displays the list of registered persistent routes. Ignored for all other commands, which always affect the appropriate persistent routes.

Command Specifies one of four commandsPRINT Prints a routeADD Adds a routeDELETE Deletes a routeCHANGE Modifies an existing route

Destination Specifies the host.

MASK If the MASK keyword is present, the next parameter is interpreted as the netmask parameter.

Netmask If provided, specifies a sub-net mask value to be associated with this route entry. If not specified, it defaults to 255.255.255.255.

Gateway Specifies gateway.

METRIC specifies the metric/cost for the destination


All symbolic names used for destination are looked up in the network database file NETWORKS. The symbolic names for gateway are looked up in the host name database file HOSTS. If the command is print or delete, wildcards may be used for the destination and gateway, or the gateway argument may be omitted.

Copyright ©1998 New Riders Publishing and its Licensors. All rights are reserved.


Home Up Acceptable Use Ken's Home


Copyright © 1999-2005 Ken Claussen's Corner Web.
"Microsoft is a registered trademark of Microsoft Corporation in the United States and other countries."