Document Information
Preface
Part I TCP/IP Administration
1. Solaris TCPIP Protocol Suite (Overview)
2. Planning an IPv4 Addressing Scheme (Tasks
3. Planning an IPv6 Addressing Scheme (Overview)
4. Planning an IPv6 Network (Tasks)
5. Configuring TCP/IP Network Services and IPv4 Addressing (Tasks)
6. Administering Network Interfaces (Tasks)
7. Enabling IPv6 on a Network (Tasks)
8. Administering a TCP/IP Network (Tasks)
9. Troubleshooting Network Problems (Tasks)
10. TCP/IP and IPv4 in Depth (Reference)
11. IPv6 in Depth (Reference)
Part II DHCP
12. About Solaris DHCP (Overview)
13. Planning for DHCP Service (Tasks)
14. Configuring the DHCP Service (Tasks)
15. Administering DHCP (Tasks)
16. Configuring and Administering DHCP Clients
17. Troubleshooting DHCP (Reference)
18. DHCP Commands and Files (Reference)
Part III IP Security
19. IP Security Architecture (Overview)
20. Configuring IPsec (Tasks)
21. IP Security Architecture (Reference)
22. Internet Key Exchange (Overview)
23. Configuring IKE (Tasks)
24. Internet Key Exchange (Reference)
25. Solaris IP Filter (Overview)
26. Solaris IP Filter (Tasks)
Part IV Mobile IP
27. Mobile IP (Overview)
28. Administering Mobile IP (Tasks)
Creating the Mobile IP Configuration File (Task Map)
Modifying the Mobile IP Configuration File (Task Map)
Modifying the Mobile IP Configuration File
How to Modify the General Section
How to Modify the Advertisements Section
How to Modify the GlobalSecurityParameters Section
How to Modify the Pool Section
How to Modify the SPI Section
How to Modify the Address Section
How to Add or Delete Configuration File Parameters
How to Display Current Parameter Values in the Configuration File
Displaying Mobility Agent Status
How to Display Mobility Agent Status
Displaying Mobility Routes on a Foreign Agent
How to Display Mobility Routes on a Foreign Agent
29. Mobile IP Files and Commands (Reference)
Part V IPMP
30. Introducing IPMP (Overview)
31. Administering IPMP (Tasks)
Part VI IP Quality of Service (IPQoS)
32. Introducing IPQoS (Overview)
33. Planning for an IPQoS-Enabled Network (Tasks)
34. Creating the IPQoS Configuration File (Tasks)
35. Starting and Maintaining IPQoS (Tasks)
36. Using Flow Accounting and Statistics Gathering (Tasks)
37. IPQoS in Detail (Reference)
Glossary
Index
|
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 IPWhen 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:
Foreign agent functionality only
Home agent functionality only
Both foreign agent and home agent functionality
- 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 SectionIf 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.
How to Configure the Advertisements SectionAdvertisements Section provides descriptions of the labels and values that are used in this
section.
- Edit the /etc/inet/mipagent.conf file and add or change the following lines by
using the values that are required for your configuration.
[Advertisements interface]
HomeAgent = <yes/no>
ForeignAgent = <yes/no>
PrefixFlags = <yes/no>
AdvertiseOnBcast = <yes/no>
RegLifetime = n
AdvLifetime = n
AdvFrequency = n
ReverseTunnel = <yes/no/FA/HA/both>
ReverseTunnelRequired = <yes/no/FA/HA>
Note - You must include a different Advertisements section for each interface on the local host
that provides Mobile IP services.
How to Configure the GlobalSecurityParameters SectionGlobalSecurityParameters Section provides descriptions of the labels and values that are used in
this section.
How to Configure the Pool SectionPool Section provides descriptions of the labels and values that are used in this
section:
- Edit the /etc/inet/mipagent.conf file
- Add or change the following lines by using the values that are
required for your configuration:
[Pool pool-identifier]
BaseAddress = IP-address
Size = size
How to Configure the SPI SectionSPI Section provides descriptions of the labels and values that are used in this
section.
- Edit the /etc/inet/mipagent.conf file.
- Add or change the following lines by using the values that are
required for your configuration:
[SPI SPI-identifier]
ReplayMethod = <none/timestamps>
Key = key
Note - You must include a different SPI section for each security context that is
deployed.
How to Configure the Address SectionAddress Section provides descriptions of the labels and values that are used in this
section.
- Edit the /etc/inet/mipagent.conf file.
- Add or change the following lines by using the values that are
required for your configuration:
For a mobile node, use the following: [Address address]
Type = node
SPI = SPI-identifier
For an agent, use the following: [Address address]
Type = agent
SPI = SPI-identifier
IPsecRequest = action {properties} [: action {properties}]
IPsecReply = action {properties} [: action {properties}]
IPsecTunnel = action {properties} [: action {properties}] where action and {properties} are any action and associated properties that are defined in the ipsec(7P) man page.
Note - The SPI that is configured previously corresponds to the MD5 protection mechanism that is required by RFC 2002. The SPI that is configured previously does not correspond to the SPI that is used by IPsec. For more information about IPsec, see Chapter 19, IP Security Architecture (Overview) and Chapter 20, Configuring IPsec (Tasks). Also see the ipsec(7P) man page.
For a mobile node that is identified by its NAI, use the following: [Address NAI]
Type = Node
SPI = SPI-identifier
Pool = pool-identifier
For a default mobile node, use the following: [Address Node-Default]
Type = Node
SPI = SPI-identifier
Pool = pool-identifier
|