nerdexam
Oracle

1Z0-821 · Question #191

You have been asked to troubleshoot the initial configuration of a virtual network connecting two local zones with the outside world. View the exhibit. The command dladm create-vnic -1…

The correct answer is E. The virtual switch must be created first with. There is no data-link named vswitch192.168. We need to create an etherstub first. See Note and example below for details. Note: Create a VNIC in the system's global zone. # dladm create-vnic -l data-link vnic-name data-link is the name of the interface where the VNIC is to be…

Configuring and Administering Networks

Question

You have been asked to troubleshoot the initial configuration of a virtual network connecting two local zones with the outside world. View the exhibit. The command dladm create-vnic -1 vswitch192.168.1 vnic1 fails with the error dladm: invalid link name `vswitch192.168.1' What is the reason for this error?

Exhibit

1Z0-821 question #191 exhibit

Options

  • AThe name vswitch192.168.1 is not legal.
  • BThe zone must be specified with
  • CThe virtual interface must be specified with
  • DThe virtual interface must be created with
  • EThe virtual switch must be created first with

How the community answered

(29 responses)
  • A
    3% (1)
  • B
    10% (3)
  • C
    3% (1)
  • E
    83% (24)

Explanation

There is no data-link named vswitch192.168. We need to create an etherstub first. See Note and example below for details. Note: Create a VNIC in the system's global zone. # dladm create-vnic -l data-link vnic-name data-link is the name of the interface where the VNIC is to be configured. -l link, --link=link link can be a physical link or an etherstub. vnic-name is the name that you want to give the VNIC. For example, to create a VNIC named vnic0 on interface e1000g0, you would type the following: # dladm create-vnic -l e1000g0 vnic0 Example: Creating a Virtual Network Without a Physical NIC First, create an etherstub with name stub1: # dladm create-etherstub stub1 Create two VNICs with names hello0 and test1 on the etherstub. This operation implicitly creates a virtual switch connecting hello0 and test1. # dladm create-vnic -l stub1 hello0 # dladm create-vnic -l stub1 test1

Topics

#dladm#VNIC#etherstub#virtual switch creation

Community Discussion

No community discussion yet for this question.

Full 1Z0-821 Practice