Go to main content

Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: April 2019
 
 

How to Use the dladm reset-linkprop Command

The dladm reset-linkprop command resets the net0 link value to unassigned.

  1. Become a network administrator.

    You must be assigned the Network Management rights profile. The root role has all of these rights.

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

  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-parsable format.

Troubleshooting

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.