Before You Begin
You must have completed the following tasks:
Created a processor set with its assigned number of CPUs
Created a pool with which the processor set will be associated
Associated the pool with the processor set
Ensure that your role has the appropriate rights profile to perform this procedure. See Using Rights Profiles to Perform Network Configuration.
global$ zonecfg -z zone zonecfg:zone> add net zonecfg:zone:net> set physical=VNIC zonecfg:zone:net> end
zonecfg:zone> verify zonecfg:zone> commit zonecfg:zone> exit
This example is based on the configuration in pool Property of a VNIC Assigned to a Zone where pool99 has already been configured for the zone. The pool is then assigned to a VNIC. Finally, the non-global zone zone1 is set to use the VNIC as the network interface.
$ dladm create-vnic -l net1 -p pool=pool99 vnic1 $ zonecfg -z zone1 zonecfg:zone1> add net zonecfg:zone1:net> set physical=vnic1 zonecfg:zone1:net> end zonecfg:zone1> verify zonecfg:zone1> commit zonecfg:zone1> exit