To a MIPL patched linux kernel, apply the HMIPv6 kernel patch:
- cd <path-to-mipl-kernel>/linux/
- patch -p2 [--dry-run] < <path-to-patch>/mon-hmipv6-0.2-mipl-0.9.3.diff
Add HMIPv6 to the configured options for MIPL
- make menuconfig
- Set: <*> Networking Options>Network packet filtering (replaces ipchains)
- Set: <M> Networking Options>The IPv6 protocol
- Set: <M> Networking Options>IPv6: IPv6 over IPv6 Tunneling
- Set: <M> Networking Options>IPv6: Mobility Support
- Set: <*> Networking Options>MIPv6: Debug messages
- Set: <*> Networking Options>Hierarchical Mobile IPv6 (HMIPv6)
Make Linux and its modules:
- make clean
- make dep && make bzImage && make modules
- su -c "make modules_install && make install"
Install MIPL's userspace programs.
This is also described in the INSTALL file which comes with MIPL.
- cd <path-to-mipl>mipv6-0.9.3-v2.4.18/userspace/
- ./configure
- make
- su -c "make install"
- su -c "mknod /dev/mipv6_dev c 0xf9 0"
Configure MIPL startup scripts:
Apply the patch to radvd-0.7.1:
- cd <radvd-base-path>/radvd-0.7.1/
- patch -p1 [--dry-run] < <path-to-patch>/mon-radvd-0.7.1-hmipv6-02.diff
Apply the HMIPv6 patch to the system includes:
- cd /usr/include/
- patch -p3 [--dry-run] < <path-to-patched-radvd>/icmp6.h.diff
Configure, make and install RADVD
- cd <radvd-base-path>/radvd-0.7.1/
- ./configure --sysconfdir=/etc
- make
- su -c "make install"
Set up the RADVD configuration.
You may wish to modify this sample configuration file
- man radvd.conf
- edit /etc/radvd.conf
- test radvd with radvd -d4 -m stderr
- radvdump will decode router advertisements
last updated 04 Feb 2004
TOP