linedancer888
MIS
How do I tell if I'm using static routes?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
# odmget -q "attribute = route" CuAt
# odmget -q name=inet0 CuAt
Routing Table Display (netstat -r)
The routing table display indicates the available routes and their statuses.
Each route consists of a destination host or network and a gateway to use in
forwarding packets.
A route is given in the format A.B.C.D/XX, which presents two pieces of
information. A.B.C.D indicates the destination address and XX indicates the
netmask associated with the route. The netmask is represented by the number of
bits set. For example, the route 9.3.252.192/26 has a netmask of
255.255.255.192, which has 26 bits set.
The routing table contains the following ten fields:
Flags The flags field of the routing table shows the state of the route:
A
An Active Dead Gateway Detection is enabled on the route. This field only
applies to AIX 5.1 or later.
U
Up.
H
The route is to a host rather than to a network.
G
The route is to a gateway.
D
The route was created dynamically by a redirect.
M
The route has been modified by a redirect.
L
The link-level address is present in the route entry.
c
Access to this route creates a cloned route. This field only applies to AIX
4.2.1 or later.
W
The route is a cloned route. This field only applies to AIX 4.2.1 or later.
1
Protocol specific routing flag #1.
2
Protocol specific routing flag #2.
3
Protocol specific routing flag #3.
b
The route represents a broadcast address.
e
Has a binding cache entry.
l
The route represents a local address.
m
The route represents a multicast address.
P
Pinned route.
R
Host or net unreachable.
S
Manually added.
u
Route usable.
Direct routes are created for each interface attached to the local host.
Gateway The gateway field for these entries shows the address of the outgoing
interface.
Refs Gives the current number of active uses for the route. Connection-oriented
protocols hold on to a single route for the duration of a connection, while
connectionless protocols obtain a route while sending to the same destination.
Use Provides a count of the number of packets sent using that route.
PMTU Gives the Path Maximum Transfer Unit (PMTU). This field only applies to AIX
4.2.1 or later.
Interface Indicates the network interfaces utilized for the route.
Exp Displays the time (in minutes) remaining before the route expires. This
field only applies to AIX 4.2.1 or later.
Groups Provides a list of group IDs associated with that route. This field only
applies to AIX 4.2.1 or later.
Netmasks Lists the netmasks applied on the system.