Go to main content

Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: April 2019

How to Temporarily Add an anet Resource to the Running Zone

  1. Become a zone administrator.

    For more information, see Assigning Limited Rights to Zone Administrators.

  2. Make the addition and apply the changes.
    $ zonecfg -z zone1 -r "add anet;set linkname=anet1;set lower-link=net1;end;commit"
               zone1: Checking: add anet linkname=anet1
               zone1: Applying changes

    The commit subcommand in the example is not required. The zonecfg command commits the changes when the command exits.