routing.7 (2010 09)
r
routing(7) routing(7)
NAME
routing - system support for local network packet routing
DESCRIPTION
The network facilities for HP-UX provide general packet routing support. Routing table maintenance is
handled by application processes.
A routing table consists of a set of data structures used by the network facilities to select the appropriate
remote host or gateway when transmitting packets. The table contains a single entry for each route to a
specific network or host, as displayed by the
netstat command with the -r or -rn options (see
netstat (1)). Routes that are not valid are not displayed.
_______________________________________________________________
# netstat -r
Routing tables
Destination Gateway Flags Refs Use Interface Pmtu
hpindwr.cup.hp.com
localhost UH 1 39 lo0 4608
localhost localhost UH 0 68 lo0 4608
147.253.56.195 localhost UH 0 0 lo0 4608
147.253.144.66 localhost UH 0 0 lo0 4608
default hpinsmh.cup.hp.com
UG 1 21 lan0 1500
15.13.136 hpindwr.cup.hp.com
U 1 92 lan0 1500
147.253.56 147.253.56.195 U 0 7 lan2 1500
147.253.144.64 147.253.144.66 U 0 7 lan1 1500
_______________________________________________________________
# netstat -rn
Routing tables
Destination Gateway Flags Refs Use Interface Pmtu
15.13.136.66 127.0.0.1 UH 1 39 lo0 4608
127.0.0.1 127.0.0.1 UH 0 68 lo0 4608
147.253.56.195 127.0.0.1 UH 0 0 lo0 4608
147.253.144.66 127.0.0.1 UH 0 0 lo0 4608
default 15.13.136.11 UG 2 30 lan0 1500
15.13.136.0 15.13.136.66 U 1 113 lan0 1500
147.253.56.0 147.253.56.195 U 0 7 lan2 1500
147.253.144.64 147.253.144.66 U 0 7 lan1 1500
_______________________________________________________________
# netstat -rv
Routing tables
Dest/Netmask Gateway Flags Refs Use Interface Pmtu
hpindwr.cup.hp.com/0xffffffff
localhost UH 1 39 lo0 4608
localhost/0xffffffff
localhost UH 0 68 lo0 4608
147.253.56.195/0xffffffff
localhost UH 0 0 lo0 4608
147.253.144.66/0xffffffff
localhost UH 0 0 lo0 4608
default/0x00000000
hpinsmh.cup.hp.com
UG 2 31 lan0 1500
15.13.136/0xfffff800
hpindwr.cup.hp.com
U 1 129 lan0 1500
147.253.56/0xfffffe00
147.253.56.195 U 0 7 lan2 1500
147.253.144.64/0xfffffff0
147.253.144.66 U 0 7 lan1 1500
HP-UX 11i Version 3: September 2010 − 1 − Hewlett-Packard Company 1