Administering Mobile IP (Tasks)
This chapter provides procedures for modifying, adding, deleting, and displaying parameters in the Mobile IP configuration file. This chapter also shows you how to display mobility agent status.
This chapter contains the following information:
For an introduction to Mobile IP, refer to Chapter 27, Mobile IP (Overview). For detailed information about Mobile IP, refer to Chapter 29, Mobile IP Files and Commands (Reference).
Creating the Mobile IP Configuration File (Task Map)
Task | Description | For Instructions |
---|---|---|
Create the Mobile IP configuration file. | Involves creating the /etc/inet/mipagent.conf file or copying one of the sample files. | |
Configure the General section. | Involves typing the version number into the General section of the Mobile IP configuration file. | |
Configure the Advertisements section. | Involves adding labels and values, or changing them, in the Advertisements section of the Mobile IP configuration file. | |
Configure the GlobalSecurityParameters section. | Involves adding labels and values, or changing them, in the GlobalSecurityParameters section of the Mobile IP configuration file. | |
Configure the Pool section. | Involves adding labels and values, or changing them, in the Pool section of the Mobile IP configuration file. | |
Configure the SPI section. | Involves adding labels and values, or changing them, in the SPI section of the Mobile IP configuration file. | |
Configure the Address section. | Involves adding labels and values, or changing them, in the Address section of the Mobile IP configuration file. |
Creating the Mobile IP Configuration File
This section explains how to plan for Mobile IP and create the /etc/inet/mipagent.conffile.
How to Plan for Mobile IP
When you configure the mipagent.conf file for the first time, you need to perform the following tasks:
Depending on your organization's requirements for its hosts, determine what functionality your Mobile IP agent can provide:
Create the /etc/inet/mipagent.conf file and specify the settings you require by using the procedures that are described in this section. You can also copy one of the following files to /etc/inet/mipagent.conf and modify it according to your requirements:
For foreign agent functionality, copy /etc/inet/mipagent.conf.fa-sample.
For home agent functionality, copy /etc/inet/mipagent.conf.ha-sample.
For both foreign agent and home agent functionality, copy /etc/inet/mipagent.conf-sample.
You can reboot your system to invoke the boot script that starts the mipagent daemon. Or, you can also start mipagent by typing the following command:
# /etc/inet.d/mipagent start
How to Create the Mobile IP Configuration File
Assume the Primary Administrator role, or become superuser, on the system where you want to enable Mobile IP.
The Primary Administrator role includes the Primary Administrator profile. To create the role and assign the role to a user, see Chapter 2, "Working With the Solaris Management Console (Tasks)," in System Administration Guide: Basic Administration.
Create the /etc/inet/mipagent.conf file by using one of the following options:
In the /etc/inet directory, create an empty file named mipagent.conf.
From the following list, copy the sample file that provides the functionality you want for the /etc/inet/mipagent.conf file.
/etc/inet/mipagent.conf.fa-sample
/etc/inet/mipagent.conf.ha-sample
/etc/inet/mipagent.conf-sample
Add or change configuration parameters in the /etc/inet/mipagent.conf file to conform to your configuration requirements.
The remaining procedures in this section describe the steps to modify sections in /etc/inet/mipagent.conf.
How to Configure the General Section
If you copied one of the sample files in the /etc/inet directory, you can omit this procedure because the sample file contains this entry. General Section provides descriptions of the labels and values that are used in this section.