Note: VMWare is probably preferable to Parallels for most users. (As of 8/2007.)
Install Parallels
Select Shared Networking
This will use local network addresses of 10.37.129.*/24. (The Shared Networking option uses 10.211.55.*/24. There is probably no reason to change these numbers.)
* Launch Mac System Preferences, select Sharing, select Internet tab check boxes for Ethernet Adapter (en2, en3), press Start
Should say "Internet Sharing On".
* Still in Sharing, select Services, check Windows Sharing, press Start.
* Select your own account to share.
* You will get a warning about making your password less secure.
* Take care not to use this share from anywhere else but inside Parallels.
(One hopes this will keep your password inside your machine.)
You may wish to nail down the IP address used to communicate locally between Solaris and Mac OS. You'll have to do this for each location you use.
* In System Preferences, select the Network dialog.
* Select "Show: Parallels Host-Guest", and click the TCP/IP tab.
* Select "Using DHCP with a manual address."
* Enter something suitable like "10.37.129.1".
(This matches with the numbers in the network preferences dialog of the Parallels application.)
* Start the Solaris image.
* Log in as root.
* Run the inetmenu desktop item (looks like a gear)
* Select DHCP (no NIS)
Try pinging something: {{/usr/sbin/ping google.com}}
Set your time server and timezone. The default out of the box (zone is PRC) is probably not what you want.
You may wish to change the root password, although your Solaris will probably not be directly visible on any network outside of your Mac. (The Mac's internet sharing uses NAT, which provides a simple firewall to your Solaris guest OS.)
For extra points, give a symbolic name to your twin OS'es. As root append a line like this to /etc/inet/hosts,
{noformat}
10.37.129.1 macosx
{noformat}
Now you can access your Mac OS by name as well as number. If you don't do this, use the raw IP address instead of the name. The IP address is negotiated with Parallels, and may be observed in the System Preferences, Network dialog. Select "Show: Parallels Host-Guest", and click the TCP/IP tab.
In the Network Preferences dialog in Solaris, set up the Solaris network interface. (It is on the Administration sub-menu of the launch menu.) Enable the interface (ni0) and mark it to activate on boot. Use these connection settings:
* Configuration: Static IP address
* IP address 10.37.129.2 (slightly different from the macosx address)
* Subnet: 255.255.255.0
* Gateway: 10.37.129.1 (the macosx address)
Install Parallels
Select Shared Networking
This will use local network addresses of 10.37.129.*/24. (The Shared Networking option uses 10.211.55.*/24. There is probably no reason to change these numbers.)
* Launch Mac System Preferences, select Sharing, select Internet tab check boxes for Ethernet Adapter (en2, en3), press Start
Should say "Internet Sharing On".
* Still in Sharing, select Services, check Windows Sharing, press Start.
* Select your own account to share.
* You will get a warning about making your password less secure.
* Take care not to use this share from anywhere else but inside Parallels.
(One hopes this will keep your password inside your machine.)
You may wish to nail down the IP address used to communicate locally between Solaris and Mac OS. You'll have to do this for each location you use.
* In System Preferences, select the Network dialog.
* Select "Show: Parallels Host-Guest", and click the TCP/IP tab.
* Select "Using DHCP with a manual address."
* Enter something suitable like "10.37.129.1".
(This matches with the numbers in the network preferences dialog of the Parallels application.)
* Start the Solaris image.
* Log in as root.
* Run the inetmenu desktop item (looks like a gear)
* Select DHCP (no NIS)
Try pinging something: {{/usr/sbin/ping google.com}}
Set your time server and timezone. The default out of the box (zone is PRC) is probably not what you want.
You may wish to change the root password, although your Solaris will probably not be directly visible on any network outside of your Mac. (The Mac's internet sharing uses NAT, which provides a simple firewall to your Solaris guest OS.)
For extra points, give a symbolic name to your twin OS'es. As root append a line like this to /etc/inet/hosts,
{noformat}
10.37.129.1 macosx
{noformat}
Now you can access your Mac OS by name as well as number. If you don't do this, use the raw IP address instead of the name. The IP address is negotiated with Parallels, and may be observed in the System Preferences, Network dialog. Select "Show: Parallels Host-Guest", and click the TCP/IP tab.
In the Network Preferences dialog in Solaris, set up the Solaris network interface. (It is on the Administration sub-menu of the launch menu.) Enable the interface (ni0) and mark it to activate on boot. Use these connection settings:
* Configuration: Static IP address
* IP address 10.37.129.2 (slightly different from the macosx address)
* Subnet: 255.255.255.0
* Gateway: 10.37.129.1 (the macosx address)