中文网站
  Advanced Search
Read the latest Blogs from IT professionals in the field. Read and write community created documents. Need IT help? Ask our staff. Connect with your peers. Check our Tech Shop for posters, books and software tools. Home

10.13.3.1 Node Type

To configure a Home Agent, the following settings should be in network-mip6.conf:

FUNCTIONALITY=ha
MIN_TUNNEL_NR=1
MAX_TUNNEL_NR=5
TUNNEL_SITELOCAL=yes

For a Mobile Node, make sure you have the following entries in network-mip6.conf:

FUNCTIONALITY=mn
TUNNEL_SITELOCAL=yes
MIN_TUNNEL_NR=1
MAX_TUNNEL_NR=3
HOMEDEV=mip6mnha1
HOMEADDRESS=<the home address of the mn>
HOMEAGENT=<the address of the ha>

Note that if you only require CN functionality, you must configure the node as you would a MN.

During the early stages of deployment, it is recommended to increase the verbosity level of the kernel module in network-mip6.conf in order to be able to debug any problems:

DEBUGLEVEL=4

For a HA you must have forwarding enabled in order for the HA to be able to forward captured packets to the MN when it is away from home:

“echo 1 > /proc/sys/net/ipv6/conf/eth0/forwarding”

This is assuming that you are using eth0 as the outgoing interface. In addition you should probably need to add a default route to the outgoing interface.

6.3.2 Route Optimisation and Return Routability

It is possible to control the use of route optimisation and return routability via the proc file system. If you do not wish to use route optimisation (and thus return routability) user the following command:
“echo 0 > /proc/sys/conf/net/ipv6/mobility/accept_return_routability”

The MN will then communicate with the CN only through the tunnel on the HA. Route optimisation and return routability are enabled by default (setting is 1).