Mobile IPv6 Demo


Table of Contents

  1. Introduction
  2. Diagram
  3. Required Hardware
  4. Installing the Tru64 UNIX Home Agent
  5. Installing the Tru64 UNIX Correspondent Node
  6. Installing the Infrastructure
  7. Installing the Linux iPaq Pocket PC
  8. Running the Demonstration

Introduction

A team of engineers at Compaq's Cambridge Research Lab and Tru64 UNIX Network Engineering has created a demonstration of Wireless Mobile IPv6 using Tru64 UNIX as an application server and iPAQs as the wireless mobile devices.

The instructions provided here describe the steps involved in configuring and running this demo. We expect the demo will be duplicated in Competency Centers around the world and at trade shows to demonstrate that Compaq is a leading vendor for  IPv6 and (in the near future) Mobile IPv6 technology.

The majority of these instructions cover the installation and configuration procedures. The demonstration procedures are also included at the end. Of course, this demo isn't perfect. We get noticable glitches in the audio streams during movement due to a series of bugs in the implementation. Mobile IPv6 can do significantly better than what we see here.

toc


Diagram

click image to enlarge

toc


Required Hardware

* - a Cisco router may be substituted for this machine but anymore information about that is beyond the scope of these instructions.

toc


Installing the Tru64 UNIX Home Agent

The Home Agent runs on Tru64 UNIX V5.1A.  Modifications are made to the router daemon configuration for mobility.

Install Tru64 UNIX

  1. The Mobile IPv6 software only works on Tru64 UNIX V5.1A (Rev 1885), so you must get the installation cd for the OS first.
  2. Update the AlphaServer system to the latest firmware if necessary.  See Compaq's firmware site for details.
  3. Install Tru64 UNIX V5.1A on both the Home Agent and Correspondent Node. It is easiest to select all subsets and build the kernel with all options. Be sure to register the OSF-BASE, OSF-USR, and OSF-SVR licenses.
  4. Configure packetfilter if you need it for tcpdump or ethereal use:
        # cd /dev
        # ./MAKEDEV pfilt

Install Mobile IPv6 Kit

The Mobile IPv6 software is shipped as a tar file with patches for Tru64 UNIX V5.1A. Use the following steps to install it:
  1. Log on as root
  2. Create a directory for the kit:
       # mkdir /usr/kits
       # cd /usr/kits
  3. Copy the Tru64 UNIX MIPv6 demo kit to the directory you created.
  4. Unpack the tarball:
       # gunzip -c mobileipv6demo.tar.gz | tar xvf -
  5. Read ./mobileipv6/README, it will have a pointer to a set of HTML documents that will walk you through the installation and configuration of the system.

toc


Installing the Tru64 UNIX Correspondent Node

The Correspondent Node (application server) in our demo is a Tru64 UNIX V5.1A node with kernel modifications to support direct communication with a mobile node when the mobile node is away from its home network.

Follow the Home Agent instructions above, select Correspondent Node in the script and all the necessary components for the Correspondent Node will be installed automatically.

toc


Installing the Infrastructure

Network Installation

Plug the 1st interface of the Home Agent into Hub 1.

Plug the Correspondent Node into Hub 1

Plug Access Point 1 into Hub 1

Plug the 2nd interface of the Home Agent into Hub 2

Plug Access Point 2 in Hub 2

 

Configuration

Follow the instructions form the Mobile IPv6 Demo kit to configure the Home Agent and Correspondent Node.

Using the provided Access Point software:

Turn everything on and you should be ready to go!

toc


Installing the Mobile Node for the Mobile IPv6 Demo

Requirements

 

Packages

 

Step One -> Boot loader

Your iPaq will need to be reconfigured to boot Linux.  This is the end of the road for Windows CE or Pocket PC.  Detailed instructions are provided by Cambridge Research Lab.  Due to constant changes to the boot loader process, we've decided not to annotate our own instructions.  Please follow the instructions found at the following link with one exception, substitute bootldr-2.14.15 for their listed boot loader image.  This is very important, you must use boot loader version 2.14.15!

If you are installing Linux on an iPaq with Pocket PC for the first time, follow these directions.

--> ftp://ftp.handhelds.org/pub/linux/compaq/ipaq/stable/install.html <--

If you already have Linux installed on your iPaq and you have questions regarding our installation, please contact the engineering team.

 

Step Two -> Installing Linux

At the bootldr prompt type:

  1. partition reset
  2. partition define kernel 0x80000 0xc0000 0x0
  3. partition define root 0x140000 0x0 24
  4. set linuxargs "noinitrd root=/dev/mtdblock3 console=ttySA0 init=/linuxrc"
  5. params save
  6. load kernel

Following that command a number of funny characters will scroll across the bottom of the screen.  Those characters indicate that you need to start the xmodem download.  In HyperTerminal, select Transfer -> Send File.  Enter the filename of the kernel,  zImage-2.4.3-rmk2-np1-mipv6-hh3, and then select the protocol as xmodem.  

This will take a couple of minutes.

  1. load root

Similarly to step 6, send the root file ipaq-demo.jffs2 using xmodem

Go for a long walk, this will take approx. 1 hour

Assuming you didn't get any error messages, hold your breath and type:

  1. boot

 

Step Three -> Running Linux on your iPaq

After all the boot messages stream by, you will be greeted by a login prompt.

familiar login: root

Password: rootme

Important commands:

ifconfig

List the network interface address information.

iwconfig eth0

Lists the wireless access information for network interface eth0.  Useful to determine which access point the wireless card is communicating with.

Important Files:

/etc/hosts

Hostname address database, update the addresses of the correspondent node (cn6) and home agent (ha6) here.

/etc/sysconfig/network-mip6.conf

Mobile IPv6 configuration file.

/etc/sysconfig/roamd-threshold

Roamd configuration file.  Set the signal strength threshold that will tell roamd when to switch networks.

Graphical Interface:

For the demo the iPaq is running a window manager called Ion.  Ion has a few simple frame manipulation features available at the top of each frame.

You will probably want to set up a split screen before you start the demo.

toc


Running the Mobile IPv6 Demo

 

toc


This page is brought to you by the Tru64 Mobile IPv6 Engineering team of Brian Haley and Greg Colburn. Please send any comments or questions to us at Mobileipv6-feedback@compaq.com

last modified 4/12/02