Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2018 15:04:29 -0600
From:      Gary Aitken <freebsd@dreamchaser.org>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: ARP issue, samba standalone connection problem
Message-ID:  <09ada8f6-7b6b-2648-75a2-51cb6f430e91@dreamchaser.org>
In-Reply-To: <9caad981-4fe2-cc9d-da53-2193cbed5cf6@dreamchaser.org>
References:  <9caad981-4fe2-cc9d-da53-2193cbed5cf6@dreamchaser.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 03/13/18 14:52, Gary Aitken wrote:
> Trying to set up samba for the first time (4.7), local file sharing only.
> 
> I have the server set up and can connect / log-on locally using smbclient.
> 
> However, I can't connect from a win7 system;
> with log level set to 2 nothing shows up in /var/log/samba4/log.smbd
> 
> Snooping packets, all I see is:
> (122 is fbsd samba machine; 123 is win7)
> 
> ARP, Request who-has 192.168.151.122 tell 192.168.151.123, length 46
> IP 192.168.151.123.50031 > 192.168.151.122.80: Flags [S], seq 2200471361, win 8192, options [mss 1460,nop,wscale 2,nop,nop,sackOK], length 0
> IP 192.168.151.122.80 > 192.168.151.123.50031: Flags [R.], seq 0, ack 2200471362, win 0, length 0
> IP 192.168.151.123.50031 > 192.168.151.122.80: Flags [S], seq 2200471361, win 8192, options [mss 1460,nop,wscale 2,nop,nop,sackOK], length 0
> IP 192.168.151.122.80 > 192.168.151.123.50031: Flags [R.], seq 0, ack 1, win 0, length 0
> IP 192.168.151.123.50031 > 192.168.151.122.80: Flags [S], seq 2200471361, win 8192, options [mss 1460,nop,nop,sackOK], length 0
> IP 192.168.151.122.80 > 192.168.151.123.50031: Flags [R.], seq 0, ack 1, win 0, length 0
> ARP, Request who-has 192.168.151.112 tell 192.168.151.123, length 46
> 
> Questions:
> 
> Why isn't the fbsd machine replying to the ARP requests?
> Any idea why the win7 machine is hitting port 80?
> Why is port 80 on the fbsd system replying
>     instead of simply dropping the packet?
>    (there's no httpd running)
> 
> pings work both ways.

One additional data point, the win7 system already has an arp entry
for the fbsd machine in its arp table.  Now I'm really confused...





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?09ada8f6-7b6b-2648-75a2-51cb6f430e91>