This section describes how to configure MobileIPv6 and TSP tunnel broker on the platforms.
FreeBSD has an implementation of MobileIPv6 as part of the Kame IPv6 stack and supports TSP tunnel broker.
By default, the FreeBSD kernel is not compiled for MobileIPv6. Table 11.15 lists the lines to be added to the kernel configuration file.
Modify the /etc/rc.conf to enable MobileIPv6 and configure interfaces appropriately.
To configure a home agent, use the following lines.
# cat /etc/rc.conf ipv6_mobile_enable=“YES” ipv6_mobile_nodetype=“home_agent” ipv6_mobile_home_prefixes=“3ffe:b00:0:1::/64” ipv6_mobile_home_link=“fxp0”
Since a home agent is a router, forwarding (ipv6_gateway_enable) must also be configured, as discussed in Section 10.2.
As a home agent, the router advertisement interval, configured in the /etc/rtadvd.conf file, is much shorter than the normal case. The following lines define the interval between 4 and 6 seconds.
# cat /etc/rtadvd.conf fxp0: :maxinterval#6:mininterval#4:
|Kernel config line||Description|
|options MIP6||To enable MobileIPv6 processing. Must be present in any MobileIPv6 functionality: mobile node, correspondent node and home agent.|
|options MIP6_MOBILE_NODE||To enable the MobileIPv6 mobile node functionality. ...|