We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

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

Medium Priority
866 Views
Last Modified: 2012-05-11
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!
Comment
Watch Question

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.

Author

Commented:
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?
Svet PaperovIT Manager

Commented:
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.

Author

Commented:
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.  TCP/IP settings
Svet PaperovIT Manager

Commented:
What is the output of ipconfig /all command in the virtual machine?

Author

Commented:
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
IT Manager
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Thanks for the help!
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.