HP-UX Mobile IPv6 A.01.00 Administrator's Guide
Chapter 6
Configuring HP-UX Mobile IPv6
Configuring Mobile IPv6 Home Agents
87
Configuring Dynamic Home Agent Address Discovery
As described in configure in “Dynamic Home Agent Address Discovery” on page 18, a Mobile Node only needs
a home network prefix configured and it can dynamically find the address of a Home Agent on its home
network when it needs to register its Care-of Address. To enable Dynamic Home Agent Address Discovery,
you must configure a Mobile IPv6 anycast address on the Home Agent loop-back interface. Use the following
steps to enable Dynamic Home Agent Address Discovery:
NOTE The following procedure explains how to temporarily enable (not at system boot-up) Dynamic
Home Agent Address Discovery on Home Agents. Repeat the following procedure if a Home
Agent using Dynamic Home Agent Address Discovery stops and restarts.
Step 1. Use the mip6config tool to configure the parameters in the mip6mod configuration file on the Home
Agent. Refer to Chapter 4, “Creating Mobile IPv6 Kernel Module Configuration Files with the
mip6config Tool,” on page 43, for more information.
Step 2. Use the mip6admin tool to start and configure mip6mod with the mip6mod configuration file. Refer
to “Starting mip6mod: start” on page 65, for more information.
Step 3. Configure the Home Agent by following the procedure in “Configuring Mobile IPv6 Home Agents”
on page 86,.
Step 4. Turn off the private flag on the Home Agent, for example:
ifconfig lo0 inet6 -private up
Step 5. Configure the Mobile IPv6 anycast address on the Home Agent loop-back interface, for example:
ifconfig lo0:1 inet6 5009:55::fdff:ffff:ffff:fffe up
If the network uses a 64-bit subnet prefix, the format of the Mobile IPv6 anycast address is:
subnet prefix + fdff:ffff:ffff:fffe
For example, if your subnet prefix is 5009:55::, the Mobile IPv6 anycast address is
5009:55::fdff:ffff:ffff:fffe
NOTE Refer to IETF RFC 2526, Reserved IPv6 Subnet Anycast Addresses, at
http://www.ietf.org for more information on anycast address formats.
Step 6. Temporarily disable Duplicate Address Detection on the Home Agent to avoid disrupting other
Home Agents on the link, for example:
ndd -set /dev/ip6 ip6_nd_dad_solicit_count 0
Step 7. Create a Proxy Neighbor Discovery entry for the Home Agent’s Mobile IPv6 anycast address on the
loop-back interface and map the entry to the lan1 MAC address, for example:
ndp -s lan1 5009:55::fdff:ffff:ffff:fffe 0:30:6e:4:a8:48 pub
Step 8. Start Duplicate Address Detection on the Home Agent, for example:
ndd -set /dev/ip6 ip6_nd_dad_solicit_count 1