Discover Global Zone Name from Local Zone
Tags:
from the local zone, run: arp -a | grep SP example: # arp -a | grep SP bge1 zone1.domain.com 255.255.255.255 SP 00:03:ba:51:37:8e bge0 host1.domain.com 255.255.255.255 SP 00:03:ba:51:37:8d bge1 zone2.domain.com 255.255.255.255 SP 00:03:ba:51:37:8e bge2 zone3.domain.com 255.255.255.255 SP 00:03:ba:51:37:8f
»
- Add new comment
- 2331 reads

good tip, tks!!!
http://www.sun.com/software/solaris/howtoguides/containersLowRes.jsp
how do i get to know the global zone name/ip from some other box/zone?
All i know is child zone's name/ip and i want to its global zone name/ip
Sachin
the 'arp -a | grep SP' will show you static, published routes. For this information to be useful to you, you need to decipher it based on your naming standards (perhaps you name zones with a 'z' on the end, or '-zone' and global zones with a 'g' on the end or something to that effect). In the above example, the names are zone1, zone2, etc, and I know that in this environment, global zones are named host[1-9], so I am able to find the global name. Perhaps you know that the standard in your environment is to give the global zone the primary (0) interface, and the local zones are using other interfaces, so hme0 would be the global zone and hme1, hme2, etc would be local zones. For this information to be useful to you, you have to have some sort of implemented standards or know enough about your environment to be able to recognize the global zone. As far as I know, there is no way to find a global zone remotely (and ethically...) just by knowing a local zone's name as that would be a security risk.
Hope that helps
Kyle
Thanks so much !!
much appreciated ..
thanks, good one