HP-UX Reference (11i v2 04/09) - 7 Device (Special) Files, 9 General Information, Index (vol 10)
r
routing(7) routing(7)
_______________________________________________________________
# netstat -rnv
Routing tables
Dest/Netmask Gateway Flags Refs Use Interface Pmtu
15.13.136.66/255.255.255.255
127.0.0.1 UH 1 39 lo0 4608
127.0.0.1/255.255.255.255
127.0.0.1 UH 0 68 lo0 4608
147.253.56.195/255.255.255.255
127.0.0.1 UH 0 0 lo0 4608
147.253.144.66/255.255.255.255
127.0.0.1 UH 0 0 lo0 4608
default/0.0.0.0 15.13.136.11 UG 3 40 lan0 1500
15.13.136.0/255.255.248.0
15.13.136.66 U 1 153 lan0 1500
147.253.56.0/255.255.254.0
147.253.56.195 U 0 8 lan2 1500
147.253.144.64/255.255.255.240
147.253.144.66 U 0 8 lan1 1500
_______________________________________________________________
The following columns are of particular interest:
Destination The destination Internet address: host name, network name, or default.
The default keyword indicates a wildcard route, used as a last resort if no
route is specified for a particular remote host or network. See Flags.
Netmask The netmask and the destination Internet address together define a range of
IP addresses that may be reached by the route’s gateway. A host route by
default has a netmask of all 1’s. A default route by default has a netmask of
all 0’s. The netmask is also used in selecting a route to forward an IP packet.
See the Routing Algorithm subsection.
Gateway The gateway to use to get to the destination: a remote gateway or the local
host. See Flags.
Flags The type of route:
U The route is "up" or available (see ifconfig(1M)).
G The route uses a remote host as a gateway; otherwise, the local host
is shown as the gateway (see route (1M)).
H The destination is a host; otherwise, the destination is a network
(see route (1M)).
Interface The interface connections:
lo0 The local loopback after system boot.
lan0, lan1,... The interface cards installed on the local host after
the ifconfig command is executed at boot time
(see ifconfig(1M)).
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.
HP-UX 11i Version 2: September 2004 − 2 − Hewlett-Packard Company Section 7−−123