Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: May 2015
 
 

How to Temporarily Add an anet Resource to the Running Zone

  1. Become an administrator.

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

  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.