How to find the parent global zone
Wednesday Feb 04, 2009
A few nights ago I encountered a problem which required me to find the host name of my parent zone. Solaris Zones (a.k.a. Solaris Containers) intentionally isolate zones from each other and from the root hardware which hosts the zone. But if the zones and the host are on the same network, there is a way. All zones which are hosted by a particular global zone will typically share the physical hardware address as the global zone. So:
ping the broadcast address of your local network.
arp -a | grep {the hostname of your zone}
Now arp -a | grep {the physical address you found}
This gives the list of the global zone and all of the hosted zones with the same physical network address.











This only works if you have a shared nic. Using ex...
Thanks for the comment,
Yes it only works in som...
I like this method, of course the global zone admi...
I hope your method becomes a standard setup proced...