JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
System Administration Guide: IP Services     Oracle Solaris 10 8/11 Information Library
search filter icon
search icon

Document Information

Preface

Part I Introducing System Administration: IP Services

1.  Oracle Solaris TCP/IP Protocol Suite (Overview)

Part II TCP/IP Administration

2.  Planning Your TCP/IP Network (Tasks)

3.  Introducing IPv6 (Overview)

4.  Planning an IPv6 Network (Tasks)

5.  Configuring TCP/IP Network Services and IPv4 Addressing (Tasks)

6.  Administering Network Interfaces (Tasks)

7.  Configuring an IPv6 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 III DHCP

12.  About DHCP (Overview)

13.  Planning for DHCP Service (Tasks)

14.  Configuring the DHCP Service (Tasks)

15.  Administering DHCP (Tasks)

16.  Configuring and Administering the DHCP Client

17.  Troubleshooting DHCP (Reference)

18.  DHCP Commands and Files (Reference)

Part IV 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.  IP Filter in Oracle Solaris (Overview)

26.  IP Filter (Tasks)

Part V Mobile IP

27.  Mobile IP (Overview)

28.  Administering Mobile IP (Tasks)

Creating the Mobile IP Configuration File (Task Map)

Creating the Mobile IP Configuration File

How to Plan for Mobile IP

How to Create the Mobile IP Configuration File

How to Configure the General Section

How to Configure the Advertisements Section

How to Configure the GlobalSecurityParameters Section

How to Configure the Pool Section

How to Configure the SPI Section

How to Configure the Address Section

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 VI IPMP

30.  Introducing IPMP (Overview)

31.  Administering IPMP (Tasks)

Part VII 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

Modifying the Mobile IP Configuration File

This section shows you how to modify the Mobile IP configuration file by using the mipagentconfig command. This section also shows you how to display the current settings of parameter destinations.

Configuring the Mobility IP Agent provides a conceptual description of the mipagentconfig command's usage. You can also review the mipagentconfig(1M) man page.

How to Modify the General Section

  1. 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.

  2. On a command line, type the following command for each label that you want to modify in the General section.
    # mipagentconfig change <label> <value>

Example 28-1 Modifying a Parameter in the General Section

The following example shows how you might change the version number in the configuration file's General section.

# mipagentconfig change version 2

How to Modify the Advertisements Section

  1. 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.

  2. Type the following command for each label that you want to modify in the Advertisements section:
    # mipagentconfig change adv device-name <label> <value>

    For example, if you are changing the agent's advertised lifetime to 300 seconds for device hme0, use the following command.

    # mipagentconfig change adv hme0 AdvLifetime 300

Example 28-2 Modifying the Advertisements Section

The following example shows how you might change other parameters in the configuration file's Advertisements section.

# mipagentconfig change adv hme0 HomeAgent yes
# mipagentconfig change adv hme0 ForeignAgent no
# mipagentconfig change adv hme0 PrefixFlags no
# mipagentconfig change adv hme0 RegLifetime 300
# mipagentconfig change adv hme0 AdvFrequency 4
# mipagentconfig change adv hme0 ReverseTunnel yes

How to Modify the GlobalSecurityParameters Section

  1. 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.

  2. Type the following command for each label that you want to modify in the GlobalSecurityParameters section:
    # mipagentconfig change <label> <value>

    For example, if you are enabling home agent and foreign agent authentication, use the following command:

    # mipagentconfig change HA-FAauth yes

Example 28-3 Modifying the Global Security Parameters Section

The following example shows how you might change other parameters in the configuration file's GlobalSecurityParameters section.

# mipagentconfig change MaxClockSkew 200
# mipagentconfig change MN-FAauth yes
# mipagentconfig change Challenge yes
# mipagentconfig change KeyDistribution files

How to Modify the Pool Section

  1. 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.

  2. Type the following command for each label that you want to modify in the Pool section:
    # mipagentconfig change Pool pool-identifier <label> <value>

Example 28-4 Modifying the Pool Section

The following example shows the commands to use for changing the base address to 192.168.1.1 and the size of Pool 10 to 100.

# mipagentconfig change Pool 10 BaseAddress 192.168.1.1
# mipagentconfig change Pool 10 Size 100

How to Modify the SPI Section

  1. 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.

  2. Type the following command for each label that you want to modify in the SPI section:
    # mipagentconfig change SPI SPI-identifier <label> <value>

    For example, if you are changing the key for SPI 257 to 5af2aee39ff0b332, use the following command.

    # mipagentconfig change SPI 257 Key 5af2aee39ff0b332

Example 28-5 Modifying the SPI Section

The following example shows how to change the ReplayMethod label in the configuration file's SPI section.

# mipagentconfig change SPI 257 ReplayMethod timestamps

How to Modify the Address Section

  1. 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.

  2. Type the following command for each label that you want to modify in the Address section:
    # mipagentconfig change addr [NAI | IPaddr | node-default] <label> <value>

    See Address Section for a description of the three configuration methods (NAI, IP address, and node-default).

    For example, if you are changing the SPI of IP address 10.1.1.1 to 258, use the following command:

    # mipagentconfig change addr 10.1.1.1 SPI 258

Example 28-6 Modifying the Address Section

The following example shows how you can change other parameters that are provided in the sample configuration file's Address section.

# mipagentconfig change addr 10.1.1.1 Type agent
# mipagentconfig change addr 10.1.1.1 SPI 259
# mipagentconfig change addr mobilenode@abc.com Type node
# mipagentconfig change addr mobilenode@abc.com SPI 258
# mipagentconfig change addr mobilenode@abc.com Pool 2
# mipagentconfig change addr node-default SPI 259
# mipagentconfig change addr node-default Pool 3
# mipagentconfig change addr 10.68.30.36 Type agent
# mipagentconfig change addr 10.68.30.36 SPI 260

How to Add or Delete Configuration File Parameters

  1. 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.

  2. Type the appropriate command for each label that you want to add or delete for the designated section:
    • For the General section use the following:

      # mipagentconfig [add | delete] <label> <value>
    • For the Advertisements section use the following:

      # mipagentconfig [add | delete] adv device-name <label> <value>

      Note - You can add an interface by typing the following:

      # mipagentconfig add adv device-name

      In this instance, default values are assigned to the interface (for both the foreign agent and the home agent).


    • For the GlobalSecurityParameters, section use the following:

      # mipagentconfig [add | delete] <label> <value>
    • For the Pool section, use the following:

      # mipagentconfig [add | delete] Pool pool-identifier <label> <value>
    • For the SPI section, use the following:

      # mipagentconfig [add | delete] SPI SPI-identifier <label> <value>
    • For the Address section, use the following:

      # mipagentconfig [add | delete] addr [NAI | IP-address | node-default] \
      <label> <value>

    Note - Do not create identical Advertisements, Pool, SPI, and Address sections.


Example 28-7 Modifying File Parameters

For example, to create a new address pool, Pool 11, that has a base address of 192.167.1.1 and a size of 100, use the following commands.

# mipagentconfig add Pool 11 BaseAddress 192.167.1.1 
# mipagentconfig add Pool 11 size 100

Example 28-8 Deleting SPI

The following example shows how to delete the SPI security parameter SPI 257.

# mipagentconfig delete SPI 257

How to Display Current Parameter Values in the Configuration File

You can use the mipagentconfig get command to display current settings that are associated with parameter destinations.

  1. Assume the Primary Administrator role, or become superuser, on the system where you are enabling 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.

  2. Type the following command for each parameter for which you want to display settings:
    # mipagentconfig get [<parameter> | <label>] 

    For example, if you are displaying the advertisement settings for the hme0 device, use the following command:

    # mipagentconfig get adv hme0

    As a result, the following output might be displayed:

    [Advertisements hme0]
       HomeAgent = yes
       ForeignAgent = yes

Example 28-9 Using the mipagentconfig get Command to Display Parameter Values

The following example shows the results of using the mipagentconfig get command with other parameter destinations.

# mipagentconfig get MaxClockSkew
      [GlobalSecurityParameters]
         MaxClockSkew=300

# mipagentconfig get HA-FAauth
      [GlobalSecurityParameters]
         HA-FAauth=no

# mipagentconfig get MN-FAauth
      [GlobalSecurityParameters]
         MN-FAauth=no

# mipagentconfig get Challenge
      [GlobalSecurityParameters]
         Challenge=no

# mipagentconfig get Pool 10
      [Pool 10]
         BaseAddress=192.168.1.1
         Size=100

# mipagentconfig get SPI 257
      [SPI 257]
         Key=11111111111111111111111111111111
         ReplayMethod=none

# mipagentconfig get SPI 258
      [SPI 258]
         Key=15111111111111111111111111111111
         ReplayMethod=none

# mipagentconfig get addr 10.1.1.1
      [Address 10.1.1.1]
         SPI=258
         Type=agent

# mipagentconfig get addr 192.168.1.200
      [Address 192.168.1.200]
         SPI=257
         Type=node