View Source

h3. Introduce your Mac to Solaris as a network host.

This assumes you are already [running solaris|InstallingSolaris].

Find out what IP address Solaris has. (It probably got it from the builting VMWare DHCP server.) Let's say it is 172.16.135.128. (In some cases, the 135 may be something else, like 166.)

For MacOS 10.5 (Leopard), use the "dscl" command to set the host name for your guest Solaris:
* Open Terminal. (In /Applications/Utilities, or just use Spotlight.)
* Type this: {{sudo dscl localhost -create Local/Default/Hosts/solaris-devx.local IPAddress 172.16.135.128}}
* To test, say {{ping solaris-devx.local}}, and observe traffic with the desired address 172.16.135.128. Press Control-C to stop 'ping'.


For MacOS 10.4, use NetInfo Manager to set a network host name:
* Open NetInfo Manager. (In /Applications/Utilities, or just use Spotlight.)
* In NetInfo Manager, select machines. (List includes 'localhost'.)
* Unlock and press New. There should be a new item 'new_directory'.
(If it is not in the same list as 'localhost', delete it carefully and try again.)
* Double-click the name and change it to 'solaris-devx.local'.
* Press New again to create a new property. Name it 'ip_address'.
* Change the value of 'ip_address' to 172.16.135.128.
(Or use any other value that VMWare likes and your real network doesn't use.)
* Compare your result with the machine 'localhost'; it should be similar.
(Exception: 'localhost' may have an extra property.)
* Exit NetInfo Manager, and/or press Command-S.
* To test, in Terminal say "ping solaris-devx.local", and observe traffic with the desired address 172.16.135.128. Press Control-C to stop 'ping'.

Next, set up [file sharing|FileSharing] with Solaris.

The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact