You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Akashdg
changed the title
Multiple ip has same MAC addresses.
Multiple ip has same MAC address.
Aug 29, 2019
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!
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.
The text was updated successfully, but these errors were encountered: