HP-UX Mobile IPv6 A.01.00 Administrator’s Guide HP-UX 11i version 1 and version 2 Documentation Website—http://www.docs.hp.com Manufacturing Part Number: 5990-8592 E0704 U.S.A. © Copyright 2001-2004 Hewlett-Packard Development Company, L.P.
Legal Notices The information in this document is subject to change without notice. Hewlett-Packard makes no warranty of any kind with regard to this manual, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. Hewlett-Packard shall not be held liable for errors contained herein or direct, indirect, special, incidental or consequential damages in connection with the furnishing, performance, or use of this material.
Contents About This Document 1. Introducing HP-UX Mobile IPv6 Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Features and Functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Comparison of Mobile IPv4–Mobile IPv6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Mobile IPv6 Architecture. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents 3. Getting Started with HP-UX Mobile IPv6 Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Additional Information and Related Documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . HP-UX Mobile IPv6 Deployment Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The Mobile IPv6 Kernel-resident STREAMS Module: mip6mod. . . . . . . . . . . . . . . .
Contents Deleting mip6mod Binding Cache Parameters: delete binding-cache . . . . . . . . . . . . mip6mod Error Rate Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuring mip6mod Error-Rate Parameters: configure error-rates . . . . . . . . . . . . Listing mip6mod Error Rate Parameters: list error-rates . . . . . . . . . . . . . . . . . . . . . Deleting mip6mod Error Rate Limit Parameters: delete error-rates . . . . . . . . . . . .
Contents Configuring Mobile IPv6 Correspondent Nodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 Configuring Mobile IPv6 Home Agents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 Configuring Dynamic Home Agent Address Discovery . . . . . . . . . . . . . . . . . . . . . . . 89 7. Troubleshooting HP-UX Mobile IPv6 Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
About This Document This document describes how to install, configure, and troubleshoot HP-UX Mobile IPv6 on HP-UX 11i version 1 and HP-UX 11i version 2. The latest version of this document can always be found on the Networking and Communications page at http://www.docs.hp.com. The combination of the document printing date and part number indicate the document’s current edition. The printing date will change when a new edition is printed.
Conventions in this Document The following is a list of the formatting and typographical conventions used in this document: command | filename | parameter Represents command, path or filename, and parameters in configuration files. Title Represents document or section titles. term Indicates key term or concept (also defined in Glossary). command Represents commands or terminal text. [] Contains optional or variable content.
IETF Standards Documentation HP-UX Mobile IPv6 is based on the IETF standards that can be found at http://www.ietf.
HP-UX Release Name and Release Identifier Each HP-UX 11i release has an associated release name and release identifier. Use the uname -r command to see which release is running on a system. The following table lists the HP-UX 11i releases: Table 2 Release Identifier HP-UX 11i Releases Release Name Supported Processor Architecture B.11.11 HP-UX 11i version 1 PA-RISC B.11.20 HP-UX 11i version 1.5 Intel Itanium B.11.22 HP-UX 11i version 1.6 Intel Itanium B.11.
Introducing HP-UX Mobile IPv6 1 Introducing HP-UX Mobile IPv6 This chapter introduces and describes HP-UX Mobile IPv6 functionality and operation.
Introducing HP-UX Mobile IPv6 Overview Overview The HP-UX Mobile IPv6 product delivers mobility support for HP-UX IPv6 by providing Home Agent and Correspondent Node functionality for HP-UX 11i version 1 and 2 servers. HP-UX Mobile IPv6 is based on the following IETF standards, which can be found at http://www.ietf.
Introducing HP-UX Mobile IPv6 Overview Comparison of Mobile IPv4–Mobile IPv6 The following information might be helpful if you are migrating from Mobile IPv4 to Mobile IPv6, or if you understand Mobile IPv4 and want to preview Mobile IPv6 by comparing the two distinct technologies. The following is a list of the major differences between Mobile IPv4 and Mobile IPv6 concepts; refer to IETF documentation for complete information.
Introducing HP-UX Mobile IPv6 Mobile IPv6 Architecture Mobile IPv6 Architecture IPv6 addresses are topologically correct, therefore nodes attached to the same physical network or LAN segment must have the same IPv6 network address prefix. Mobile IPv6 provides transparent routing of IP data-packets to a mobile IP device or node, such as a portable computer, regardless of the mobile node’s point of attachment to the network.
Introducing HP-UX Mobile IPv6 Mobile IPv6 Architecture Home Agents and Basic Operation In Mobile IPv6 basic operation, a Correspondent Node sends data-packets to the Mobile Node using the Mobile Node’s home address. A Home Agent (HA), a node or router on the Mobile Node’s home network, intercepts these data-packets and tunnels them to the Mobile Node’s current Care-of Address, as show in Figure 1-1, Correspondent Node to Mobile Node in Basic Operation.
Introducing HP-UX Mobile IPv6 Mobile IPv6 Architecture Route Optimization In addition to basic operation, Mobile IPv6 can operate using Route Optimization. Route Optimization improves data transmission rates between the Correspondent Node and Mobile Node. With Route Optimization, the Mobile Node and Correspondent Node communicate directly with each other and bypass the Home Agent. Route Optimization is especially beneficial when the Mobile Node and Correspondent Node are in the same network.
Introducing HP-UX Mobile IPv6 Establishing Basic Operation Establishing Basic Operation In most cases, the Mobile Node and Correspondent Node communicate using Route Optimization. Mobile IPv6 basic operation is used in initial communication, when the Correspondent Node does not have information about the Mobile Node’s Care-of Address, and in cases where the Correspondent Node does not support Mobile IPv6 Route Optimization.
Introducing HP-UX Mobile IPv6 Establishing Basic Operation Figure 1-5 Movement Detection Mobile Node Mobile Node Router Home Agent Home Network Foreign Network Mobile Node Home Agent Router Solicitation Home Network Foreign Network Router Mobile Node Router Router Advertisement Home Agent Home Network Foreign Network Mobile Node Network prefix + Interface ID Care-of Address Home Agent Home Network Router Foreign Network Mobile Node Home Agent Home Network 8 B inding Upd ate Router
Introducing HP-UX Mobile IPv6 Establishing Basic Operation Mobile Node Acquires Care-of Address When the Mobile Node attaches to a new foreign network, it gets a new Care-of Address using a stateless (IPv6 stateless autoconfiguration) or stateful (such as DHCPv6) method. The Care-of Address has the network prefix of the foreign network. Mobile Node Sends Binding Update to Home Agent After the Mobile Node determines its Care-of Address, it sends a Binding Update message to its Home Agent.
Introducing HP-UX Mobile IPv6 Establishing Basic Operation Basic Operation Data Paths Mobile Node to Correspondent Node Data Path in Basic Operation In basic operation mode, the Mobile Node sends data-packets to the Correspondent Node through its Home Agent using the following procedure, and as shown in Figure 1-6, Data Path: Mobile Node to Correspondent Node in Basic Operation: 1.
Introducing HP-UX Mobile IPv6 Establishing Basic Operation Correspondent Node to Mobile Node Data Path in Basic Operation In basic mode, the Correspondent Node sends data-packets back to the Mobile Node through the Mobile Node’s home address using the following procedure, and as shown in Figure 1-7, Data Path: Correspondent Node to Mobile Node in Basic Operation: 1. The Correspondent Node addresses the data-packet to the Mobile Node’s home address. 2.
Introducing HP-UX Mobile IPv6 Establishing Route Optimization Establishing Route Optimization Route Optimization improves data transmission rates between the Correspondent Node and Mobile Node. Without Route Optimization, data-packets from the Correspondent Node to the Mobile Node are sent to the Home Agent (and through the Mobile Node’s home network). With Route Optimization, the Correspondent Node sends data-packets directly to the Mobile Node’s Care-of Address.
Introducing HP-UX Mobile IPv6 Establishing Route Optimization Figure 1-8 Return Routability Procedure for Securing Route Optimization e H om Mobile Node tI Tes ni t Home Agent Correspondent Node Care-of Te st Init Home Agent Ho mH om e e K T est ey ma w it h te ria l Care-of Test with Care-o f Key m aterial Mobile Node Correspondent Node Home Agent Mobile Node Home Key material + Care-of Key material Kbm (Binding Management Key) Kbm Correspondent Node Home Agent Mobile Node Chapter 1 B
Introducing HP-UX Mobile IPv6 Establishing Route Optimization Mobile Node Sends Care-of Test Init and Home Test Init Messages The Care-of Test Init message is addressed directly to the Correspondent Node. The Home Test Init message is routed through the Home Agent. These messages are routed over different network segments in most topologies. Correspondent Node Sends Care-of Test and Home Test Messages The Correspondent Node sends Care-of Test and Home Test messages back to the Mobile Node.
Introducing HP-UX Mobile IPv6 Establishing Route Optimization Route Optimization Data Paths Mobile Node to Correspondent Node Data Path in Route Optimization In route optimization mode, the Mobile Node sends data-packets directly to the Correspondent Node. The Mobile Node uses its Care-of Address as the source IP address and puts its home address in a special IPv6 header option for Mobile IPv6—the Home Address destination option.
Introducing HP-UX Mobile IPv6 Establishing Route Optimization Correspondent Node to Mobile Node Data Path in Route Optimization In route optimization mode, the Correspondent Node sends data-packets directly to the Mobile Node. The Correspondent Node uses the Mobile Node’s Care-of Address as the destination IP address and puts the Mobile Node’s home address in a special IPv6 routing header for Mobile IPv6, a Type 2 routing header.
Introducing HP-UX Mobile IPv6 Returning Home and Deregistering Returning Home and Deregistering When a Mobile Node moves back to its home network, it determines whether it is attached to its home network based on the network prefix information it receives in the Router Advertisements sent by Home Agents on the home link. The Mobile Node deregisters by sending a special Binding Update to its Home Agent to tell the Home Agent it is now attached to the home network.
Introducing HP-UX Mobile IPv6 Dynamic Home Agent Address Discovery Dynamic Home Agent Address Discovery When attached to a Foreign Network, a Mobile Node might not know the address of its Home Agent. For example, a router operating as the Mobile Node's Home Agent might get reconfigured or replaced by a different node serving as a Home Agent on the home network.
Introducing HP-UX Mobile IPv6 Prefix Discovery Prefix Discovery Prefix Discovery allows a Mobile Node to get network prefix information about its Home Network and to configure its Home Address if needed. The Home Agent monitors prefix information from Router Advertisement messages on the Home Network. The Mobile Node can request prefix information by sending a Mobile Prefix Solicitation message to the Home Agent.
Introducing HP-UX Mobile IPv6 Prefix Discovery 20 Chapter 1
Installing HP-UX Mobile IPv6 2 Installing HP-UX Mobile IPv6 The information in this chapter explains how to acquire and install HP-UX Mobile IPv6.
Installing HP-UX Mobile IPv6 System Requirements System Requirements The following are the requirements for installing and running HP-UX Mobile IPv6 A.01.00 on HP-UX 11i version 1 and HP-UX 11i version 2. Supported Operating Systems HP-UX Mobile IPv6 is supported on the following 32- or 64-bit systems: • HP-UX 11i version 1 PA-RISC servers • HP-UX 11i version 2 Intel Itanium servers HP-UX 11i version 1 Requirements • The TOUR 2.0 depot is ~ 4.5 MB. After installation on HP-UX 11i version 1, TOUR 2.
Installing HP-UX Mobile IPv6 System Requirements Software Requirements The following software is required on all HP-UX 11i version 1 systems running HP-UX Mobile IPv6 A.01.00: • TOUR product component in the TOUR 2.0 release: TOUR.TOUR_PRODUCT • A.02.00 Transport Optional Upgrade Release for B.11.11 IPv6 enablement product component in the TOUR 2.0 release: TOUR.IPV6AA NOTE A.02.00 IPv6 11i product The TOUR 2.
Installing HP-UX Mobile IPv6 System Requirements NOTE 24 The TOUR 2.0 release depot for HP-UX 11i version 2 includes all software dependencies HP-UX Mobile IPv6 A.01.00 requires—patch dependencies are not included in the TOUR depot. The following is a list of the components included in the TOUR 2.0 release depot for HP-UX 11i version 2: • Mobile IPv6 A.01.00 product software • TOUR A.02.
Installing HP-UX Mobile IPv6 Acquiring HP-UX Mobile IPv6 Acquiring HP-UX Mobile IPv6 The HP-UX Mobile IPv6 A.01.00 product is delivered as a component of TOUR 2.0. Use the following steps to download TOUR 2.0 and the Mobile IPv6 product free of charge from HP’s Software Depot at http://www.software.hp.com: NOTE The TOUR_2.0.depot filename in the following section is an example. The exact filename of the TOUR 2.0 depot will vary for each HP-UX operating system version. Step 1.
Installing HP-UX Mobile IPv6 Installing HP-UX Mobile IPv6 Installing HP-UX Mobile IPv6 Use the following steps to install the HP-UX Mobile IPv6 software: NOTE The TOUR_2.0.depot filename in the following sections is an example. The exact filename of the TOUR 2.0 depot will vary for each HP-UX operating system version. Step 1. Review the HP-UX Mobile IPv6 “Supported Operating Systems” on page 22 Step 2. Download TOUR 2.0 by referring to “Acquiring HP-UX Mobile IPv6” on page 25 Step 3.
Installing HP-UX Mobile IPv6 Verifying the HP-UX Mobile IPv6 Installation Verifying the HP-UX Mobile IPv6 Installation Use the following steps after swinstall finishes installing TOUR 2.0 to verify the HP-UX Mobile IPv6 and required software installed successfully: Step 1. Check the following log files for error messages: • /var/adm/sw/swinstall.log • /var/adm/sw/swagent.log Step 2.
Installing HP-UX Mobile IPv6 Removing (Uninstalling) HP-UX Mobile IPv6 Removing (Uninstalling) HP-UX Mobile IPv6 Use the following steps to remove (uninstall) the HP-UX Mobile IPv6 product from your system: Step 1. Use the mip6admin stop command to stop the mip6mod Mobile IPv6 kernel module on the system. Step 2.
Getting Started with HP-UX Mobile IPv6 3 Getting Started with HP-UX Mobile IPv6 This chapter introduces the components and files for administering HP-UX Mobile IPv6 systems.
Getting Started with HP-UX Mobile IPv6 Overview Overview Before deploying your Mobile IPv6 configuration, decide which systems in your environment require Home Agent support and which systems require Correspondent Node support. Deploy Home Agents in locations where providing mobility services to Mobile Nodes is the primary function. The primary Correspondent Node function is providing Route Optimization support on an IPv6 system that will communicate with Mobile Nodes.
Getting Started with HP-UX Mobile IPv6 HP-UX Mobile IPv6 Deployment Components HP-UX Mobile IPv6 Deployment Components The following is a list of the components used to operate and configure HP-UX Mobile IPv6. The sections following the list provide detailed information about each component. • Mobile IPv6 Kernel-resident STREAMS Module: mip6mod • Mobile IPv6 Kernel Module Configuration File: /etc/mip6.
Getting Started with HP-UX Mobile IPv6 HP-UX Mobile IPv6 Deployment Components The Mobile IPv6 Kernel-resident STREAMS Module: mip6mod The HP-UX Mobile IPv6 Kernel-resident STREAMS module, mip6mod, provides Home Agent and Correspondent Node functionality for HP-UX servers—mip6mod is not Mobile Node client software. Located between HP-UX Mobile IPv6 user-space tools and the IPv6 STREAMS device driver in the kernel, mip6mod processes and generates all Mobile IPv6 Mobility message headers.
Getting Started with HP-UX Mobile IPv6 HP-UX Mobile IPv6 Deployment Components The Mobile IPv6 Kernel Module Configuration File: /etc/mip6.conf The HP-UX Mobile IPv6 Kernel-resident STREAMS Module configuration file, /etc/mip6.conf by default, contains several configuration parameters for controlling mip6mod. The mip6admin tool reads mip6mod configuration files and configures mip6mod.
Getting Started with HP-UX Mobile IPv6 HP-UX Mobile IPv6 Deployment Components warn Logs messages for warning conditions, for example, when dynamic configuration occurs. info Logs messages for informational conditions, for example, when a binding cache entry is created. debug Logs messages for debugging and troubleshooting conditions, for example, when a mobility route is added. num-mip6mod-instances The number of mip6mod instances to start and use for processing messages with Mobility Headers.
Getting Started with HP-UX Mobile IPv6 HP-UX Mobile IPv6 Deployment Components The value of refresh-request-threshold is number of seconds prior to the expiration of the Mobile Node’s current registration. The refresh-advice-interval value must be an integer in the range [0–262,140] and must be less than the max-binding-lifetime value. Disable the Binding Refresh Advice option by setting the refresh-advice-interval value to 0. The default value for binding-refresh-advice-interval is 0.
Getting Started with HP-UX Mobile IPv6 HP-UX Mobile IPv6 Deployment Components The Mobile IPv6 Kernel Module Configuration File Tool: mip6config HP-UX Mobile IPv6 includes a command line tool, mip6config, to create, edit, and verify mip6mod Mobile IPv6 configuration files. The mip6config tool verifies mip6mod configuration parameters you configure and displays error messages after detecting invalid syntax or values.
Getting Started with HP-UX Mobile IPv6 HP-UX Mobile IPv6 Deployment Components The Mobile IPv6 Kernel Module Administration Tool: mip6admin HP-UX Mobile IPv6 includes a command line administration tool, mip6admin, to administer the HP-UX Mobile IPv6 kernel-resident STREAMS module, mip6mod. Do not attempt to interface with mip6mod using anything other than the mip6admin tool. The mip6admin tool requires super-user permissions, and starts and configures mip6mod with /etc/mip6.conf by default.
Getting Started with HP-UX Mobile IPv6 HP-UX Mobile IPv6 Deployment Components The Router Advertisement Daemon: rtradvd The Router Advertisement Daemon, rtradvd, performs the following Mobility functions on HP-UX IPv6 systems: • configures the system as a Home Agent • receives Router Solicitation messages from Mobile Nodes • sends Router Advertisement messages Mobile Nodes use for detecting movement and configuring Care-of Addresses NOTE The HP-UX IPv6 rtrdvd is included with the IPv6 component of T
Getting Started with HP-UX Mobile IPv6 HP-UX Mobile IPv6 Deployment Components The Router Advertisement Daemon Configuration File: /etc/rtradvd.conf The HP-UX IPv6 Router Advertisement Daemon configuration file, /etc/rtradvd.conf by default, contains parameters that determine how the system constructs the IPv6 Router Advertisement messages it sends. Specifically for Mobile IPv6, the rtradvd configuration file determines if a system is Home Agent—not the mip6mod configuration file.
Getting Started with HP-UX Mobile IPv6 HP-UX Mobile IPv6 Deployment Components The default value for MaxRtrAdvInterval is the value of the AdvRouterLifetime parameter. MinRtrAdvInterval [integer] Specifies the minimum time interval (in seconds) between unsolicited multicast Router Advertisements sent from the interface. When using Mobile IPv6, the MinRtrAdvInterval value must be in the range [.03–.75 * MaxRtrAdvInterval] seconds. The default value for MinRtrAdvInterval is: .
Getting Started with HP-UX Mobile IPv6 HP-UX Mobile IPv6 Product Files HP-UX Mobile IPv6 Product Files The following sections list the files installed with HP-UX Mobile IPv6 A.01.00.
Getting Started with HP-UX Mobile IPv6 HP-UX Mobile IPv6 Product Files Message Catalogs The following is a list of the HP-UX Mobile IPv6 message catalog files: Table 3-4 HP-UX Mobile IPv6 Message Catalogs File Description /usr/lib/nls/C/mip6admin.cat The mip6admin message catalogs /usr/lib/nls/C/mip6config.cat The mip6config message catalogs Manpages The following is a list of the HP-UX Mobile IPv6 manpage files: Table 3-5 HP-UX Mobile IPv6 Manpages File Description /usr/man/man7.Z/mip6mod.
Getting Started with HP-UX Mobile IPv6 HP-UX Mobile IPv6 Deployment Overview HP-UX Mobile IPv6 Deployment Overview The following list is an overview of the process for deploying HP-UX Mobile IPv6. Use the references for each step to get complete information: Step 1. Install HP-UX Mobile IPv6 and the required dependencies on HP-UX systems that will be Home Agents or Correspondent Nodes. Refer to Chapter 2, “Installing HP-UX Mobile IPv6,” on page 21, for more information. Step 2.
Getting Started with HP-UX Mobile IPv6 HP-UX Mobile IPv6 Deployment Overview 44 Chapter 3
Creating Mobile IPv6 Kernel Module Configuration Files with the mip6config Tool 4 Creating Mobile IPv6 Kernel Module Configuration Files with the mip6config Tool The information in this chapter explains how to use the HP-UX Mobile IPv6 configuration tool, mip6config.
Creating Mobile IPv6 Kernel Module Configuration Files with the mip6config Tool Overview Overview HP-UX Mobile IPv6 includes a command line tool, mip6config, to create, edit, and verify mip6mod Mobile IPv6 configuration files. Using mip6config can help avoid common errors that occur when manually editing files, such as “typos” that create invalid entries. The mip6config tool verifies the mip6mod configuration parameters you enter and displays error messages after detecting invalid syntax or values.
Creating Mobile IPv6 Kernel Module Configuration Files with the mip6config Tool Overview mip6config Return Values Review the mip6config return values before using mip6config to verify mip6mod configuration files with scripts. The following table lists and defines the values mip6config returns after executing: Table 4-1 mip6config Return Values Return Value Definition 0 No errors encountered while reading, writing, or verifying the mip6mod configuration file.
Creating Mobile IPv6 Kernel Module Configuration Files with the mip6config Tool mip6config Commands Quick-Reference mip6config Commands Quick-Reference The following table lists and briefly describes each mip6config command. Refer to the individual sections in this chapter for complete information on each mip6config command, including syntax, values, parameters, and examples.
Creating Mobile IPv6 Kernel Module Configuration Files with the mip6config Tool mip6config Commands Quick-Reference Table 4-2 mip6config Commands Quick-Reference (Continued) Use the following mip6config commands to configure mip6mod Error Rate Parameters: Error Rate Parameters • Error Rate Threshold • Max. Rate Limit • Min. Rate Limit configure error-rates Configures the mip6mod Error Rate Parameters in Novice Mode. list error-rates Lists the mip6mod Error Rate Parameters.
Creating Mobile IPv6 Kernel Module Configuration Files with the mip6config Tool Starting a mip6config Session and Verifying a Configuration File Starting a mip6config Session and Verifying a Configuration File Use the mip6config command at the command prompt to start a mip6config session, or to verify an existing mip6mod configuration file. mip6config starts with /etc/mip6.conf if you do not specify a file name. Remember to use the write command to save the mip6config session to the configuration file.
Creating Mobile IPv6 Kernel Module Configuration Files with the mip6config Tool All mip6mod Parameters All mip6mod Parameters Use the mip6config commands described in this section to configure all mip6mod parameters. Refer to “The Mobile IPv6 Kernel Module Configuration File: /etc/mip6.conf” on page 33, for a description of each parameter.
Creating Mobile IPv6 Kernel Module Configuration Files with the mip6config Tool All mip6mod Parameters -ni num_mip6mod_instances The number of mip6mod instances to start and use for processing messages with Mobility Headers. The num_mip6mod_instances value must be an integer in the range [1–N], where N represents the number of processors on the system. The default value for num_mip6mod_instances is 1.
Creating Mobile IPv6 Kernel Module Configuration Files with the mip6config Tool All mip6mod Parameters The binding_refresh_advice_interval value must be an integer in the range [0–262,140] and must be less than the max_binding_lifetime value. Disable the Binding Refresh Advice option by setting the binding_refresh_advice_interval value to 0. The default value for binding_refresh_advice_interval is 0.
Creating Mobile IPv6 Kernel Module Configuration Files with the mip6config Tool All mip6mod Parameters Listing All mip6mod Configuration Parameters: list all Use the list all command to all the mip6mod General, Binding Cache, and Error Rate parameters.
Creating Mobile IPv6 Kernel Module Configuration Files with the mip6config Tool mip6mod General Parameters mip6mod General Parameters Use the mip6config commands described in this section to configure the mip6mod General parameters. Refer to “mip6mod General Parameters” on page 33, for a description of each parameter.
Creating Mobile IPv6 Kernel Module Configuration Files with the mip6config Tool mip6mod Binding Cache Parameters mip6mod Binding Cache Parameters Use the mip6config commands described in this section to configure the mip6mod Binding Cache parameters. Refer to “mip6mod Binding Cache Parameters” on page 34, for a description of each parameter. The mip6mod Binding Cache parameters include the following: • Max. Bindings • Max. Home Bindings • Max.
Creating Mobile IPv6 Kernel Module Configuration Files with the mip6config Tool mip6mod Binding Cache Parameters Deleting mip6mod Binding Cache Parameters: delete binding-cache Use the delete binding-cache command to delete mip6mod Binding Cache parameters. This command sets the Binding Cache as unconfigured (i.e., empty) by “commenting” the value in the configuration file. You must confirm you want to delete the Binding Cache parameters when prompted.
Creating Mobile IPv6 Kernel Module Configuration Files with the mip6config Tool mip6mod Error Rate Parameters mip6mod Error Rate Parameters Use the mip6config commands described in this section to configure the mip6mod Error Rate Parameters. Refer to “mip6mod Error Rate Parameters” on page 35, for a description of each parameter. The mip6mod Error Rate parameters include the following: • Error Rate Threshold • Max. Rate Limit • Min.
Creating Mobile IPv6 Kernel Module Configuration Files with the mip6config Tool Managing mip6config Tool Sessions Managing mip6config Tool Sessions Use the mip6config commands in this section to manage mip6config sessions—these commands are not for configuring specific mip6mod parameter values. Saving the mip6config Session to a Configuration File: write Use the write command to save mip6config sessions to configuration files.
Creating Mobile IPv6 Kernel Module Configuration Files with the mip6config Tool Managing mip6config Tool Sessions Getting Help Information on mip6config Commands: help | ? Use the help or ? command to get help information on one or more mip6config commands. Use the -v option to get verbose help information about each command. Use the help or ? command without any options or parameters to list all mip6config commands. Abbreviated: h[elp] | ? Syntax: help | ? [-v] [mip6config command ...
Creating Mobile IPv6 Kernel Module Configuration Files with the mip6config Tool Managing mip6config Tool Sessions Clearing the mip6config Screen: clearscreen Use the clearscreen command to clear the text from the mip6config on the screen. The clearscreen command clears the mip6config session text on the screen only—it does not clear parameters in configuration files.
Creating Mobile IPv6 Kernel Module Configuration Files with the mip6config Tool Managing mip6config Tool Sessions 62 Chapter 4
Administering the Mobile IPv6 Kernel Module with the mip6admin Tool 5 Administering the Mobile IPv6 Kernel Module with the mip6admin Tool The information in this chapter explains how to use the HP-UX Mobile IPv6 administration tool, mip6admin.
Administering the Mobile IPv6 Kernel Module with the mip6admin Tool Overview Overview HP-UX Mobile IPv6 includes a command line administration tool, mip6admin, to administer the HP-UX Mobile IPv6 kernel-resident STREAMS module, mip6mod. Do not attempt to interface with mip6mod using anything other than the mip6admin tool. The mip6admin tool requires super-user permissions, and starts and configures mip6mod with /etc/mip6.conf by default.
Administering the Mobile IPv6 Kernel Module with the mip6admin Tool Overview mip6admin Return Values Review the mip6admin return values before using mip6admin with scripts.
Administering the Mobile IPv6 Kernel Module with the mip6admin Tool mip6admin Commands Quick-Reference mip6admin Commands Quick-Reference The following table lists and briefly describes the commands for the mip6admin administration tool: Table 5-2 mip6admin Commands Quick-Reference Commands For Starting, Stopping, and Dynamically-Configuring mip6mod start [-f conf_file] Starts and configures mip6mod with the specified Mobile IPv6 configuration file.
Administering the Mobile IPv6 Kernel Module with the mip6admin Tool Starting, Stopping, and Dynamically-Configuring mip6mod Starting, Stopping, and Dynamically-Configuring mip6mod Use the mip6admin commands described in this section to start, stop, and dynamically-configure mip6mod.
Administering the Mobile IPv6 Kernel Module with the mip6admin Tool Starting, Stopping, and Dynamically-Configuring mip6mod Dynamically-configuring mip6mod: setconfiguration Use the setconfiguration command to dynamically-configure mip6mod (does not require mip6mod retstart). Use options to configure any of the individual mip6mod parameters, or to specify a Mobile IPv6 configuration file— do not use options and a file name simultaneously. mip6mod must be running to use the setconfiguration command.
Administering the Mobile IPv6 Kernel Module with the mip6admin Tool Starting, Stopping, and Dynamically-Configuring mip6mod a[lert] Logs messages for critical conditions requiring immediate attention, for example, exceeding memory space. e[rror] Logs messages for error conditions, for example, when the binding cache reaches maximum capacity. Error conditions might limit Mobile IPv6 performance, but might not require immediate attention.
Administering the Mobile IPv6 Kernel Module with the mip6admin Tool Starting, Stopping, and Dynamically-Configuring mip6mod included in Binding Acknowledgement messages sent to Mobile Nodes, indicates when Mobile Nodes should re-register by specifying a number of seconds prior to the expiration of their current registration. The binding_refresh_advice_interval value must be an integer in the range [0–262,140] and must be less than the max_binding_lifetime value.
Administering the Mobile IPv6 Kernel Module with the mip6admin Tool Starting, Stopping, and Dynamically-Configuring mip6mod Setting (Toggle) mip6mod Security and Debugging Enforcement: debug Use the debug command without options to display mip6mod debug and troubleshooting settings. Use the debug command with options to enable or disable a specific mip6mod debug setting. Use multiple options to simultaneously change more than one setting.
Administering the Mobile IPv6 Kernel Module with the mip6admin Tool Reporting and Resetting mip6mod and rtradvd Information Reporting and Resetting mip6mod and rtradvd Information Use the mip6admin commands described in this section to report and reset mip6mod and rtradvd information.
Administering the Mobile IPv6 Kernel Module with the mip6admin Tool Reporting and Resetting mip6mod and rtradvd Information rtradvd CONFIGURATION ********************************************************************** rtradvd Configuration File: /etc/rtradvd.conf mip6mod EVENTS ********************************************************************** Jan 20 18:36:05 mip6mod(U,1,6832): WARN: mip6_process_ioctl: Config is changed.
Administering the Mobile IPv6 Kernel Module with the mip6admin Tool Reporting and Resetting mip6mod and rtradvd Information BINDING UPDATES STATISTICS ********************************************************************** Total Binding Update Errors: 1 Bad Length: 0 No Home Address Option: 0 Invalid Care-of or Home Address: 0 Dropped due to Binding Update Disabled: 0 Bad Sequence Number: 1 Missing IPSec: 0 Failed Return Routablity: 0 Bad Mobility Option: 0 Home Agent Disabled: 0 Not Home Agent for Mobile N
Administering the Mobile IPv6 Kernel Module with the mip6admin Tool Reporting and Resetting mip6mod and rtradvd Information HOME AGENT LIST ********************************************************************** Interface: lan1 Link Local Address: fe80:0:0:0:210:83ff:fefb:d95b (Local) Global Address(es): bbbb:bb:bb:0:0:0:0:bbbb Expires: Fri Feb 13 14:00:46 2004 Lifetime (secs): 400 Preference: 5 Interface: Link Local Address: Global Address(es): Expires: Lifetime (secs): Preference: lan1 fe80:0:0:0:20a:41f
Administering the Mobile IPv6 Kernel Module with the mip6admin Tool Reporting and Resetting mip6mod and rtradvd Information Reporting mip6mod and rtradvd Prefix Information: prefixes Use the prefixes command to list prefix information from mip6mod and rtradvd displayed in a side-by-side format. For each prefix, the list displays mip6mod information followed by rtradvd information in parenthesis. The list will display the entry as unknown if the entity does not report it.
Administering the Mobile IPv6 Kernel Module with the mip6admin Tool Reporting and Resetting mip6mod and rtradvd Information Example: mip6admin bindings -l bbbb:bb:bb:0:0:0:0:2 Binding Cache Entry ********************************************************************** Home Address: bbbb:bb:bb:0:0:0:0:2 Care-of Address: 8888:88:0:0:0:0:0:2 Binding Update Sequence Number: 2750 Lifetime (secs): 295 Binding Update Flags: A H K Chapter 5 77
Administering the Mobile IPv6 Kernel Module with the mip6admin Tool Reporting and Resetting mip6mod and rtradvd Information Resetting mip6mod Prefix and Binding Cache Lists: flush Use the flush command to reset (clear) mip6mod prefix and binding cache lists. Use an option to specify which list to reset. mip6mod resets both lists if you do not specify which list to reset. mip6admin requires you to confirm this command before resetting the mip6mod prefix and binding cache lists.
Administering the Mobile IPv6 Kernel Module with the mip6admin Tool Reporting and Resetting mip6mod and rtradvd Information Reporting and Resetting mip6mod Statistical Counters: statistics Use the statistics command to report and reset (clear) the mip6mod General, Binding, and Return Routability statistics. The statistics command reports mip6mod statistics if the -reset option is not used. To report or reset on all counters, do not specify any of the individual mip6mod counters.
Administering the Mobile IPv6 Kernel Module with the mip6admin Tool Reporting and Resetting mip6mod and rtradvd Information Reporting rtradvd Statistical Counters: rtradvstatistics Use the rtradvdvstatistics command to report and reset (clear) the rtradvd statistics, including the total count and errors for Router Advertisement, Dynamic Home Agent Address Discovery, and Prefix solicitations—on an interface by interface basis.
Administering the Mobile IPv6 Kernel Module with the mip6admin Tool Reporting and Resetting mip6mod and rtradvd Information Viewing syslogd Events Logged by mip6mod: logevents Use the logevents command to view syslogd events logged by mip6mod. The logevents command will display the events when mip6mod is running, and also when it is not running.
Administering the Mobile IPv6 Kernel Module with the mip6admin Tool Managing mip6admin Sessions Managing mip6admin Sessions Use the mip6admin commands described in this section to manage mip6admin sessions. The following is a list of the mip6admin commands described in this section: • quit | exit • clearscreen • help | ? Exiting Interactive mip6admin Session: quit | exit Use the quit or exit command to end and exit interactive mip6admin sessions.
Administering the Mobile IPv6 Kernel Module with the mip6admin Tool Managing mip6admin Sessions Getting Help Information on mip6admin Commands: help | ? Use the help or ? command to get help information on one or more mip6config commands. Use the -v option to get verbose help information about each command. Use the help or ? command without any options or parameters to list all mip6config commands. Abbreviated: h[elp] | ? Syntax: help | ? [mip6admin_command ...
Administering the Mobile IPv6 Kernel Module with the mip6admin Tool Managing mip6admin Sessions 84 Chapter 5
Configuring HP-UX Mobile IPv6 6 Configuring HP-UX Mobile IPv6 This chapter explains how to configure HP-UX Mobile IPv6 nodes.
Configuring HP-UX Mobile IPv6 Overview Overview HP-UX Mobile IPv6 A.01.00 provides mobility support for IPv6 on HP-UX 11i version 1 and version 2 by delivering the following server functionality • Correspondent Node support • Home Agent support As described in “Mobile IPv6 Architecture” on page 4, Home Agents support Mobile Nodes moving throughout IPv6 networks, and Correspondent Nodes are any system communicating or corresponding with Mobile Nodes.
Configuring HP-UX Mobile IPv6 Configuring Mobile IPv6 Correspondent Nodes Configuring Mobile IPv6 Correspondent Nodes Use the following steps to configure Mobile IPv6 Correspondent Nodes after installing HP-UX Mobile IPv6 on a system: Step 1. Use the mip6config tool to configure the parameters in the mip6mod configuration file. Refer to Chapter 4, “Creating Mobile IPv6 Kernel Module Configuration Files with the mip6config Tool,” on page 45, for more information. Step 2.
Configuring HP-UX Mobile IPv6 Configuring Mobile IPv6 Home Agents Configuring Mobile IPv6 Home Agents At least one router node on the Mobile Node’s home link must be a Home Agent to allow a Mobile Node to remain reachable while away from it is away the home link. As described in “The Router Advertisement Daemon: rtradvd” on page 38,, the rtradvd determines if a system is Home Agent—not mip6mod. The rtradvd and mip6mod must be running on Home Agents.
Configuring HP-UX Mobile IPv6 Configuring Mobile IPv6 Home Agents Configuring Dynamic Home Agent Address Discovery As described in configure in “Dynamic Home Agent Address Discovery” on page 18, a Mobile Node only needs a home network prefix configured and it can dynamically find the address of a Home Agent on its home network when it needs to register its Care-of Address. To enable Dynamic Home Agent Address Discovery, you must configure a Mobile IPv6 anycast address on the Home Agent loop-back interface.
Configuring HP-UX Mobile IPv6 Configuring Mobile IPv6 Home Agents 90 Chapter 6
Troubleshooting HP-UX Mobile IPv6 7 Troubleshooting HP-UX Mobile IPv6 The information in this chapter explains how to troubleshoot HP-UX Mobile IPv6.
Troubleshooting HP-UX Mobile IPv6 Overview Overview There are several resources available for troubleshooting HP-UX Mobile IPv6, including the following: • the mip6admin administration tool • the rtradvd -C command • the nettl packet tracing and netfmt formatting tool This section provides reference information on each of these troubleshooting resources. Refer to “Verifying Common Mobile IPv6 Functions” on page 97 for information specific troubleshooting tasks. NOTE 92 Refer to the HP-UX IPSec A.
Troubleshooting HP-UX Mobile IPv6 Troubleshooting with the mip6admin Administration Tool Troubleshooting with the mip6admin Administration Tool In addition to administering mip6mod, you can use mip6admin as a valuable troubleshooting tool.
Troubleshooting HP-UX Mobile IPv6 Troubleshooting with the Router Advertisement Daemon Troubleshooting with the Router Advertisement Daemon The rtradvd provides an option to parse rtradvd conifguration files and print-out errors. Use the rtradvd -C [rtradvd.
Troubleshooting HP-UX Mobile IPv6 Troubleshooting with the nettl Packet Tracing and netfmt Formatting Tools Troubleshooting with the nettl Packet Tracing and netfmt Formatting Tools You can trace and format the following Mobile IPv6 Mobility Header packets using nettl (network tracing utility) and netfmt (network trace formatting utility): • Binding Update • Binding Acknowledgement • Binding Refresh Request • Binding Error • Home Test Init (HoTI) • Care-of Test Init (CoTI) • Home Test (HoT) •
Troubleshooting HP-UX Mobile IPv6 Troubleshooting with the nettl Packet Tracing and netfmt Formatting Tools Formatting Mobile IPv6 Packets Using netfmt Use netfmt to format the nettl trace files. Specify the -N (“nice”) option so that netfmt will format the Mobile IPv6 packets and label the protocol fields. NOTE 96 Use the man nettl and man netfmt commands to view the manpages and get more information.
Troubleshooting HP-UX Mobile IPv6 Verifying Common Mobile IPv6 Functions Verifying Common Mobile IPv6 Functions The information in the following sections describe the procedures for verifying common Mobile IPv6 functions. Refer to the previous sections in this chapter for general information about troubleshooting HP-UX Mobile IPv6. Verifying Binding Updates Sent to Home Agents Use the following procedure to verify the Binding Update messages sent from a Mobile Node to the Home Agent: Step 1.
Troubleshooting HP-UX Mobile IPv6 Verifying Common Mobile IPv6 Functions Verifying the Return Routability Procedure Use the following procedure to verify the Return Routability procedure between a Mobile Node and Correspondent Node: Step 1. Attach a Mobile Node to a foreign network. Step 2. Allow the Mobile Node to send a Binding Update message to the Home Agent and register from the foreign network. Step 3. Use a Correspondent Node to ping the Mobile Node and start the Return Routability procedure.
Troubleshooting HP-UX Mobile IPv6 Verifying Common Mobile IPv6 Functions Verifying Reverse-Tunneling Between Mobile Nodes and Home Agents Use the following procedure to verify the reverse-tunneling procedure between a Home Agent and Mobile Node. Step 1. Attach a Mobile Node to a foreign network. Step 2. Allow the Mobile Node to send a Binding Update message to the Home Agent and register from the foreign network. Step 3.
Troubleshooting HP-UX Mobile IPv6 Verifying Common Mobile IPv6 Functions 100 Chapter 7
Example Configuration Files A Example Configuration Files This chapter provides example HP-UX IPv6 rtradvd and mip6mod configuration files.
Example Configuration Files Example Router Advertisement Daemon Configuration File Example Router Advertisement Daemon Configuration File The following is an example configuration file for rtradvd, the HP-UX IPv6 Router Advertisement Daemon. The default rtradvd configuration file is: /etc/rtradvd.conf. Refer to “The Router Advertisement Daemon Configuration File: /etc/rtradvd.conf ” on page 39, for more information about rtradvd.conf parameters.
Example Configuration Files Example mip6mod Mobile IPv6 Configuration File Example mip6mod Mobile IPv6 Configuration File The following is an example mip6mod Mobile IPv6 configuration file. The default mip6mod configuration file is: /etc/mip6mod.conf. Refer to “The Mobile IPv6 Kernel Module Configuration File: /etc/mip6.conf” on page 33, for more information about mip6.
Example Configuration Files Example mip6mod Mobile IPv6 Configuration File # max-binding-lifetime # # The maximum lifetime, in seconds, allocated to binding cache entries. Use # an integer in the range [4..262140]. The default is 262140. max-binding-lifetime: 262140 # # # # # # # # # # refresh-advice-interval The advice time (in seconds) in the Binding Refresh Advice option.
Example Configuration Files Example mip6mod Mobile IPv6 Configuration File # # # # # # # # min-rate-limit The minimum rate at which error messages are sent when error rate is controlled. Use an integer in the range [20..10000]. Note that smaller values are faster rates, and the value will be the longest duration (in milliseconds) between error messages. min-rate-limit must be slower than max-rate-limit.
Example Configuration Files Example mip6mod Mobile IPv6 Configuration File 106 Appendix A
Glossary Binding see Mobility binding. Binding Acknowledgement The message to the Mobile Node, in response to it’s Binding Update, acknowledging the Mobile Node’s Binding Update and indicating whether it was accepted or rejected. The Binding Acknowledgement also includes a fixed lifetime for the registration. Binding Cache A cache of bindings for other IPv6 nodes that each IPv6 node maintains. Binding Management Key (Kbm) Used to authorize the Binding Update and Binding Acknowledgement messages.
Glossary MN MN See Mobile Node. Movement Detection The process by which a Mobile Node determines it has moved away from its home network. Mobile Node A host that may change its network attachment point from one network or subnetwork to another. A Mobile Node is assigned a fixed home address on a home network, which Correspondent Nodes may use to address packets to the Mobile Node, regardless of the Mobile Node’s current network attachment point.
Index Symbols !, 46 A Additional Information, viii IETF Documentation, ix Manpages, viii Product Documentation, viii Address Length, 3 Anycast Address, 89 Architecture, 4 B Basic Operation Data Path, 10, 11 Data Path Figure, 5, 11 Defined, 5 Establishing, 7 Binding Acknowledgement, 14 Defined, 9 Refresh Advice Interval, 34 Return Routability Procedure, 12 Binding Cache Defined, 9 Binding Management Key, 12, 14 Binding Refresh Request, 34 Binding Update, 14 Defined, 9 Return Routability Procedure, 12 Binding
Index Message Catalogs, 42 Product Files, 41 Removing, 28 Start Script, 41 Stop Script, 41 HP-UX Release Identifiers, x I ICMPv6 Messages, 38 IETF Standards, 2 Installation, 26 Removing, 28 Verifying, 27 Intended Audience, vii IPSec, 9 Enforcing, 71 Home Tests, 14 K Kbm, 12, 14 Kernel Module, 32 L list all, 54 list binding-cache, 56 list error-rates, 58 list general, 55 logevents, 81 logging, 81 M Manpages, viii Files, 42 mip6.conf, viii mip6admin, viii mip6config, viii mip6mod, viii rtradvd, viii rtradvd.
Index Overview, 46 overview, 59 quit, 59 Saving to File, 59 Starting, 50 Tool Management Commands, 59 Verifying Files, 50 write, 59 mip6config, Return Values, 47 mip6mod, 32 Administering, 37 Binding Cache Parameters, 34 Configuration File, 33 Creating Configuration Files, 36 Error Rate Parameters, 35 Error Rate Threshold, 35 Error-Rate Enforcing, 71 General Parameters, 33 interfacing with, 32 Log Levels, 33 Manpage, 32 Max Binding Lifetime, 34 Max Bindings, 34 Max Error Rate Limit, 35 Max Home Bindings, 34
Index Acquiring, 38 Configuring, 86 Dynamic Home Agent Address Discovery, 89 Functions, 38 Home Agent, 88 Manpage, 38 rtradvd, Return Values, 94 rtradvd.