Small issues with host-only networking in Vista
Posted: 9. Apr 2009, 02:15
Just upgraded to v2.2.0 and I was waiting for host-only networking, a welcome addition that's for sure... But it comes with a few minor issues in Vista as host. Minor, but annoying... Actually, one is very annoying...
1) I have disabled the host-only interface DHCP server and manually configured with the IPv4 IP address of 192.168.2.254 and 255.255.255.0 for network mask. Then, on a XP guest I configured the only network adapter created by the "host-only interface" to use the IP address of 192.168.2.101 and the same network mask.
Now, I have an HTTP server running on my host machine and for testing purposes I'm allowing connections from everywhere. If I open Firefox (in the XP guest) and insert "192.168.2.254" into the address field, it shows the homepage of my HTTP server. Everything's working, so far so good. To simplify things, I opened the "C:\Windows\System32\drivers\etc\hosts" hosts file in the XP guest and added "192.168.2.254 vmhost". If I open the command line and "ping vmhost" it resolves the hostname to "192.168.2.254" but if I open Firefox and place "vmhost" in the address field and press enter, it times out, it can't open the same homepage of my HTTP server.
This was working just fine in v2.1.4, although the host-only network was not available I was using the "Microsoft Loopback Adapter" virtual device to manage this and it was working.
For some strange reason it's not able to properly use the hostname, but it can use the IP address... Any reason for this?
This issue is kinda important to me, the following two are the minor issues but annoying.
2) Since I installed v2.2.0 that two of the network adapters in Vista have their icon desaturated (gray color), like they are disabled. The problem is that they are not disabled, they are enabled and working. These adapters are the "VirtualBox Host-Only Network" and "Local Area Connection" (the one I use to connect through ethernet to my router).
3) Having virtual adapters in Vista produces one little annoyance, it adds "unidentified networks" to the "Network and Sharing Center". This can be avoided... There's a little registry key that must be added so these adapters are ignored in the "Network and Sharing Center". This should be added to VirtualBox in a future maintenance release. I don't remember the actual registry key but I can look it up later for you guys if you want it.
1) I have disabled the host-only interface DHCP server and manually configured with the IPv4 IP address of 192.168.2.254 and 255.255.255.0 for network mask. Then, on a XP guest I configured the only network adapter created by the "host-only interface" to use the IP address of 192.168.2.101 and the same network mask.
Now, I have an HTTP server running on my host machine and for testing purposes I'm allowing connections from everywhere. If I open Firefox (in the XP guest) and insert "192.168.2.254" into the address field, it shows the homepage of my HTTP server. Everything's working, so far so good. To simplify things, I opened the "C:\Windows\System32\drivers\etc\hosts" hosts file in the XP guest and added "192.168.2.254 vmhost". If I open the command line and "ping vmhost" it resolves the hostname to "192.168.2.254" but if I open Firefox and place "vmhost" in the address field and press enter, it times out, it can't open the same homepage of my HTTP server.
This was working just fine in v2.1.4, although the host-only network was not available I was using the "Microsoft Loopback Adapter" virtual device to manage this and it was working.
For some strange reason it's not able to properly use the hostname, but it can use the IP address... Any reason for this?
This issue is kinda important to me, the following two are the minor issues but annoying.
2) Since I installed v2.2.0 that two of the network adapters in Vista have their icon desaturated (gray color), like they are disabled. The problem is that they are not disabled, they are enabled and working. These adapters are the "VirtualBox Host-Only Network" and "Local Area Connection" (the one I use to connect through ethernet to my router).
3) Having virtual adapters in Vista produces one little annoyance, it adds "unidentified networks" to the "Network and Sharing Center". This can be avoided... There's a little registry key that must be added so these adapters are ignored in the "Network and Sharing Center". This should be added to VirtualBox in a future maintenance release. I don't remember the actual registry key but I can look it up later for you guys if you want it.