Managing Datalinks Related to Zones
The dladm command supports a property called zone that enables you to display information about datalinks that are zone-related:
               
global$ dladm show-linkprop -p zone
LINK         PROPERTY   PERM  VALUE   EFFECTIVE  DEFAULT  POSSIBLE
...
vnic0        zone       rw    zone0   --         --       --
zone0/vnic0  zone       rw    zone0   --         --       --
...You can temporarily assign a specific zone to a link with the following command:
global$ dladm set-linkprop -t -p zone=zone0 vnic1 global$ dladm show-link -z zone0 LINK CLASS MTU STATE OVER zone0/vnic0 vnic 9600 up stub0 zone0/vnic1 vnic 9600 up stub0 ...
To remove the temporary setting, reboot the zone.
Tip:
If the running zone is using the device, the reassignment fails and an error message is displayed. See Exclusive-IP Zone Is Using Device, so dladm reset-linkprop Fails.Tip:
If the running zone is using the device, the reassignment fails and an error message is displayed. See Exclusive-IP Zone Is Using Device, so dladm reset-linkprop Fails.