Home

Monash Info

News & Events

Campuses and Faculties

Monash University

Centre for Telecommunications and Information Engineering

training

research

staff

consulting

collaboration

projects


Configuring and Installing HMIPv6 for MIPL.

This documentation is for the Monash HMIPv6 implementation

Download the HMIPv6 patches.

Instructions for release:

Instructions for release 0.3 (mipl-0.9.4, radvd-0.7.2)

To a MIPL patched linux kernel, apply the HMIPv6 kernel patch:

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: <*> Networking Options>IPv6: optimistic DAD
    (Note: this may not work with default router selection through proc)
  • 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)
  • Set: <M> Networking Options>Interlayer Communications (ILC)
  • Set: <*> Networking Options>ILC debugging messages

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.4-v2.4.19/userspace/
  • ./configure
  • make
  • su -c "make install"
  • su -c "mknod /dev/mipv6_dev c 0xf9 0"

Configure MIPL startup scripts:

This should be equivalent to 0.9.4 MIPL. The MAP should be configured as an HA.

Apply the patch to radvd-0.7.1:

  • cd <radvd-base-path>/radvd-0.7.2/
  • patch -p1 [--dry-run] < <path-to-patch>/mon-radvd-0.7.2-hmipv6-0.3.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.2/
  • ./configure --sysconfdir=/etc
  • make
  • su -c "make install"

Set up the RADVD configuration.

You may wish to modify this sample configuration file as a starting point. It has examples of the parameters for each of the new functions.

Please beware that the advertisement intervals are in seconds, and may go down as far as 0.03 - 0.07. This is around 14kbps of advertisements in the minimum interval case (multicast).

  • man radvd.conf
  • edit /etc/radvd.conf
  • test radvd with radvd -d4 -m stderr
  • radvdump will decode router advertisements

Instructions for Release 0.2 (mipl-0.9.3, radvd-0.7.1)

To a MIPL patched linux kernel, apply the HMIPv6 kernel patch:

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



Monash University ABN 12 377 614 012
Copyright © 2002-2004 Monash University - Last Date Modified: 04 February 2004 - Caution

Help Contacts Site Map Staff Directory Search