On 11/08/2019 21.13, James Knott wrote:
On 2019-08-11 02:56 PM, Carlos E. R. wrote:
On 11/08/2019 19.50, James Knott wrote:
On 2019-08-11 01:28 PM, Carlos E. R. wrote:
With IPv4 I can use nmap to scan my entire network to find it. Good look with scanning the IPv6 LAN in a reasonable time. From man nmap: -6: Enable IPv6 scanning And scan millions of addresses? The fc00:: range is huge.
And perhaps nmap is the wrong tool. It's a port scanner. While it can be used to find hosts, it's not the best way to do that.
I had to use it with some gadget I have, I forget which now. Ah, yes, my network controllable power socket strip. The procedure is nmap with some options and grep for a particular response (config web page, probably), that identifies the exact gadget in the network. This is basically the procedure that the manufacturer config program does, too (on Windows).
I mentioned using ip neighbor show. It shows all the IP addresses my computer is aware of. I just fired up Wireshark, to watch for ICMP6 packets, which include neighbor advertisements. It appears a device will advertise itself at around every several seconds (varies with device).
Ah. Did not know about mandatory advertisements. My printer is not in the list, though, but the only IPv6 address it has is the link-local.
So, every IPv6 address on the network will appear in the output of ip neighbor show. You will see all the IP addresses and their MAC address. It will not show host names, so you'll have to do some other checks, just like you would in IPv4.
Well, it is something, yes. -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)