Go to main content

Working With DHCP in Oracle® Solaris 11.3

Exit Print View

Updated: October 2017

How to Stop the DHCPv6 Service

Although the default is to run DHCPv6, after DHCPv6 starts running you can stop it with the ipadm delete-addr command. You can also disable DHCPv6 so that it does not start on reboot by modifying the /etc/inet/ndpd.conf file.

  1. Assume the root role.

    Roles contain authorizations and privileged commands. For more information about roles, see Creating a Role in Securing Users and Processes in Oracle Solaris 11.3.

  2. Temporarily kill the DHCPv6 service.
    # ipadm delete-addr -r dhcp-addrobj
  3. Prevent the DHCPv6 service from restarting if the system is rebooted.

    First, change the /etc/inet/ndpd.conf file to prevent DHCPv6 from starting on reboot. Then stop the service that is currently running.

    # echo ifdefault StatefulAddrConf false >> /etc/inet/ndpd.conf  
    # pkill -HUP -x in.ndpd