Go to main content

Managing Network Datalinks in Oracle® Solaris 11.3

Exit Print View

Updated: December 2017
 
 

How to Create a PVLAN When You Configure a Zone

  1. Become an administrator.

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

  2. Configure the zone by assigning a PVLAN.
    global# zonecfg -z zone-name 
    zonecfg:zone-name> add anet
    zonecfg:zone-name:anet> set vlan-id=VID[,PVLAN-SVID[,PVLAN-type]] 
    zonecfg:zone-name:anet> end
    zonecfg:zone-name> verify
    zonecfg:zone-name> commit
    zonecfg:zone-name> exit
    global# zoneadm -z zone-name reboot
Example 26  Creating a PVLAN When You Configure a Zone

This example shows how to assign a PVLAN to a zone. In this example, the zone is assumed to have been created.

global# zonecfg -z zone2
zonecfg:zone2> add anet
zonecfg:zone2:anet> set vlan-id=100,200,community
zonecfg:zone2:anet> end
zonecfg:zone2> verify
zonecfg:zone2> commit
zonecfg:zone2> exit
global# zoneadm -z zone2 reboot

PVLAN is assigned as the underlying link for the zone's anet.