strange vmware hang stumper

nicholas on 2007-06-26T16:01:06

Dear lazyweb...

As the denizens of #london.pm will know, I'm having a bit of an issue with vmware. Specifically, I have an Unbuntu machine running vmware, hosting a CentOS image. The network is configured as bridging, with the Ubuntu machine having eth0 as 10.100.2.228, the CentOS virtual machine 10.100.2.202. Everything works fine if you connect to the virtual machine from any other (physical) machine. But if you connect between the physical host and virtual machine, TCP connections are established, data can flow from virtual to physical, ACKs and FINs and flow back, but no data flows from physical to virtual. Well, it does get inside the virtual machine (I can see it with tcpdump) but it isn't getting up the TCP stack. (strace on a process in the virtual machine shows it hanging on read)

W.T.F.? I've run out hammers to hit this one with.

And what terms should I be searching online to find something about this? I just can't seem to get anything remotely relevant.


NAT ?

essuu on 2007-06-26T17:23:41

Is there any address translation going on ?

I've seen very similar problems with NAT'd firewalls that won't let you connect to a NAT'd external address from inside the firewall.

Simon.

Re:NAT ?

nicholas on 2007-06-26T19:30:40

No NAT that I'm aware of on the /24. Both the host machine and the virtual machine think that that they're directly connected to the Ethernet cable with real single IP addresses. (And something I don't understand is how both only see one IP address bound to the card, both believe themselves to have different MACs, and the card isn't in promiscuous mode. I guess hardware is clever.)