Ethernet2 library get list of connected devices

Hello,

Does anyone know if there is a way to get a list of all connected devices on the network?

It is easy enough to find out your own ip, the dns ip, the gateway ip etc but I would ideally like to be able to request a list of connected devices such as you can get on a pc with ‘arp -a’ at the cmd prompt.

I’m using a W5500 module and the ethernet2.h library.

Steve.

It is easy enough to find out your own ip, the dns ip, the gateway ip etc but I would ideally like to be able to request a list of connected devices such as you can get on a pc with 'arp -a' at the cmd prompt.

arp -a doesn't show all connected devices but only the devices your PC had communication with (for which it did ARP). But you don't have access to the ARP table of the WizNet chips so you don't get a similar list. In theory you can ping the broadcast address and see who's answering but that isn't a reliable solution too. But I'm not aware of a reliable way to get a list all connected devices anyway.

Why do you (think you) need such a list? Maybe there are other methods to get what you actually need.