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

Victor Sudakov vas at sibptus.ru
Wed Jan 20 02:19:27 UTC 2021


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



-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49 at fidonet http://vas.tomsk.ru/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20210120/0ae8a2de/attachment.sig>


More information about the freebsd-questions mailing list