Consider the following commands and output on the local server:
Also, consider the following route table entry on a remote system:
192.168.2.0 192.168.1.200 UG 1 1
You must configure a virtual switch to connect over net0 to the remote system. Select two
commands that complete the configuration.
A.
ipadm set-ifprop –p forwarding=on net0
B.
ipadn set-prop –p forwarding=on vnic2
C.
ipacim set-prop –p forwarding=on ipv4
D.
ipadm set-prop –p routing=on net0
E.
routeadm –ue ipv4-forwarding
F.
routeadm –ue ipv4-routing
Explanation:
However, you will not be able to ping vphys1 or vphys2, because both were created
via the
allowed-address property. So packets won’t be forwarded across. In this case, since we did
not want the database zones to have access to the external network, and vice versa, we are
getting the desired result.
To turn on IP forwarding in the zrouter zone, do the following:
root@zrouter: ipadm set-prop -p forwarding=on ipv4
After setting this, check the addresses assigned for both interfaces:
URL: http://www.oracle.com/technetwork/articles/servers-storage-admin/o11-118-s11-scriptzones-524499.html
I think the answer is A and F
C F
the right command is ipadm set-ifprop forewarding=on -m ipv4 net0