Quantcast
Channel: VMware Communities : Popular Discussions - General Issues
Viewing all articles
Browse latest Browse all 41042

VMware-server-2: Guest OS cannot access internet on NAT

$
0
0

The issue troubles me several days and I cannot get my CentOS VM to access internet on NAT. I read the VM document and reviewed the settings again and again but not sure what is wrong. I am using VMware Server-2, my host OS is windows 7, and my guest VM OS is CentOS.

 

I configured NAT on VM network adapater.

 

On Host, VMnet8 has IP addr of 192.168.219.1

 

Guest VM, eth0 has IP addr of 192.168.219.129 (automatically obtained from DHCP), and DNS has addr of 192.168.219.2

 

All these settings seems are expected.

 

On Guest VM, I clearly see the DNS server is working. If I run "ping www.google.com", I see the DNS translation of IP addr of www.google.com is correct. But the ping is not working.

 

[root@localhost ~]# ping www.google.com

PING www.l.google.com (74.125.244.148)  56(84) btes of data

<===== ping test stuck here, but 74.125.244.148 is the correct address for google.com, so seems guest OS connecting with DNS server correctly, but ping test stuck until I CTRL-C to quit.

 

The following is the detailed info from HOST and GUEST, please help me identify what is wrong with the configurations

 

Info on HOST

===============================

Windows IP Configuration

   Host Name . . . . . . . . . . . . : abcd-WS
   Primary Dns Suffix  . . . . . . . : cisco.com
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : cisco.com

Wireless LAN adapter Wireless Network Connection 2:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft Virtual WiFi Miniport Adapter
   Physical Address. . . . . . . . . : 00-24-D7-B0-AA-2D
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Ethernet adapter Bluetooth Network Connection:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Bluetooth Device (Personal Area Network)
   Physical Address. . . . . . . . . : CC-52-AF-80-62-E5
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Ethernet adapter Local Area Connection 2:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Cisco Systems VPN Adapter for 64-bit Wind
ows
   Physical Address. . . . . . . . . : 00-05-9A-3C-78-00
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   Autoconfiguration IPv4 Address. . : 169.254.167.54(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.0.0
   Default Gateway . . . . . . . . . :
   NetBIOS over Tcpip. . . . . . . . : Enabled

Wireless LAN adapter Wireless Network Connection:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Intel(R) Centrino(R) Ultimate-N 6300 AGN
   Physical Address. . . . . . . . . : 00-24-D7-B0-AA-2C
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.0.2(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Tuesday, September 20, 2011 11:08:17 PM
   Lease Expires . . . . . . . . . . : Wednesday, September 21, 2011 12:38:38 AM

   Default Gateway . . . . . . . . . : 192.168.0.1
   DHCP Server . . . . . . . . . . . : 192.168.0.1
   DNS Servers . . . . . . . . . . . : 68.87.76.182
                                       68.87.78.134
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter Local Area Connection:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Intel(R) 82577LM Gigabit Network Connection
   Physical Address. . . . . . . . . : F0-DE-F1-63-C6-B6
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Ethernet adapter VMware Network Adapter VMnet1:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet1
   Physical Address. . . . . . . . . : 00-50-56-C0-00-01
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.198.1(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter VMware Network Adapter VMnet8:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet8
   Physical Address. . . . . . . . . : 00-50-56-C0-00-08
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.219.1(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Tuesday, September 20, 2011 11:08:18 PM
   Lease Expires . . . . . . . . . . : Wednesday, September 21, 2011 12:08:18 AM

   Default Gateway . . . . . . . . . :
   DHCP Server . . . . . . . . . . . : 192.168.219.254
   Primary WINS Server . . . . . . . : 192.168.219.2
   NetBIOS over Tcpip. . . . . . . . : Enabled

 

Info of GUEST

=============================

[root@localhost ~]# ifconfig

eth0        Link encap:Ethernet    HWaddr 00:0c:29:37:5D:1A

              inet addr:192.168.219.129    Bcast:192.168.219.255    Mask:255.255.255.0

              inet6 addr: fe80::20c:29ff:fe37:5d1a/64 Scope:Link

              UP BROADCAST RUNNING MULTICAST   MTU:1500   Metric:1

              RX packets:1534 error:0 dropped:0 overruns:0 frams:0

              TX packets:4321 error:0 dropped:0 overruns:0 carrier:0

              collision:0 txqueuelen:1000

              RX bytes:117438 (114.6KiB)    TX bytes:420550 (410.6KiB)

              Interrupt:75 Base address:0x2000

 

lo           Link encap:local loopback

             inet addr:127.0.0.1  Mask 255.0.0.0

             inet6 addr: ::1/128 Scope:Host

             UP LOOPBACK RUNNING  MTU:16436  Metric:1

             RX packets:8 errors:0 dropped:0 overruns:0 frame:0

             TX packets:8 errors:0 dropped:0 overruns:0 carrier:0

             collisions:0 txqueuelen:0

             RX bytes:560 (560.0 b)   TX bytes:560 (560.0 b)


Viewing all articles
Browse latest Browse all 41042

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>