Link to home
Start Free TrialLog in
Avatar of RayRay13
RayRay13

asked on

VM cannot conect to the Internet through NAT (VPC 2007)

Hello,

I cannot connect to the interent using NAT on my VM. However when changing the networking settings on the VM to use my host computers network adapter everything works fine.

Host: Windows 7 Enterprise
Guest: Windows Server 2003 R2 Enterprise SP2
VPC 2007 SP1

I've also tried pointing to the DNS server 192.168.131.254 as I read in some other blogs that this may be the problem but still nothing. Not sure what I'm doing wrong.

Thanks in advance for the help!
Avatar of spiderwilk007
spiderwilk007
Flag of United States of America image

I have always had problems with VPC correctly networking, I think I had to use the bridged option to get it to work. Use VMware Server it's free and way better.

Avatar of RayRay13
RayRay13

ASKER

Bridged option? Not sure what you mean.

I was under the impression that the VMWare player was free but I'd need a paid version to actualy create and modify VMs. Is that not the case?
You need to leave all settings of the TCP/IP in the VM in automatic mode (DHCP). In that case your DNS will be the DNS of the host when you are using the Shared NAT mode. However, using the physical adapted (a.k.a. “bridged mode”) is much better and your VM will appear as a host in the local network.
It works fine when I'm using my hosts computer's network adapter but even when I leave have all TCP/IP setting in the VM set to default (see screen shot) NAT does not allow me to connect to the internet which is what I'm trying to fix.  User generated image
What is the output of ipconfig /all command in the virtual machine?
Windows IP Configuration

   Host Name . . . . . . . . . . . . :
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Intel 21140-Based PCI Fast Ethernet Adapter (Generic)
   Physical Address. . . . . . . . . :
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   IP Address. . . . . . . . . . . . : 192.168.131.65
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.131.254
   DHCP Server . . . . . . . . . . . : 192.168.131.254
   DNS Servers . . . . . . . . . . . : 192.168.1.1
   Lease Obtained. . . . . . . . . . : Tuesday, April 26, 2011 11:29:50 PM
   Lease Expires . . . . . . . . . . : Sunday, April 30, 2028 6:18:21 PM
ASKER CERTIFIED SOLUTION
Avatar of Svet Paperov
Svet Paperov
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for the help!