HP-UX Mobile IPv6 A.01.00 Administrator's Guide

Chapter 6
Configuring HP-UX Mobile IPv6
Configuring Mobile IPv6 Home Agents
86
Configuring Mobile IPv6 Home Agents
At least one router node on the Mobile Node’s home link must be a Home Agent to allow a Mobile Node to
remain reachable while away from it is away the home link. As described in “The Router Advertisement
Daemon: rtradvd” on page 36,, the rtradvd determines if a system is Home Agent—not mip6mod.
The rtradvd and mip6mod must be running on Home Agents. The rtradvd configures mip6mod Mobile Node
prefix lists and handles handling ICMPv6 messages, the only Mobile IPv6 message mip6mod does not handle.
Generally there are no limits to the number of Home Agents you can configure on each home link. The
rtradvd is not required on Correspondent Nodes.
NOTE Use the man rtradvd command to view the rtradvd (1M) manpage.
Use the following steps to configure an HP-UX IPv6 system as a Home Agent:
Step 1. Start the interface using the following command:
ifconfig lan1 inet6 -private up
Step 2. Configure the Home Agent IPv6 global address, for example:
ifconfig lan1:1 inet6 5009:55::230:6eff:fe04:a848 up
Step 3. Use the mip6config tool to configure the parameters in the mip6mod configuration file. Refer to
Chapter 4, “Creating Mobile IPv6 Kernel Module Configuration Files with the mip6config Tool,” on
page 43, for more information.
Step 4. Use the mip6admin tool to start and configure mip6mod with the configuration file. Refer to
“Starting mip6mod: start” on page 65, for more information.
Step 5. Enable (turn on) the AdvHomeAgentFlag and AdvRouterAddress parameters in the rtradvd
configuration file, /etc/rtradvd.conf by default. Enabling the AdvHomeAgentFlag parameter
identifies the system as a Home Agent on the link. Enabling the AdvRouterAddress parameter sets
the R flag in Router Advertisements and sets the Prefix field to include the sending router node’s
address.
Step 6. Start the rtradvd, for example: rtradvd -c [
rtradvd.conf filename
]
NOTE To avoid the Home Agent from dropping Binding Acknowledgment messages while resolving
the link layer address of the default router after receiving Binding Update messages, increase
the ip6_nd_pending_queue_limit parameter (for example, setting the value to 100). The
default setting for this parameter is 5.
Use the following command to set the ip6_nd_pending_queue_limit parameter:
ndd -set /dev/ip6 ip6_nd_pending_queue_limit 100
You can also set the ip6_nd_pending_queue_limit parameter in
/etc/rc.config.d/nddconf. Use the following example, where [n] represents the number of
entries in /etc/rc.config.d/nddconf:
TRANSPORT_NAME[n]=ip6
NDD_NAME[n]=ip6_nd_pending_queue_limit
NDD_VALUE[n]=100