Apple_Bonjour_Icon.pngDo you like Zeroconf aka. Bonjour on the Mac? Would you like your OpenSolaris Machine to do the same?
That's quite easy:

If not already in there, add mdns to the hosts and ipnodes section of your /etc/nsswitch.conf:

...
hosts: files mdns dns
ipnodes: files mdns dns
...

and enable the svc:/network/dns/multicast:default service:

# svcadm enable svc:/network/dns/multicast:default

Then your OpenSolaris Machine will announce its name on the local Network, and you can resolve the name of other mdns capable machines on your network using the .local domain.

e.g. (boulderdash is the OpenSolaris machine, uridium is the Mac)

boulderdash:[~]:> getent hosts uridium.local
192.168.42.11 uridium.local.
boulderdash:[~]:> ping uridium.local
uridium.local is alive

To make this even easier, you can include the .local domain into the mdns search path:

# svccfg -s svc:/network/dns/multicast:default \
setprop nss_mdns_config/search=astring: local

then you won't even need to type the .local extension:

boulderdash:[~]:> getent hosts uridium
192.168.42.11 uridium.local.
boulderdash:[~]:> ping uridium
uridium is alive

You can also achieve this on your Mac, when you add local to System Preferences → Network → Advanced → DNS → Search Domains

Update

the avahi tools are used for further Zeroconf discovery and publishing of own services. See avahi-browse avahi-discover avahi-browse-domains