SCTP Administrator's Guide

Example 2-6 Sample Output of the netstat rn and the netstat vrn commands
Following is the output of the netstat -rn command:
inet18:/> netstat -rn
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
15.70.189.228 15.70.189.228 UH 0 lan0 4136
15.70.189.0 15.70.189.228 U 2 lan0 1500
127.0.0.0 127.0.0.1 U 0 lo0 0
default 15.70.189.1 UG 0 lan0 0
Following is the output of the netstat -vrn command:
inet18:/> netstat -vrn
Routing tables
Dest/Netmask Gateway Flags Refs Interface
Pmtu
127.0.0.1/255.255.255.255 127.0.0.1 UH 0 lo0
4136
15.70.189.228/255.255.255.255 15.70.189.228 UH 0 lan0
4136
15.70.189.0/255.255.255.0 15.70.189.228 U 2 lan0
1500
127.0.0.0/255.0.0.0 127.0.0.1 U 0 lo0
0
default/0.0.0.0 15.70.189.1 UG 0 lan0
0
where:
Dest/Netmask
Specifies the destination network and the mask to be applied to
the destination address of an IP packet, which needs to be
forwarded.
Gateway
Specifies the address of the immediate gateway for reaching the
destination. It can be the address of the outgoing interface if the
destination is on a directly connected network.
Flags
Shows the status of the route. Following are the different types of
flags:
U
Specifies that the route is up.
G
Specifies that the route is a gateway.
H Specifies that the destination is a host (with or without H).
Interface
Specifies the network interface used for the route.
Pmtu
Displays the path maximum transmission unit (PMTU).
Displaying Network Interface Status
To display the status of network interfaces, enter the following command:
netstat -in
Using the netstat Command 35