Go to main content

Managing Network Virtualization and Network Resources in Oracle® Solaris 11.4

Exit Print View

Updated: November 2020
 
 

How to Configure a CPU Pool for a Datalink

Before You Begin

You must have completed the following tasks:

Ensure that your role has the appropriate rights profile to perform this procedure. See Using Rights Profiles to Perform Network Configuration.

  1. Set the link's pool property to the pool of CPUs that you created for the zone.
    • If the VNIC has not yet been created, use the following syntax:
      $ dladm create-vnic -l link -p pool=pool VNIC
    • If the VNIC exists, use the following syntax:
      $ dladm set-linkprop -p pool=pool VNIC
  2. Set the zone to use the VNIC.
    global$ zonecfg -z zone
    zonecfg:zone> add net
    zonecfg:zone:net> set physical=VNIC
    zonecfg:zone:net> end
    
  3. Verify and commit the changes you have implemented and then exit the zone.
    zonecfg:zone> verify
    zonecfg:zone> commit
    zonecfg:zone> exit
Example 77  Assigning a Link's CPU Pool to a Zone

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