Find IP and Mac Addresses of LAN Network without subnet

819 Views Asked by At

I want to develop a software, my proper way is JAVA, It sounds simple, but has its own problems. I have a Network in which there are some devices ( about 400 radios or more) I do not know their IP. I just know the first and second part of their MAC addresses. I want to find out their IP and the whole Mac address of all. They are in my network, and i have forgotten their IP, and also MAC. I found this Link useful, but in this solution it is about remote connection to nmap and also you should known the range of IP. Note that this not about HACKING Or better to say is not about CRACKING or something like this, I have thousands of Radio's and they have been reset and need to be re-config. Actually i need their MAC to config more than IP. There are other questions on the net, but they are about having subnet, I do not have subnet of the LAN Network.

Now i am looking for any solution with java or other programming languages, with ARP or dd-wrt something like that, any suggestion? or any solutions? Any sample? I appreciate this. Thx all.

1

There are 1 best solutions below

2
On

If this is your network, inspect ARP tables form network devices. You get all MAC addresses and corresponding IPs. Use SNMP protocol and corresponding libs to get this data form your Java code.

To test this approach use snmpwalk utility.