Administering TCP/IP Networks, IPMP, and IP Tunnels in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014
 
 

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

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

  1. Become an administrator.
  2. Copy the contents of the /etc/inet/ipaddrsel file to filename, where filename represents any name that you choose.
    # cp /etc/inet/ipaddrsel filename
  3. Use the pfedit command to 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.