This article provides a tutorial on setting up Mobile IPv6(MIPv6) on Linux.
Basic kernel configuration, IPv6 networking operation, configuration experience and basic MIPv6 knowledge are needed. If you use IPsec, basic IPsec knowledge and IPv6 tunnel gateway configuration experience is also required.
See Known issues at first.
After mip6d is installed, you can see mip6d.conf(5)
which has useful information about configuration.
An easy example boot script to do the above is mipv6-ha.sh.
An easy example boot script is mipv6-mn.sh.
We don't have an easy and good route optimization test for both-direction (other than using TAHI test or dumping packet). On the other hand, with ping6 command from USAGI git iputils-mip6 tree, you can check whether inbound echo reply is route-optimized or not.
Examples:
Here is the mainline kernel support status (as of 2.6.23).
node | basic | IPsec | |
---|---|---|---|
transport | tunnel | ||
HA | OK*1 | OK*1 | OK*3 |
MN | OK*2 | OK*4 | OK*4,*3 |
CN | OK*1 | -*5,*1 | - |