System Administration Guide: IP Services
Previous Next

Displaying Mobility Routes on a Foreign Agent

You can use the netstat command to display additional information about source-specific routes that are created by forward tunnels and reverse tunnels. See the netstat(1M) man page for more information about this command.

How to Display Mobility Routes on a Foreign Agent

  1. Become superuser or assume an equivalent role on the system where you are enabling Mobile IP.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  2. Display the mobility routes.
    # netstat -rn 
Example 28-11 Displaying Mobility Routes on a Foreign Agent

The following example shows the routes for a foreign agent that uses a reverse tunnel.

Routing Table:   IPv4 Source-Specific     
Destination      In If     Source      Gateway Flags  Use  Out If
--------------  ------- ------------ --------- -----  ---- -------      ip.tun1      --  UH      0 hme1
    --          hme1       --      U       0 ip.tun1

The first line indicates that the destination IP address and the incoming interface ip.tun1 select hme1 as the interface that forwards the packets. The next line indicates that any packet originating from interface hme1 and source address must be forwarded to ip.tun1.

Previous Next