"avahi-browse -a" does not show hosts on LAN

Aim dvoich at aim.com
Wed Jan 20 14:52:45 UTC 2021


On Wed, 20 Jan 2021 09:19:24 +0700
Victor Sudakov <vas at sibptus.ru> wrote:

> Aim via freebsd-questions wrote:
> > > > 
> > > > Do you have any idea why a FreeBSD host sees only itself in the
> > > > "avahi-browse -a" output? 
> > > > 
> > > > There are other hosts on the LAN segment, and "avahi-browse -a" on an
> > > > Ubuntu host does show them (and does not show itself, which is
> > > > reasonable).
> > > 
> > > Created a PR https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252819
> > > 
> > 
> > It works OK here:
> 
> I wonder, what's different between your setup and mine? From the output below
> you can see that the name dexp1.local exists mDNS, but it is not browseable
> ("VAS" is the name of the local host):
> 
> vas at vas ~] avahi-browse -at
> +    re1 IPv6 vas                                           _ssh._tcp            local
> +    re1 IPv4 vas                                           _ssh._tcp            local
> +    re1 IPv6 vas                                           _sftp-ssh._tcp       local
> +    re1 IPv4 vas                                           _sftp-ssh._tcp       local
> +    re1 IPv6 VAS                                           _device-info._tcp    local
> +    re1 IPv4 VAS                                           _device-info._tcp    local
> +    re1 IPv6 VAS                                           _smb._tcp            local
> +    re1 IPv4 VAS                                           _smb._tcp            local
> [vas at vas ~] ping dexp1.local
> PING dexp1.local (192.168.170.252): 56 data bytes
> 64 bytes from 192.168.170.252: icmp_seq=0 ttl=64 time=0.212 ms
> 64 bytes from 192.168.170.252: icmp_seq=1 ttl=64 time=0.425 ms
> 64 bytes from 192.168.170.252: icmp_seq=2 ttl=64 time=0.291 ms
> ^C
> --- dexp1.local ping statistics ---
> 3 packets transmitted, 3 packets received, 0.0% packet loss
> round-trip min/avg/max/stddev = 0.212/0.309/0.425/0.088 ms
> [vas at vas ~] uname -a
> FreeBSD vas.sibptus.ru 12.2-RELEASE-p1 FreeBSD 12.2-RELEASE-p1 GENERIC  amd64
> 
I don't know where to start looking for differences. My setup is mostly generic. I would be happy to check whatever settings you might think affect you.


-- 



More information about the freebsd-questions mailing list