6    Solving Mobile IPv6 Problems

This chapter contains a diagnostic map to help you solve problems that might occur when you use the Mobile IPv6 kit. Use this chapter, along with the appropriate Compaq documentation, to solve as many problems as possible at your level.

6.1    Using the Diagnostic Map

Mobile IPv6 problems can occur for a number of reasons. The diagnostic map in this chapter should help you isolate the problem. The following figure explains how to use the diagnostic map:

After you isolate the problem, the map refers you to other sections for instructions on using the various problem-solving tools and utilities. The map also refers you to other manuals for complete diagnostic information for particular devices and software products.

You could experience problems that are not documented in this manual when you use the Mobile IPv6 network software with other products. See the documentation for the other products for additional information.

6.2    Getting Started

Before you start problem solving, ensure that communications hardware is ready for use. Verify the following:

Also check the product release notes for up-to-date information on known problems.

You should also be familiar with the following terms before you start problem solving:

on-link node

An on-link node is attached to the same subnetwork as your system. This subnetwork can be a LAN, a serial connection running PPP, or an IPv6 over IPv4 configured tunnel. There are no IPv6 routers between your system and the on-link node. For the configured tunnel, the on-link node is the node at the destination end of the tunnel.

off-link node

An off-link node is not attached to the same subnetwork as your system. There is at least one IPv6 router between your system and the off-link node.

You should also be sure that your system, whether IPv6 host or IPv6 router is operating correctly. See the Network Administration: Connections manual for information about solving network and IPv6 problems.

6.3    Solving Mobile IPv6 Problems


Turn on the power to your system. See the system manual for your system's startup procedure and any problem solving information.


If you see network-related errors or warnings during boot, complete the following steps:

  1. Verify that you are running Tru64 UNIX Version 5.1A by issuing the following command:

    # more /etc/motd
    

    If it is not, remove the Mobile IPv6 kit and install the correct version of the operating system.

  2. Verify that no patches are installed by issuing the following command:

    # setld -i |	grep OSFPAT
    

    If any patch subsets other than the Patch Tools are installed, remove the Mobile IPv6 kit and the patches in the reverse order in which they were installed. See Section 3.3 and the patch documentation, respectively, for more information.

  3. Disable IPv6 during system boot by issuing the following command:

    # rcmgr set IPV6 "no"
    

    Then, reboot the system. If the problems persist, go to step 4.

  4. Remove the Mobile IPv6 kit (see Section 3.3) and reboot the system. If the problems persist, see the Installation Guide, System Administration manual, and Network Administration: Connections manual. Otherwise, reinstall the Mobile IPv6 kit.


Verify that the Mobile IPv6 kit is installed. Enter the following commands:

# cd /usr/kits/mobileipv6
# ./installmobileipv6demo

The following message should appear immediately after the Installation menu selections:

*** Kit version nnn, draft xx, is currently installed ***
*** This system is currently acting as a ??? ***

If the kit is not installed, install it by choosing option 1 from the menu. See Section 3.1 for more information.


Verify that the Mobile IPv6 support is configured in the kernel. Enter the following command:

# sysconfig -q ipv6 mobileipv6_enabled

If the mobileipv6_enabled attribute is unknown, Mobile IPv6 is not configured in the kernel. Make sure that you are running the correct kernel. If you are, reconfigure the kernel by using the doconfig command. See Section 3.1 for more information.

If the system is acting as a correspondent node and the mobileipv6_enabled attribute is known but not set to 1, reconfigure it with the following command:

# sysconfig -r ipv6 mobileipv6_enabled=1
mobileipv6_enabled: reconfigured

If the system is acting as a home agent and the mobileipv6_enabled attribute is known but not set to 1, then the system is not configured correctly. See Section 4.1 for more information.


Verify that IPv6 is configured to start on system boot by issuing the rcmgr get IPV6 command. If IPv6 is configured, the word yes appears.

If IPv6 is not configured, use the ip6_setup utility. See the Network Administration: Connections manual for information on setting up an IPv6 host or router.


Verify that IPv6 was started by issuing the following command:

# ping ::1

If the host is unreachable message appears, start IPv6 by issuing the following command:

# /usr/sbin/rcinet start inet6

This creates the IPv6 interfaces, brings them up, and starts the IPv6 daemons.

Problem still exists? Report your problem to Mobileipv6-feedback@compaq.com.

Verify that both the home agent and correspondent node have a binding for the mobile node by issuing the following command on both systems:

# netstat -b | grep hostname

If no entry exists for the mobile node, complete the following steps:

  1. Run tcpdump and look for the Binding Update and Acknowledgement packets. The following table lists the Status field values for Binding Updates that are rejected (Status field value greater than zero):

    Status Value Reason
    128 Reason unspecified
    130 Prohibited by administrator
    131 Insufficient resources
    132 Home registration not supported
    133 Not home subnet
    136 Incorrect interface identifier length
    137 Not home agent for this mobile node
    138 Duplicate Address Detection (DAD) failed
    139 No Security Association
    141 Sequence number too small

  2. Enable debugging by issuing the following command:

    # sysconfig -r ipv6 mobileip_debug=1
    mobileipv6_debug: reconfigured
    

    This command displays the basic binding added, changed, and deleted messages. See sys_attrs_ipv6(5) for a description of the Mobile IPv6 debug levels.

  3. Send mail to the Mobile IPv6 help list at Mobileipv6-feedback@compaq.com.