AndroidNetworkTools icon indicating copy to clipboard operation
AndroidNetworkTools copied to clipboard

Multiple ip has same MAC address.

Open Akashdg opened this issue 6 years ago • 1 comments

When I use ARPInfo.getAllIPAndMACAddressesInARPCache() line, it returns me some IP and mac but there is one mac address which is same for 4 different ip. when I run "apr -a" in cmd it give me different mac that above code and cmd give me unique mac addresses.

Akashdg avatar Aug 29 '19 10:08 Akashdg

The function just parses each line in the /proc/net/arp file so I would imagine this mac address is appearing multiple times for the same IP in there. I'm not sure if this is a bug in the arp cache, or simply a feature I don't understand. If it's possible for you to inspect the file directly and see if there are some unexpected values in the file it would help us figure out what's going on!

Thanks

stealthcopter avatar Nov 03 '19 10:11 stealthcopter