You are tasked to reconfigure zone1 to use virtual interface vnic1 as its network interface. Which
two steps must be included?
A.
Disable IP Filter and IPsec.
B.
Configure the NWAM NCP to Automatic.
C.
Change the shared IP zone to an exclusive IP zone.
D.
Reboot zone1 so that changes made with zonecfg take effect.
E.
From the global zone, set the IP address of vnic1 and configure the default route.
Explanation:
* How to Reconfigure a Zone to Use a VNIC
1. Become an administrator.
2. Create the VNIC.
(C) 3. Change the zone’s IP type from shared to exclusive.
4.Change the zone’s interface to use a VNIC.
5. Verify and commit the changes you have implemented and then exit the zone.
(D) 6. Reboot the zone.
7. Log in to the zone.8. Configure the VNIC with a valid IP address.
* Example. Reconfiguring a Zone Configuration to Use a VNIC
In this example, zone2 already exists as a shared zone. The zone also uses the primary interface
of the system rather than a virtual link. You need to modify zone2 to use vnic2. To use vnic2,
zone2’s IP type must first be changed to exclusive. Note that some of the output is truncated to
focus on the relevant information that relates to virtual networks.
global# dladm create-vnic -l net0 vnic2
global# zonecfg -z zone2
(C) zonecfg:zone1> set ip-type=exclusive
zonecfg:zone1> remove net physical=net0
zonecfg:zone1> add net
zonecfg:zone1:net> set physical=vnic2
zonecfg:zone1:net> end
zonecfg:zone1> verify
zonecfg:zone1> commit
zonecfg:zone1> exit
(D) global# zoneadm -z zone2 reboot
global# zlogin zone2
zone2# ipadm create-ip vnic2
zone2# ipadm create-addr -a 192.168.3.85/24 vnic2
ipadm: vnic2/v4
zone2# exit
global# vi /etc/hosts
#
1 localhost
127.0.0.1 localhost
192.168.3.70 loghost #For net0
192.168.3.80 zone1 #using vnic1
192.168.3.85 zone2 #using vnic2
B,E
C and D