VPN in Windows XP guest under Windows 7 host
Posted: 28. Aug 2009, 23:06
I'm trying to connect to a VPN from within VirtualBox. The VPN client is Juniper's Netscreen-Remote. The guest OS is Windows XP SP3 32-bit, and the host OS is Windows 7 32-bit. I'm sitting behind a NetGear RP614v4.
I have tried setting the network type to Host Only in the VB GUI, and bridging the VirtualBox adapter with my LAN adapter within Windows 7. I was unable to get any internet connectivity.
I noticed that the guest was getting an ip of 192.168.56.*, while my host has 192.168.1.*. So, from the VirtualBox GUI, I went to File->Preferences->Network, clicked on "Edit Host-only network", and changed the 56 octet to a 1 under "Adapter" as well as under "DHCP ServeR". No change in connectivity from the guest.
I then tried changing the network type to Bridge, and set the adapter to the MAC bridge mini-port that I created earlier. Still can't ping out.
I deleted the bridge within Windows 7, and set the interface to my PC's NIC. Now I can ping out, but my VPN client won't connect.
Connected my PC directly to my modem. This time, XP is telling me that my connection has "limited or no connectivity".
I go into File->Preferences->Network, click on "Edit Host-only network". The third octet has been changed back to a 56 under "Adapter", but still a 1 under "DHCP Server". I changed these back to 56. Still "limited or no connectivity".
Each time I made any change above, I restarted the guest machine. The VPN is configured correctly, as I can connect to it from a machine running Windows XP SP3. Also, Windows 7 is configured to use OpenDNS, in case that's relevant.
Hopefully I've provided enough information here to be useful. If not, just ask and I'll do my best to answer. Any help would be greatly appreciated
I have tried setting the network type to Host Only in the VB GUI, and bridging the VirtualBox adapter with my LAN adapter within Windows 7. I was unable to get any internet connectivity.
I noticed that the guest was getting an ip of 192.168.56.*, while my host has 192.168.1.*. So, from the VirtualBox GUI, I went to File->Preferences->Network, clicked on "Edit Host-only network", and changed the 56 octet to a 1 under "Adapter" as well as under "DHCP ServeR". No change in connectivity from the guest.
I then tried changing the network type to Bridge, and set the adapter to the MAC bridge mini-port that I created earlier. Still can't ping out.
I deleted the bridge within Windows 7, and set the interface to my PC's NIC. Now I can ping out, but my VPN client won't connect.
Connected my PC directly to my modem. This time, XP is telling me that my connection has "limited or no connectivity".
I go into File->Preferences->Network, click on "Edit Host-only network". The third octet has been changed back to a 56 under "Adapter", but still a 1 under "DHCP Server". I changed these back to 56. Still "limited or no connectivity".
Each time I made any change above, I restarted the guest machine. The VPN is configured correctly, as I can connect to it from a machine running Windows XP SP3. Also, Windows 7 is configured to use OpenDNS, in case that's relevant.
Hopefully I've provided enough information here to be useful. If not, just ask and I'll do my best to answer. Any help would be greatly appreciated