Though it seems possible duplicate of this question. But the need to ask this question again is to simplify the scenario and the demands to just finding the IP address of the device.
The network in question can have multiple devices, multiple switches and no routers in between.
Things I've already tried:
Checking local ARP table by
arp -a
command. Though it works sometimes, but it's passive and not reliable.Reverse ARP, Dynamic Reverse ARP and Inverse ARP. The devices on networks seems very rude. They never answer these requests.
What I need: Some protocol(like ARP), in which I can send packets to target device by addressing its MAC. In return I get the device to send me some packet possibly with its IP. PS: A protocol that emulates MAC-ping can also suffice as a compromise.
Also, do LLDP and CDP request/response are implemented universally? Can I rely on them to accomplish the task?