4    Configuring Mobile IPv6

This section describes how to configure your IPv6 node as either a home agent or a correspondent node.

When you are done configuring each system, it is recommended that you add all the system's IPv6 addresses to /etc/ipnodes.

4.1    Configuring a Home Agent

After the Mobile IPv6 kit is installed and your system has rebooted, it must be configured to act as a home agent before it can receive a Binding Update from a mobile node.

If the demo will be installed as a standalone network environment, not connected to a public network (or internet), then you can use the example IPv6 prefixes given below. Otherwise, you need to ask your site's network administrator to select prefixes for two ethernet subnets that are appropriate for your site. For example, if your site was allocated the prefix 3ffe:1200:4260::/48, your site's network administrator might allocate the following ethernet subnet prefixes 3ffe:1200:4260:1/64 and 3ffe:1200:4260:2::/64 from the site for your demo.

Configure the system as a Mobile IPv6 home agent with the following command, I have included the following text as an example only:

# /usr/sbin/ip6_setup

This utility will gather some IPv4 information from your system then prompt you for IPv6 related information. You may enter a question mark (?) at any question for further explanation.

Do you want to enable IPv6 in inetd services on this system? [Yes]: Yes [Return]

Do you want to configure this system as an IPv6 router? [No]: Yes [Return]

Will this router be in an environment where there might be Mobile Nodes present? [No]: Yes [Return]

Enter the IPv6 LAN interfaces? [ ]: ee0 ee1 [Return]

NOTE: These are just example interfaces, yours might be different

Do you want to enable RIPng on interface ee0? [Yes]: Yes [Return]

Do you want to enable Home Agent services on interface ee0? [No]: Yes [Return]

Do you want to increase the frequency of Router Advertisements on interface ee0? [No]: Yes [Return]

Enter an address prefix to advertise on ee0? [No Default]: 2000:1::/64 [Return]

NOTE: This is just an example prefix, yours might be different

Enter an address prefix to advertise on ee0? [Done]: [Return]

Do you want to enable RIPng on interface ee1? [Yes]: [Return]

Do you want to enable Home Agent services on interface ee1? [No]: No [Return]

Do you want to increase the frequency of Router Advertisements on interface ee1? [No]: Yes [Return]

Enter an address prefix to advertise on ee1? [No Default]: 2000:2::/64 [Return]

NOTE: This is just an example prefix, yours might be different

Enter an address prefix to advertise on ee1? [Done]: [Return]

Do you wish to configure IPv6 routing over any PPP links? [No] [Return]

Do you wish to define IPv6 over IPv4 configured tunnels? [No] [Return]

Do you want to configure an IPv6 over IPv4 automatic tunnel interface? [no] [Return]

Do you wish to define manual IPv6 routes? [No] [Return]

You enabled IPv6 for inetd services.

You configured this node as a Router with the following

Interfaces: ee0 RIP Enabled Prefix 2000:1::/64 Home Agent enabled Increased Router Advertisement frequency ee1 RIP Enabled Prefix 2000:2::/64 Increased Router Advertisement frequency

Other options: Mobile Nodes present

Do you wish to update the IPv6 startup procedures with this configuration? [No Default] Yes [Return]

Updating /etc/inetd.conf Updating /etc/rc.config Updating /etc/routes Updating /etc/ip6rtrd.conf

Do you want to restart IPv6 now? [Yes]: Yes [Return]

Starting IPv6... Starting Internet services on this system. Please wait... Configuring network hostname: homeagent ip6rtrd daemon started Internet services on this system are started.

IPv6 startup done

The system is now ready to function as a home agent and communicate with mobile nodes.

For any IPv6 postinstallation tasks, see the Network Administration: Connections manual.

4.2    Configuring a Correspondent Node

After the Mobile IPv6 kit is installed and your system has rebooted, it must be configured to act as a correspondent node before it can receive a Binding Update from a mobile node.

Configure the system as a Mobile IPv6 correspondent node with the following command, I have included the following text as an example only:

# /usr/sbin/ip6_setup

This utility will gather some IPv4 information from your system then prompt you for IPv6 related information. You may enter a question mark (?) at any question for further explanation.

Do you want to enable IPv6 in inetd services on this system? [Yes]: Yes [Return]

Do you want to configure this system as an IPv6 router? [No]: No [Return]

Do you want to enable dynamic updates of IPv6 addresses in the DNS/BIND namespace? [No]: [Return]

Enter the IPv6 LAN interfaces? [ ]: ee0 [Return]

NOTE: This is just an example interface, yours might be different

Do you wish to configure IPv6 routing over any PPP links? [No] [Return]

Do you wish to define IPv6 over IPv4 configured tunnels? [No] [Return]

Do you want to configure an IPv6 over IPv4 automatic tunnel interface? [no] [Return]

Do you wish to define manual IPv6 routes? [No] [Return]

You enabled IPv6 for inetd services.

You configured this node as a Host with the following

Interfaces: ee0 Dynamic Address Configuration Enabled

Do you wish to update the IPv6 startup procedures with this configuration? [No Default] Yes [Return]

Updating /etc/inetd.conf Updating /etc/rc.config

Do you want to restart IPv6 now? [Yes]: Yes [Return]

Starting IPv6... Starting Internet services on this system. Please wait... Configuring network hostname: correspondentnode nd6hostd daemon started Internet services on this system are started.

IPv6 startup done

The system is now ready to function as a correspondent node and communicate with mobile nodes.

For any IPv6 postinstallation tasks, see the Network Administration: Connections manual.