Abhishek Bhowmick | SharePoint Blog

Unable to connect the Virtual PCs to the internet in Windows Server 2003

Posted in Virtual PC by Abhishek Bhowmick on November 30, 2008

This is a common situation we all virtual techies face when we use Microsoft’s Virtual PC when we need to the internet traffic from the host system to your virtual machines.  There is this blog which gives us a clear explanation what happens and how does it work under the hood (Link to the source blog mentioned below).

Normally using Shared Networking is very simple.  You just enable it and set the guest operating system to use DHCP – and everything works.  This is not the case with a Windows Server 2003 guest though.  The problem is that Shared Networking configures the guest operating system to use the same DNS servers as are used by the physical computer.  However – all DNS packets are actually returned from ‘192.168.131.254’ – which is the virtual gateway used by Shared Networking.  Windows Server 2003 looks at the DNS packet, sees that it is coming from a source other than the DNS server it requested the information from, and rejects it.  A simple fix for this is to manually assign the DNS server inside the virtual machine to 192.168.131.254 – then everything will work just fine.

Source: http://blogs.msdn.com/virtual_pc_guy/archive/2005/01/06/347965.aspx

Advertisements
%d bloggers like this: