I run a lovely little MacBook which helps me test websites I'm developing in Internet Explorer.
The typical setup of Parallels allows this kind of testing, however I have a few additional requirements:
So, the initial installation:
While still in Parallels, goto 'Parallels Desktop > Preferences > Network', and when you select "Host-only networking" from the drop down menu, disable the DHCP server, and use the following setup:
Then update the configuration of the virtual machine, so the Network Adapter it is enabled, connected, and using "Host-only networking".
After doing this configuration we need to restart the Mac... this is to ensure that the virtual network is working, and using the new configuration.
In your Macs 'System Preferences', under the 'Network' preference pane, look for the 'Parallels Host-Guest' interface. If you cannot find it, then give your Mac another restart.
So now the interface should be using:
It appears that the 192.168.2.2 address comes from the configuration you did earlier, by setting the (disabled) DHCP server to start using the IP addresses 192.168.2.1 - where 192.168.2.2 is the next in the sequence.
Now start the virtual machine and:
Specify the following setup:
I'm not sure why, but even though Parallels has configured your mac to use 192.168.2.2, the VM's talk to 192.168.2.1 - I think this is a feature of having internet sharing enabled.
You should also switch off the Windows firewall - it just causes too much trouble, for relatively no security improvement.
Give the Mac another restart, to ensure everything starts up correctly.
The virtual machine should now be setup and ready to go, but I would suggest that before you install any more software you should make some copies of this virtual machine, and on each one install:
As a nice little feature of this setup, you can now configure QuickSilver to index the Parallels folder, so you can quick launch the virtual machines by using the 'pvm' files.
You might also want to look at setting up the Flash Plugin Switcher on the XP-IE6 box, to help you test different installations of the Flash player... although this application only allows switching in version 8 and later for Firefox/Netscape/Opera, the ActiveX versions for IE seem to have locking problems... version 2 - 7 seem to be fine in both set-ups.
And finally, if you will be using your Windows virtual machines for testing your websites, now is a good time to setup the DNS server.
Thank you for reading this article, any feedback would be greatly appreciated. Also, if you would like to take a copy of this article, please read the terms this article is released under. This article was originally written Saturday 16th June 2007 and was updated on Tuesday 1st January 2008.