System Administration Guide: IP Services

ProcedureHow to Modify the IPv6 Address Selection Table for the Current Session Only

When you edit the /etc/inet/ipaddrsel.conf, file, any modifications that you make persist across reboots. If you want the modified policy table to exist only in the current session, follow this procedure.

  1. Assume the Primary Administrator role, or become superuser.

    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. Copy the contents of /etc/inet/ipaddrsel into filename, where filename represents a name of your choice.


    # cp /etc/inet/ipaddrsel filename
    
  3. Edit the policy table in filename to your specifications.

  4. Load the modified policy table into the kernel.


    # ipaddrsel -f filename
    

    The kernel uses the new policy table until you reboot the system.