When I use the command
ping ff02::1%eth0 to get a response from all IPv6 hosts in the network segment, I get responses from a bunch of link-local (
fe80::) addresses (LLIPs).
In order to figure out which hosts are (or are not) responding, I then have to use
arp to see the MAC address associated with the IPv4 address, and then try to match them up with the IPv6 address to figure out which host is which.
Although I am starting to remember which MAC address belongs to which host, I'd much rather have the system automatically map the LLIPs back to hostnames.
Is there any mechanism to do this?
I have tried putting the LLIP in
/etc/hosts, with and without the zone (
%interface suffix), and this allows me to ping a single host by name, but it is not used by
ping to convert IP responses back to hostnames.
ping has the
-n option to avoid name resolution which hints to me that what I am trying to achieve is possible, I'm just not quite sure how to do it!