Virtualisation: Host only and Internet networking
I’m running a development server virtual machine on my Vista laptop using Parallels. Trouble is being on a laptop sometimes I’m on the road so a Host only network suits me, but other times I’m at home so I want the guest machine to connect to my home network. Up until now there has been A LOT of screwing around each time I leave and come just change network the network settings…
First of all I tried the obvious Internet Connection Sharing throws some “(null)” error – Google forums to read about it. Bridged networking not that I really understand how this would have helped? this but someone made mention of it… I don’t profess to being a professional at this, BUT the following configuration made my life a dream.
Now I just simply change my the Network in Parallels from “Host only networking” to “Default adapter”..
Router
- IP – 10.0.1.1
- Subnet – 255.255.0.0
Guest
- IP: 10.0.2.10
- Subnet – 255.255.0.0
- Gateway: 10.0.1.1
- DNS: 10.0.1.1
Host
Parrallels Host-Guest NIC:
- IP: 10.0.2.20
- Subnet – 255.255.255.0
Default adapter NIC:
- IP: 10.0.1.20
- Subnet – 255.255.0.0
- Gateway: 10.0.1.1
- DNS: 10.0.1.1
If anyone cares to provide more insight, or has a better solution – would love to here from you! PS. All ip addresses have been changed to protect the innocent ;)