VMware Communities
toms17
Contributor
Contributor

Unable to connect to samba share from winxp guest

Ubuntu (feisty) host running vmware player 1.0.2. Using NAT I have no problem but I need to use bridged. Using bridged networking I am unable to connect to my samba share on the host. I am having the identical problem on two separate installs, 1 on a laptop, the other on a desktop. I can access anything outside of the host, just not the samba share on the host. I have disabled the firewalls on both the guest and host os's. One thing I tried was running wireshark on the host, and it gives the following:

14 8.057403 192.168.40.8 192.168.40.2 TCP 1731 > microsoft-ds \[SYN] Seq=0 Len=0 MSS=1460

15 8.057501 192.168.40.2 192.168.40.8 TCP microsoft-ds > 1731 \[SYN, ACK] Seq=0 Ack=1 Win=5840 Len=0 MSS=1460

16 8.074474 192.168.40.8 192.168.40.2 TCP 1731 > microsoft-ds \[ACK] Seq=1 Ack=1 Win=64240 Len=0

17 8.100157 192.168.40.8 192.168.40.2 SMB Negotiate Protocol Request

18 8.100231 192.168.40.2 192.168.40.8 TCP microsoft-ds > 1731 \[ACK] Seq=1 Ack=138 Win=6432 Len=0

19 8.180697 192.168.40.2 192.168.40.8 SMB Negotiate Protocol Response

20 11.180848 192.168.40.2 192.168.40.8 SMB \[TCP Retransmission] Negotiate Protocol Response

21 17.184873 192.168.40.2 192.168.40.8 SMB \[TCP Retransmission] Negotiate Protocol Response

22 29.184922 192.168.40.2 192.168.40.8 SMB \[TCP Retransmission] Negotiate Protocol Response

192.168.40.2 is the linux host

192.168.40.8 is the XP guest

IP's are assigned by DHCP

When I open the "Negotiate Protocol Response", they have the same error, Checksum: 0xd1f8 \[incorrect, should be 0x1c96 (maybe caused by checksum offloading?)]

I am also unable to ssh to the host from the guest, though I can ssh to the host from other workstations on the network.

Any help would be appreciated.

0 Kudos
8 Replies
Liz
Virtuoso
Virtuoso

From the guest did you ssh to the external IP of the host, or the NAT side of the host, and is it in your allow file?

0 Kudos
toms17
Contributor
Contributor

Using NAT I can ssh to the external IP address of the host. Using bridged, the host (same IP) never responds, and wireshark again shows the incorrect checksum error. Everything I have tried works with NAT. With bridged I can get from the guest to outside of the host but not to the host itself. Or more accurately (according to wireshark) the guest can get to the host but the host cannot get back to the guest. I can ping the host from guest and vice versa.

0 Kudos
toms17
Contributor
Contributor

Oh, and there are no hosts.allow or hosts.deny files.

0 Kudos
scunningham
Contributor
Contributor

I am having the same problem with some VM's on Fedora Core 6. All are bridged and cannot be reached by (so far) ssh and httpd from the hosting server but are reachable from other VM's and other computers. These were working for a while. I believe the problem may have started after upgrading the server to 1.0.2. I cannot be positive because I don't access the VM's very often from the hosting server. I just upgraded to 1.0.3 but the problem is still there.

\[edit] Forgot to mention that in my case it is VMWare server being used.

0 Kudos
dvenardos
Contributor
Contributor

Looks like this is a bug. I am having the same problem on Ubuntu Feisty with win 2K host. The VM can connect to other computers on the network and other computers can connect to the VM, but VM and host can't talk to each other.

0 Kudos
mm_mmax
Contributor
Contributor

Having the same problem

Master OS 2.6.19-gentoo-r5

Guest OS Win 2003 Server

not only samba also ftp and other services do not work reliable

wireshark shows most Ip checksumms are false.

max

0 Kudos
Fintan29
Contributor
Contributor

If you have:

msdfs proxy = no

somewhere in your smb.config comment it out to read:

#msdfs proxy = no

It is a bug and is documented in launchpad.

I hope that helps

Cheers

Fintan

0 Kudos
consultant21
Contributor
Contributor

I don't know if you found a solution, but it appears to a very common problem.

One work around is to route communication from your Linux host to your Windows VM via another Windows computer.

If this is applicable for you and you need help setting it up drop a reply.

0 Kudos