Movatterモバイル変換


[0]ホーム

URL:


Go to main content
oracle home

Managing Network Virtualization and Network Resources in Oracle® Solaris 11.4

Exit Print View

 
Search Scope:
  »  ...Documentation Home  »  Oracle Solaris 11.4 Information Library  »  Managing Network Virtualization and Network ...  »  Creating and Managing Virtual Networks  »  Building Virtual Networks  »  Creating VNICs Directly for Zones
Updated: November 2020
 
 

Creating VNICs Directly for Zones

VNICs can be created directly in a non-global zone from a global zone by specifying the link aszone/link. This method creates the VNIC directly in the namespace of the non-global zone. Make sure that the non-global zone exists and is running. Then use the following command syntax:

global$dladm create-vnic -llinkzone/vnic

To create a temporary VNIC, use the–t option. The VNIC will persist until the next reboot of the zone.

You can view VNIC information in two ways. From the global zone, you would usedladm show-link–Z. From within the non-global zone, you use the same command without the–Z option.

In addition to temporarily creating VNICs, you can also temporarily create VLANs and IP over InfiniBand (IPoIB) partitions. See thedladm(8) man page for complete instructions.

In the following example,vnic1 is created forzone1 from the global zone.

global$dladm create-vnic -l net0 zone1/vnic1global$dladm show-link -ZLINK                ZONE      CLASS     MTU    STATE    OVERnet0                global    phys      1500   up        --zone1/vnic1         zone1     vnic      1500   down     net0

Fromzone1, you would display the link information as follows:

zone1$dladm show-linkLINK                CLASS     MTU    STATE    OVERvnic1               vnic      1500   down     ?

In the following example, a temporary VNIC as a VLAN is created forzone3 from the global zone.

global$dladm create-vlan -t -l net0 -v 3 zone1/vlan3

In he following example, an IPoIB partitionpart1 with a temporary VNIC is created inzone1 from the global zone.

global$dladm create-part -t -l net1 -P FFFF zone1/part1

The–P option specifies the partition key that is used for creating a partition link.

Copyright © 2011, 2020, Oracle and/or its affiliates. 
Previous
Next

[8]ページ先頭

©2009-2026 Movatter.jp