[clue-tech] Virtual machine networking problem with samba

Shawn Perry redmop924 at comcast.net
Mon Nov 30 13:56:31 MST 2009


What VM software are you using?

On Mon, Nov 30, 2009 at 1:23 PM, Jim Ockers <ockers at ockers.net> wrote:
> Hi Michael,
>
> Michael Irons wrote:
>
> On Monday 30 November 2009 09:10:25 am Jim Ockers wrote:
>
>
> Michael,
>
> Instead of the name "babbage" could you try connecting to the samba
> server's IP address?  This will tell you if the problem is basic network
> connectivity or just a browsing/name resolution problem.
>
> That is, type "net use \\172.16.1.x\sharename" instead of "net use
> \\babbage\sharename" .
>
>
> Thanks Jim,
>
> Unfortunately, using the ip address directly does not help.
> But I can ping both both ips from the vm and the vm from the host. I allow
> ports 137-139.
>
> If the samba server is  192.168.1.1 and tap0 is 172.16.1.1:
>
> Samba host ip,
> Doesn't Work:	net use \\192.168.1.2\share
> Tap ip:
> Doesn't Work:	net use \\172.16.1.1\share
>
>
>
> What does it mean "doesn't work" ?  What error message do you get?  Just
> because you don't get a drive mapping doesn't mean there isn't useful
> information in the error message, so you should try to include as much
> information as possible when asking for help.
>
> >From your client then could you please try these commands:
>
> telnet 192.168.1.2 139
> telnet 192.168.1.2 445
> telnet 172.16.1.1 139
> telnet 172.16.1.1 445
>
> If those ports can not be connected-to then the problem is firewall rules on
> your samba server.  If those ports CAN be connected to, then try "net view
> \\192.168.1.2" or "net view \\172.16.1.1" and let us know what you get,
> including error messages if you don't get a share list.
>
> If that works, then you can try adding babbage to
> %systemroot%\system32\drivers\etc\hosts file
>
>
> The odd part is that I it sometimes allows connections to the samba server
> from the xp vm box, and sometimes it cannot even find babbage. This is even
> if
> I am sitting at home and babbage, the server, has a static ip.
> I also have already tried adding babbage to the hosts file on the xp  vm box
> (and restarting)
>
>
>
> nmbd (netbios name daemon, part of samba) problem, probably by fixing the
> samba configuration file or else some firewall rule that should be
> allowing nmbd broadcast traffic but isn't.
>
>
> I started down this path.... but I don't remember if It was a dead end or
> not.
> I will look into it. It is quite possible my firewall rule is blocking nmbd
> traffic, as I am not specifically allowing for it. Thank you.
>
>
> Michael Irons
> _______________________________________________
> clue-tech mailing list
> clue-tech at cluedenver.org
> http://www.cluedenver.org/mailman/listinfo/clue-tech
>
>
> _______________________________________________
> clue-tech mailing list
> clue-tech at cluedenver.org
> http://www.cluedenver.org/mailman/listinfo/clue-tech
>


More information about the clue-tech mailing list