I am reading the following procedure: How can I discover the hostnames for all the machines on my lan? .
However, when I tried the command avahi-browse -av -d local
, it showed the followings, although many more computers (with avahi enabled) are connected in the local network.
Server version: avahi 0.8; Host name: mycomputer.local
E Ifce Prot Name Type Domain
+ ZZZZZZZZZ IPv4 anothercomputer1 [XX:XX:XX:XX:XX:XX] Workstation local
+ ZZZZZZZZZ IPv4 anothercomputer2 [XX:XX:XX:XX:XX:XX] Workstation local
+ ZZZZZZZZZ IPv4 anothercomputer3 [XX:XX:XX:XX:XX:XX] Workstation local
: Cache exhausted
: All for now
In addition, I can connect computers that are not shown above via mDNS, for example, ssh anothercomputer10.local
works.
How should I do to find all local computers via avahi?