Hi,
I downloaded a Workstation 6.5 eval and I'm running it on Vista Business SP1 with an XP SP3 and a Debian Linux guest. I'm having a networking problem all my guests that behaves like this:
Guest can communicate with other guests
Guests can communicate with other machines on the LAN
Guests cannot communicate with their host
The host can ping the guests
I configured both guest and host firewalls to allow file sharing, but I still can't get across. I've read numerous posts about this, with no resolution.
So far, I've tried:
disabling both firewalls completely
disabling IPv6 on all host interfaces
associating vmnet0 with a specific adapter
using bridged, host-only, NAT, and custom networking for the guest (did not reboot)
Communicating with host #1 in each vmnet subnet
As a shot in the dark, I tried communicating with 192.168.232.1 from the guest (my VMnet8 subnet is 192.168.232.0 /24), and I did receive ping replies, but the Windows NET USE command told me I had the wrong username or password when I tried to attach to the share on my host.
Below are 10 posts I've read about this issue, mostly unresolved or revolving around turning off Windows Firewall. This appears to be very widely experienced issue among VMWare users, and I certainly need it to work for VMWare to be very useful to me. Can anyone help me fix it?
Thanks.
-Mike
Vista Ultimate Host can Ping Guest, Guest cannot ping Host
http://communities.vmware.com/message/807137#807137
Why the virtual machines can NOT ping the host?
http://communities.vmware.com/message/357659#357659
help. Can't ping the host but can ping itself.
http://communities.vmware.com/message/63920#63920
Why VM Machines can not ping their host ?
http://communities.vmware.com/message/433192#433192
Can't PING from XP guest to Vista host, regardless of Ethernet setting
http://communities.vmware.com/thread/118249
Fedora 9 guest can't ping Vista Host, but host can ping guest
http://communities.vmware.com/thread/152562
VMWare - Guest to Host Networking Issue
http://episteme.arstechnica.com/eve/forums/a/tpc/f/99609816/m/601006930931
Why I can't ping winxp host form redhat linux guest in VMWare
Can not ping my guest IP on vmware
http://ubuntuforums.org/showthread.php?t=406953
vmware: can't ping host
http://www.mail-archive.com/debian-user@lists.debian.org/msg344527.html
You should be pinging the host from the guest using IP 192.168.232.1
You will never reach the 192.168.70.102 host IP from the guest OS using NAT
Both the host and guest are on subnet 192.168.232.xxx
Welcome to the forums!
Set the connections on the host to private.
Post "ipconfig /all" from host AND guest (if a Windows guest belongs to the systems which can't ping).
Post the content of this guests .vmx file.
Do you try to ping the IP or the name?
If you found this information useful, please consider awarding points for "Correct" or "Helpful" replies. Thanks!!
AWo
VCP / vEXPERT 2009
AWo, thanks for the warm welcome.
I am pinging IPs, not names. I will post the output you asked for below. I do have one question: How am I supposed to set the connections on the host to private? Does this involve VMWare's Virtual Network Editor? I can re-post the guest and host ipconfig information after you tell me, if need be.
Also, while I was collecting ipconfig output, I tried setting the DNS suffix for my guest to the same as the host. I know that since I am pinging IPs this shouldn't have any effect, but I tried it to rule it out. I did not have any luck, so I removed the DNS search suffix.
Thanks.
-M.
GUEST .VMX FILE
.encoding = "windows-1252"
config.version = "8"
virtualHW.version = "7"
numvcpus = "2"
scsi0.present = "TRUE"
memsize = "512"
scsi0:0.present = "TRUE"
scsi0:0.fileName = "W:\wally.vmdk"
ide1:0.present = "TRUE"
ide1:0.fileName = "auto detect"
ide1:0.deviceType = "cdrom-raw"
floppy0.fileType = "device"
floppy0.fileName = ""
floppy0.clientDevice = "FALSE"
ethernet0.present = "TRUE"
ethernet0.connectionType = "nat"
ethernet0.wakeOnPcktRcv = "FALSE"
usb.present = "TRUE"
ehci.present = "TRUE"
sound.present = "TRUE"
sound.fileName = "-1"
sound.autodetect = "TRUE"
mks.enable3d = "TRUE"
pciBridge0.present = "TRUE"
pciBridge4.present = "TRUE"
pciBridge4.virtualDev = "pcieRootPort"
pciBridge4.functions = "8"
pciBridge5.present = "TRUE"
pciBridge5.virtualDev = "pcieRootPort"
pciBridge5.functions = "8"
pciBridge6.present = "TRUE"
pciBridge6.virtualDev = "pcieRootPort"
pciBridge6.functions = "8"
pciBridge7.present = "TRUE"
pciBridge7.virtualDev = "pcieRootPort"
pciBridge7.functions = "8"
vmci0.present = "TRUE"
buslogic.noDriver = "FALSE"
roamingVM.exitBehavior = "go"
displayName = "wally"
guestOS = "winxppro"
nvram = "wally.nvram"
virtualHW.productCompatibility = "hosted"
ft.secondary0.enabled = "TRUE"
tools.upgrade.policy = "useGlobal"
extendedConfigFile = "wally.vmxf"
ethernet0.addressType = "generated"
tools.syncTime = "FALSE"
uuid.location = "56 4d 31 a3 5a f8 84 61-f7 72 77 ba 4f 5d af 9d"
uuid.bios = "56 4d 31 a3 5a f8 84 61-f7 72 77 ba 4f 5d af 9d"
scsi0:0.redo = ""
vmotion.checkpointFBSize = "134217728"
pciBridge0.pciSlotNumber = "17"
pciBridge4.pciSlotNumber = "21"
pciBridge5.pciSlotNumber = "22"
pciBridge6.pciSlotNumber = "23"
pciBridge7.pciSlotNumber = "24"
scsi0.pciSlotNumber = "16"
usb.pciSlotNumber = "32"
ethernet0.pciSlotNumber = "33"
sound.pciSlotNumber = "34"
ehci.pciSlotNumber = "35"
vmci0.pciSlotNumber = "36"
usb:0.present = "TRUE"
usb:1.present = "TRUE"
ethernet0.generatedAddress = "00:0c:29:5d:af:9d"
ethernet0.generatedAddressOffset = "0"
vmci0.id = "1331539869"
usb:1.deviceType = "hub"
usb:0.deviceType = "mouse"
floppy0.autodetect = "TRUE"
ide1:0.autodetect = "TRUE"
floppy0.startConnected = "FALSE"
ethernet0.vnet = "VMnet0"
GUEST IPCONFIG /ALL
Windows IP Configuration
Host Name . . . . . . . . . . . . : wally
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : localdomain
Ethernet adapter Wired:
Connection-specific DNS Suffix . : localdomain
Description . . . . . . . . . . . : VMware Accelerated AMD PCNet Adapter
Physical Address. . . . . . . . . : 00-0C-29-5D-AF-9D
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.232.130
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.232.2
DHCP Server . . . . . . . . . . . : 192.168.232.254
DNS Servers . . . . . . . . . . . : 192.168.232.2
Primary WINS Server . . . . . . . : 192.168.232.2
Lease Obtained. . . . . . . . . . : Thursday, April 09, 2009 1:43:47 PM
Lease Expires . . . . . . . . . . : Thursday, April 09, 2009 2:13:47 PM
HOST IPCONFIG /ALL
Windows IP Configuration
Host Name . . . . . . . . . . . . : hype
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : lab.asdf.com
Ethernet adapter Local Area Connection 2: // I'm using OpenVPN
Connection-specific DNS Suffix . : lab.asdf.com
Description . . . . . . . . . . . : TAP-Win32 Adapter V9
Physical Address. . . . . . . . . : 00-FF-BC-F0-E8-99
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::5579:bf7c:8cac:ada9%15(Preferred)
IPv4 Address. . . . . . . . . . . : 10.200.0.18(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.252
Lease Obtained. . . . . . . . . . : Thursday, April 09, 2009 10:33:07 AM
Lease Expires . . . . . . . . . . : Friday, April 09, 2010 10:33:05 AM
Default Gateway . . . . . . . . . :
DHCP Server . . . . . . . . . . . : 10.200.0.17
DNS Servers . . . . . . . . . . . : 192.168.200.1
192.168.200.252
Primary WINS Server . . . . . . . : 192.168.200.252
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Wired:
Connection-specific DNS Suffix . : lab.asdf.com
Description . . . . . . . . . . . : Broadcom NetXtreme 57xx Gigabit Controller
Physical Address. . . . . . . . . : 00-1C-23-AA-CA-81
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::5c67:571e:1ac7:af7f%8(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.70.102(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Thursday, April 09, 2009 10:32:03 AM
Lease Expires . . . . . . . . . . : Friday, April 10, 2009 10:32:29 AM
Default Gateway . . . . . . . . . : 192.168.70.1
DHCP Server . . . . . . . . . . . : 192.168.70.1
DNS Servers . . . . . . . . . . . : 65.24.0.168
65.24.0.169
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Local Area Connection 3:
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
Link-local IPv6 Address . . . . . : fe80::50d6:92e:38e1:f9d4%16(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.77.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Local Area Connection 4:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet8
Physical Address. . . . . . . . . : 00-50-56-C0-00-08
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::fc0a:f943:e62d:e12%18(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.232.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled
Tunnel adapter Local Area Connection* 6:
Connection-specific DNS Suffix . : lab.asdf.com
Description . . . . . . . . . . . : isatap.lab.asdf.com
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::5efe:10.200.0.18%11(Preferred)
Link-local IPv6 Address . . . . . : fe80::5efe:192.168.70.102%11(Preferred)
Default Gateway . . . . . . . . . :
DNS Servers . . . . . . . . . . . : 192.168.200.1
192.168.200.252
NetBIOS over Tcpip. . . . . . . . : Disabled
Tunnel adapter Local Area Connection* 7:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 02-00-54-55-4E-01
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 12:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{6FE06F20-DBE1-4658-8C4B-8FAC462D87AA}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 13:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{615DB3EC-924C-4CF1-82DF-222BD6922E90}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Your virtual machine .vmx file is not correct, since you have both of the followoing lines in your .vmx file
ethernet0.vnet = "VMnet0"
ethernet0.connectionType = "nat"I assume you want "NAT" so with the VMware virtual machine powered off AND the VMware application closed.Edit the .vmx file and remove the " ethernet0.vnet = "VMnet0" line from the .vmx file.
What type of virtual networking do you want to use in the virtual machine? (Bridged, NAT or Host-Only)
Please let me know if you need an explanation of networking types or you can look them up in the WS documentation for more details.
KevinG:
I think I want to use NAT, because I want my guest to be able to reach my host as well as the LAN and the internet.
Last night I cycled through all the possible network types in the VM Settings and tested communication with the host. I turned the setting back to the default (NAT) after none of the other options proved to make my guest able to communicate with the host. Maybe the conflicting ethernet0.vnet="VMnet0" line is cruft from when I set the network to "Custom" and associated it directly with VMNet0.
What do you think I need to do to fix the situation?
-M.
With the VMware virtual machine powered off AND the VMware application closed., edit the .vmx file and remove the " ethernet0.vnet = "VMnet0" line from the .vmx file.
After powering back on the VM, test if you can ping from the host to guest and the other way around.
If you still have an issue, please psot ipconfig /all from both the host & guest OS again
I followed your instructions and I still couldn't reach the host by running "ping 192.168.70.102" on the guest command line.
I disabled both firewalls (guest and host) and got the same result. I'm posting guest and host ipconfig output after the change.
IPCONFIG /ALL (GUEST)
Windows IP Configuration
Host Name . . . . . . . . . . . . : wally
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : localdomain
Ethernet adapter Wired:
Connection-specific DNS Suffix . : localdomain
Description . . . . . . . . . . . : VMware Accelerated AMD PCNet Adapter
Physical Address. . . . . . . . . : 00-0C-29-5D-AF-9D
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.232.130
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.232.2
DHCP Server . . . . . . . . . . . : 192.168.232.254
DNS Servers . . . . . . . . . . . : 192.168.232.2
Primary WINS Server . . . . . . . : 192.168.232.2
Lease Obtained. . . . . . . . . . : Thursday, April 09, 2009 2:38:41 PM
Lease Expires . . . . . . . . . . : Thursday, April 09, 2009 3:08:41 PM
IPCONFIG /ALL (HOST)
Windows IP Configuration
Host Name . . . . . . . . . . . . : hype
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : lab.asdf.com
Ethernet adapter Local Area Connection 2:
Connection-specific DNS Suffix . : lab.asdf.com
Description . . . . . . . . . . . : TAP-Win32 Adapter V9
Physical Address. . . . . . . . . : 00-FF-BC-F0-E8-99
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::5579:bf7c:8cac:ada9%15(Preferred)
IPv4 Address. . . . . . . . . . . : 10.200.0.18(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.252
Lease Obtained. . . . . . . . . . : Thursday, April 09, 2009 10:33:07 AM
Lease Expires . . . . . . . . . . : Friday, April 09, 2010 10:33:05 AM
Default Gateway . . . . . . . . . :
DHCP Server . . . . . . . . . . . : 10.200.0.17
DNS Servers . . . . . . . . . . . : 192.168.200.1
192.168.200.252
Primary WINS Server . . . . . . . : 192.168.200.252
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Wired:
Connection-specific DNS Suffix . : lab.asdf.com
Description . . . . . . . . . . . : Broadcom NetXtreme 57xx Gigabit Controller
Physical Address. . . . . . . . . : 00-1C-23-AA-CA-81
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::5c67:571e:1ac7:af7f%8(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.70.102(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Thursday, April 09, 2009 10:32:03 AM
Lease Expires . . . . . . . . . . : Friday, April 10, 2009 10:32:28 AM
Default Gateway . . . . . . . . . : 192.168.70.1
DHCP Server . . . . . . . . . . . : 192.168.70.1
DNS Servers . . . . . . . . . . . : 65.24.0.168
65.24.0.169
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Local Area Connection 3:
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
Link-local IPv6 Address . . . . . : fe80::50d6:92e:38e1:f9d4%16(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.77.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Local Area Connection 4:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet8
Physical Address. . . . . . . . . : 00-50-56-C0-00-08
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::fc0a:f943:e62d:e12%18(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.232.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled
Tunnel adapter Local Area Connection* 6:
Connection-specific DNS Suffix . : lab.asdf.com
Description . . . . . . . . . . . : isatap.lab.asdf.com
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::5efe:10.200.0.18%11(Preferred)
Link-local IPv6 Address . . . . . : fe80::5efe:192.168.70.102%11(Preferred)
Default Gateway . . . . . . . . . :
DNS Servers . . . . . . . . . . . : 192.168.200.1
192.168.200.252
NetBIOS over Tcpip. . . . . . . . : Disabled
Tunnel adapter Local Area Connection* 7:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 02-00-54-55-4E-01
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 12:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{6FE06F20-DBE1-4658-8C4B-8FAC462D87AA}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 13:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{615DB3EC-924C-4CF1-82DF-222BD6922E90}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
You should be pinging the host from the guest using IP 192.168.232.1
You will never reach the 192.168.70.102 host IP from the guest OS using NAT
Both the host and guest are on subnet 192.168.232.xxx
Hah, I'm sorry, I have only a very superficial understanding of networking concepts.
When I tried this before (remember my "shot in the dark"), I must have legitimately typed in the wrong password, and since I was unsure that this was even the solution, I didn't investigate further.
Since you confirmed for me that this is how NAT works, I gave it a shot and it works.
Thank you!
Hi,
You do not need to be sorry, I understand that not everyone has a background in networking.
I was just trying to add an explanation as to why this configuration was not working as you were expecting.
Glad to hear that it is now resolved. :smileygrin:
Uhh, I'm somewhat late. Everything is done already
By the way, this is the link on how to set he adapters from public to private: http://technet.microsoft.com/en-us/library/bb727037.aspx
On public adapters restrictions apply.
If you found this information useful, please consider awarding points for "Correct" or "Helpful" replies. Thanks!!
AWo
VCP / vEXPERT 2009