What is the output?

You enter dladm show-phys, which provides the following output:

You then enter:
ipadm create-ip net3
What is the output?

You enter dladm show-phys, which provides the following output:

You then enter:
ipadm create-ip net3
What is the output?

A.
ipadm: cannot; create interface net3: Operation failed.

B.
ipadm: cannot create interface net3: Interface already exists.

C.
ipadm: cannot create interface net3: IP address object not specified.

D.
No_response, The command was successful.

Explanation:
According to the exhibit the interface already exists.
The command ipadm create-ip net3 is supposed to create a new interface net3.



Leave a Reply 7

Your email address will not be published. Required fields are marked *

eight − 4 =


Mir

Mir

B is correct..

andy

andy

B.

root@sol11:~# dladm show-phys
LINK MEDIA STATE SPEED DUPLEX DEVICE
net0 Ethernet up 1000 full e1000g0
root@sol11:~# ipadm create-ip net0
ipadm: cannot create interface net0: Interface already exists
root@sol11:~#

Yoboo

Yoboo

D

http://docs.oracle.com/cd/E23824_01/html/821-1458/gjwiq.html
“Expamle 9-2 Automatically Configuring a Network Interface With an IP Address:”

# dladm show-phys
LINK MEDIA STATE SPEED DUPLEX DEVICE
net3 Ethernet up 100Mb full bge3

# dladm show-link
LINK CLASS MTU STATE BRIDGE OVER
net3 phys 1500 up — —

# ipadm create-ip net3

# ipadm create-addr -T dhcp net3/dhcp

# ipadm show-if
IFNAME CLASS STATE ACTIVE OVER
lo0 loopback ok yes —
net3 ip ok yes —

Yoboo

Yoboo

rolling back…
hrm….
andy is right..
testet on a connected vm: “interface already exists”….

ben

ben

according to column STATE for dladm show-phys:
—-> UP:link exist——————–>B
—-> unknown:link not yet exist——->D

so here the correct answer is B