VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 1 "helpful" answer available (6 pts)
1 2 Previous Next 26 Replies Last post: Nov 22, 2009 3:09 AM by donmichelange…  

Workstation 7: Can't SSH to guest from host....Bridged networking broken? posted: Nov 1, 2009 1:50 PM

Click to view coalese's profile Novice 15 posts since
Nov 30, 2008
Hi:

Just finished upgrading to Workstation 7 (from 6.5.3 prior). Host is a WinXP Pro SP3 system. Guests are Ubuntu Linux (Jaunty, 9.04).

Everything worked fine wit the prior 6.5.3 Workstation where I was able to SSH in to the guest Linux VMs from the Windows host, typically using Putty or WinSCP.

Now with 7.0, and no other changes to the VMs, I cannot get an SSH connection to the the guest Linux VMs from the Windows host, typically using Putty or WinSCP. However, I CAN SSH in from an external machine (laptop or other server machines I have around). So I know that SSH is running fine on the guests, as it always has.

Network connections to the guests are bridged, as they always have been.

What is strange is that I can ping the guests successfully from the host and get a response. Just SSH isn't working for some reason. Just tested https access to the guess and that doesn't seem to be working either though it did with 6.5.3. What's funny is that my Putty log looks like this:

2009-11-01 16:46:48 Looking up host "coalese-vm-rd"
2009-11-01 16:46:48 Connecting to 10.66.66.32 port 22

...but it never connects, though it has obviously found the vm on the network at the correct IP address. Same idea with HTTPS access to a web server on the guest....it just sits there saying it's connected, but the browser on the host never gets a response. Accessing SSH/HTTPS from a separate machine works just fine, which is why I suspect that the bridged networking in 7.0 is fubared.

It's almost like the bridge is blocking or not making available various ports like 22 and 443 on the guest to the host machine.

Anyone else run into such strangeness?
Click to view rezboom's profile Novice 4 posts since
Nov 3, 2009
I am currently suffering through a similar experience.

Host is Win XP SP3 and guest is Cent OS 5.4.


Also upgraded from 6.5.3 to 7.


Guest is bridged to Host.


Guest is used as a web development environment and I had set up Samba to be able to directly write to the html directory from the host - but now the connection to the samba share fails.


httpd is running and is reachable from outside the local network, but not from within.


pinging the guest works.


Also, in a parrallel installation using Win 7 RC1as host with workstation 6.5.3 running, the same virtual machine performs as it should (and always had).

update strangely, without touching any settings or reconfiguring anything, both samba and http responded for a few minutes, then went dead again.

Any info would be appreciated. (I have checked the network settings in the virtual network editor, but found nothing suspicous.)

Click to view Noel's profile Expert 887 posts since
Dec 15, 2004
coalese wrote:
When I get a few minutes, I'll try firing up the same VM on my Ubuntu version of WS 7.0.0 to see if it's unique to Windoze.

Let me know what you find, because I installed WS 7 while on the road, so I normally use NAT. But I switched to test bridging, and am not seeing bridging working at all over wlan0 (Ubuntu host, Ubuntu guest). It had been working.
Click to view Noel's profile Expert 887 posts since
Dec 15, 2004
Noel wrote:
I switched to test bridging, and am not seeing bridging working at all over wlan0 (Ubuntu host, Ubuntu guest).

Local network defect with wireless. Works fine with wired, and I can SSH into my guests from my hosts. So I am not able to reproduce your defect.
Click to view rezboom's profile Novice 4 posts since
Nov 3, 2009

When I get a few minutes, I'll try firing up the same VM on my Ubuntu version of WS 7.0.0 to see if it's unique to Windoze.

I'm curious if you run into trouble with WS7 linux as well - please let us know when you had time to check, thanks!

Click to view prakashraj's profile Expert 326 posts since
Mar 27, 2009

Hi,

Have you updated VMware tools in guest machines?

If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!!!

Prakash

Click to view rezboom's profile Novice 4 posts since
Nov 3, 2009

Have you updated VMware tools in guest machines?

Yes, I did - even reinstalled it just now, but no luck. Thanks anyway!

Click to view gasmith's profile Novice 18 posts since
Nov 7, 2007
Hi Coalesce,

I just ssh'd from a windows host into a linux guest over a bridged network, and it worked fine. I'm bridged to an ethernet connection, though... and things might be different for wireless since we have to do some packet mangling to make wireless bridging work properly. Are you bridged to a wireless adapter? If so, do you see the same issues when you're bridged to a wired adapter?

Greg
Click to view gasmith's profile Novice 18 posts since
Nov 7, 2007
I'm running xp sp2, but I'd be surprised if there was a difference between sp2 and sp3 that'd cause this sort of failure.

Are you running any firewall or antivirus software on the host that might be interfering with network traffic?

Greg
Click to view gasmith's profile Novice 18 posts since
Nov 7, 2007
It would be useful if you could get us some packet traces. We ship a utility called vnetsniffer, which lives in c:\program files\vmware\vmware workstation\. Invoke it as "vmnetsniffer.exe /e /w vmnet0-trace.pcap vmnet0" from the command line on the host. Inside the guest, run "tcpdump -i <eth interface> -s0 -U -w guest.pcap".

In the meantime, I'll start scrounging around for an SP3 box, since it's a rather inconvenient time for me to upgrade my development machine (as it has been for the past several years...).

Thanks,
Greg

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities