HP-UX Reference (11i v2 07/12) - 1M System Administration Commands N-Z (vol 4)

r
route(1M) route(1M)
The specified route is being deleted from the tables.
Flags
The values of the count and destination type fields in the
route command determine the presence of the G
and H flags in the netstat -r display and thus the route type, as shown in the following table.
Count Destination Type Flags Route Type
Route to a network directly from the local host=0 network
U
Route to a network through a remote host gateway>0 network
UG
Route to a remote host directly from the local host=0 host
UH
Route to a remote host through a remote host gateway>0 host
UGH
Wildcard route directly from the local host=0 default
U
Wildcard route through a remote host gateway>0 default
UG
DIAGNOSTICS
The following error diagnostics can be displayed:
add a route that already exists
The specified entry is already in the routing table.
delete a route that does not exist
The specified route was not in the routing table.
cannot update loopback route
Routes for any 127.*.*.* loopback destination cannot be added or deleted.
WARNINGS
Reciprocal route commands must be executed on the local host, the destination host, and all intermediate
hosts if routing is to succeed in the cases of virtual circuit connections or bidirectional datagram transfers.
The HP-UX implementation of
route does not presently support a change subcommand.
AUTHOR
route was developed by the University of California, Berkeley.
FILES
/etc/networks
/etc/hosts
SEE ALSO
netstat(1), ifconfig(1M), ndd(1M), ping(1M), getsockopt(2), recv(2), send(2), getaddrinfo(3N), gethostent(3N),
getnetent(3N), inet(3N), inet6(3N), routing(7).
HP-UX 11i Version 2: December 2007 Update 4 Hewlett-Packard Company 259