route.exe

Associated Error Codes

Below lists error codes and symbolic names found for this module.

CodeFound inDescription
0x271078.11011Network Destination Netmask Gateway Interface Metric
0x271578.11011%1!S!: bad argument %2!S!
0x271678.11011%1!S!: Windows Sockets initialization failed: %2!d!
0x271a78.11011The route specified was not found.
0x271b78.11011%1!15s! %2!15s! %3!15s! %4!15s! %5!6s!
0x271d78.11011The interface failed to initialize: %1!u!
0x271e78.11011The route addition failed: %1
0x271f78.11011The route deletion failed: %1
0x272078.11011The route flush failed: %1
0x272178.11011The route change failed: %1
0x272278.11011Cannot print route table: %1
0x272378.11011The route was added successfully, but could not be made persistent: %1!u!
0x272478.11011=========================================================================== Active Routes:
0x272578.11011Persistent Routes:
0x272678.11011%1!15s! %2!15s! %3!15s! %4!6s!
0x272778.11011Network Address Netmask Gateway Address Metric
0x272878.11011Unable to access persistent routes: %1
0x272978.11011None
0x272a78.11011No matching active route was found. A matching persistent route was deleted.
0x272b8.11011Manipulates network routing tables. ROUTE [-f] [-p] [-4|-6] command [destination] [MASK netmask] [gateway] [METRIC metric] [IF interface] -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. Ignored for all other commands, which always affect the appropriate persistent routes. -4 Force using IPv4. -6 Force using IPv6. command One of these: PRINT Prints a route ADD Adds a route DELETE Deletes a route CHANGE Modifies an existing route destination Specifies the host. MASK Specifies that the next parameter is the 'netmask' value. netmask Specifies a subnet mask value for this route entry. If not specified, it defaults to 255.255.255.255. gateway Specifies gateway. interface the interface number for the specified route. METRIC specifies the metric, ie. 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. Destination or gateway can be a wildcard, (wildcard is specified as a star '*'), or the gateway argument may be omitted. If Dest contains a * or ?, it is treated as a shell pattern, and only matching destination routes are printed. The '*' matches any string, and '?' matches any one char. Examples: 157.*.1, 157.*, 127.*, *224*. Pattern match is only allowed in PRINT command.
0x272c78.11011Deleting Route %1!s! failed.
0x272d78.11011%1!S!: bad metric value %2!S!
0x272e78.11011Could not find route to CHANGE.
0x272f78.11011Diagnostic Notes: Invalid MASK generates an error, that is when (DEST & MASK) != DEST. Example> route ADD 157.0.0.0 MASK 155.0.0.0 157.55.80.1 IF 1 The route addition failed: The specified mask parameter is invalid. (Destination & Mask) != Destination. Examples: > route PRINT > route PRINT -4 > route PRINT -6 > route PRINT 157* .... Only prints those matching 157* > route ADD 157.0.0.0 MASK 255.0.0.0 157.55.80.1 METRIC 3 IF 2 destination^ ^mask ^gateway metric^ ^ Interface^ If IF is not given, it tries to find the best interface for a given gateway. > route ADD 3ffe::/32 3ffe::1 > route CHANGE 157.0.0.0 MASK 255.0.0.0 157.55.80.5 METRIC 2 IF 2 CHANGE is used to modify gateway and/or metric only. > route DELETE 157.0.0.0 > route DELETE 3ffe::/32
0x273078.11011
0x273178.11011%1!S!: bad interface index %2!S!
0x273278.11011=========================================================================== Interface List
0x273378.11011===========================================================================
0x273478.11011===========================================================================
0x273578.11011Default Gateway: %1!17s!
0x273678.11011The specified destination parameter is invalid.
0x273778.11011The specified gateway parameter is invalid.
0x273878.11011The specified mask parameter is invalid. (Destination & Mask) != Destination.
0x273978.11011Either the interface index is wrong or the gateway does not lie on the same network as the interface. Check the IP Address Table for the machine.
0x273a78.11011%1!s! Route Table
0x273b78.11011If Metric Network Destination Gateway
0x273c78.11011%1!3d! %2!6s! %3!-24S!
0x273d78.11011On-link
0x273e78.11011%1!S!
0x273f78.11011
0x274078.11011There is no active IPv4 Route.
0x274178.11011There is no active IPv6 Route.
0x274278.11011OK!
0x274378.11011Default
0x274478.11011%1!3d!...%2!s!%3!s!
0x272b7Manipulates network routing tables. ROUTE [-f] [-p] [-4|-6] command [destination] [MASK netmask] [gateway] [METRIC metric] [IF interface] -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. Ignored for all other commands, which always affect the appropriate persistent routes. This option is not supported in Windows 95. -4 Force using IPv4. -6 Force using IPv6. command One of these: PRINT Prints a route ADD Adds a route DELETE Deletes a route CHANGE Modifies an existing route destination Specifies the host. MASK Specifies that the next parameter is the 'netmask' value. netmask Specifies a subnet mask value for this route entry. If not specified, it defaults to 255.255.255.255. gateway Specifies gateway. interface the interface number for the specified route. METRIC specifies the metric, ie. 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. Destination or gateway can be a wildcard, (wildcard is specified as a star '*'), or the gateway argument may be omitted. If Dest contains a * or ?, it is treated as a shell pattern, and only matching destination routes are printed. The '*' matches any string, and '?' matches any one char. Examples: 157.*.1, 157.*, 127.*, *224*. Pattern match is only allowed in PRINT command.
46 entries