HP-UX Mobile IPv4 A.03.01 Administrator's Guide

%QPHKIWTKPICPF#FOKPKUVGTKPI*QOGCPF(QTGKIP#IGPVU
%QPHKIWTKPIC%QODKPGF*QOGCPF(QTGKIP#IGPV
Chapter 6
65
Configuring a Combined Home and Foreign Agent
A combined Home and Foreign Agent is a node that provides both Home Agent and
Foreign Agent services.
NOTE A combined Home and Foreign Agent cannot service AAA Mobile Nodes.
If the node will support Route Optimization, you must also configure information about
Correspondent Nodes.
Step 1. Start mipconfig to create a configuration file for mipd, the HP-UX Mobile IPv4 daemon
for Home Agents and Foreign Agents. Refer to “Step 1: Start mipconfig” on page 52 for
more information.
Step 2. Configure Home and Foreign Agent services on one or more interfaces. There are two
ways to configure a combined Home and Foreign Agent:
Configure one or more interfaces that simultaneously support both Home and
Foreign Agent services. To do this, use the mipconfig configure interface
command, and specify combined Home and Foreign Agent services (-s HAFA). For
example:
configure interface lan0 -s HAFA
You can also specify combined Home and Foreign Agent services for the configure
interface command using the following keywords: HA-FA, FAHA and FA-HA.
Configure one or more interfaces that support Home Agent services and other
interfaces that support Foreign Agent services. To do this, use the mipconfig
configure interface command. Specify -s HA for the Home Agent interfaces and
specify -s FA for the Foreign Agent interfaces. For example:
configure interface lan0 -s HA
configure interface lan1 -s FA
Step 3. If you want to use route optimization, configure security information about the
correspondent nodes using the mipconfig configure node command. Refer to “Step 4:
Configure Security Information about Non-AAA Mobile Nodes and Route Optimization
(configure node)” on page 55 for more information.
Step 4. (Optional) Configure additional or alternative Care-of Addresses (COAs) to advertise to
Mobile Nodes using the mipconfig configure coa command. By default, mipconfig will
configure the IP address of the interfaces you configure for Foreign Agent services as
Care-of Addresses. Refer to “Step 4: (Optional) Configure Care of Addresses (configure
coa)” on page 62 for more information.
Step 5. (Optional) Configure router addresses to send in Agent Advertisements using the
mipconfig configure router command. Refer to “Step 5: (Optional) Configure Router
Addresses (configure router)” on page 63 for more information.
Step 6. Write the configuration data to a file using the mipconfig write command. Exit
mipconfig using the mipconfig exit command.