Submitted by dmann on Fri, 05/15/2009 - 00:34
If you use Solaris Zones sometimes it is nice to be able to know the name of the global/parent machine the zone is running on.
Using 'arp -a' you can get information about network interfaces shared by the hosts on 1 machine.
I'm not going to give a whole full blown script to do this as our naming standards are probably different than yours but you can see the steps you may need to follow below to get the info:
Here is how to see all the network interfaces for you current host:
/u01/app/oracle >arp -a | grep $HOSTNAME
Read more about Solaris Zones & finding machine name