This procedure shows how to add two automatically generated MAC addresses to a kernel zone.
For more information, see Assigning Rights to Non-Root Users to Manage Zones in Creating and Using Oracle Solaris Zones.
global$ zonecfg -z kz0 zonecfg:kz0> add anet zonecfg:kz0:anet> add mac zonecfg:kz0:anet:mac> end zonecfg:kz0:anet> add mac zonecfg:kz0:anet:mac> end zonecfg:kz0:anet> end zonecfg:kz0> exit global#
global$ zoneadm -z kz0 apply zone 'kz0': Checking: Adding anet id=1 zone 'kz0': Applying the changes
global$ zlogin kz0 kz0# dladm show-phys -m net1 LINK SLOT ADDRESS INUSE CLIENT net1 primary 2:8:20:42:cf:83 yes net1 1 2:8:20:f4:e1:b1 no -- 2 2:8:20:38:67:f3 no --