Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jan 2021 09:19:24 +0700
From:      Victor Sudakov <vas@sibptus.ru>
To:        freebsd-questions@freebsd.org
Subject:   Re: "avahi-browse -a" does not show hosts on LAN
Message-ID:  <20210120021924.GA603@admin.sibptus.ru>
In-Reply-To: <20210119084633.44a8ede92689c65c789fe4de@aim.com>
References:  <20210117173628.GA11235@admin.sibptus.ru> <20210119055402.GA26903@admin.sibptus.ru> <20210119084633.44a8ede92689c65c789fe4de@aim.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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@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@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@vas ~] uname -a
FreeBSD vas.sibptus.ru 12.2-RELEASE-p1 FreeBSD 12.2-RELEASE-p1 GENERIC  amd64



-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJgB5MsAAoJEA2k8lmbXsY0MewIAIRz3kP+KOGawxyyHbU7seAW
t13PNBuSuqTlKgixm14pxcPAOQCkcwydHfB3mrS2U/SX3MsDkavQ8HVtu1H6bC9T
h9w1ZfnpYJhtou87fZPVj4SGSM7j5cIOp4iiD3UwOUrUA81CpN3hehNfwwUhypwn
H5bJ2Pbo2J/G7WKCI1k/ZWBm5v8j/oEVVse/iyMg+eag0QwnDi65eUZSzNKj7Va8
Xp0dyoaIjT5oDth5xxvF5xmbMen/1AMLDmVNj7OEmBAs4T5X8/779IQbS2SRPuov
mr655kT8dDXDBGYORFsOXDDJN20LcwXsIYmIZ+Le9KCFJ3SA1sLP48u5JE4xwNo=
=PfRn
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210120021924.GA603>