Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: May 2015

How to Use dladm reset-linkprop

The dladm command can be used with the reset-linkprop subcommand to reset the net0 link value to unassigned.

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .

  2. Use dladm reset-linkprop with the –t option to undo the zone assignment of the net0 device.
    global# dladm reset-linkprop -t -p zone net0
    LINK     PROPERTY        PERM   VALUE        DEFAULT        POSSIBLE
    net0     zone            rw     zoneA        --             --

    Tip  -  The –p option produces a display using a stable machine-parseable format.


If the running zone is using the device, the reassignment fails and an error message is displayed. See Exclusive-IP Zone Is Using Device, so dladm reset-linkprop Fails.