View previous topic :: View next topic |
Author |
Message |
stevenylai n00b
Joined: 30 Dec 2012 Posts: 16
|
Posted: Mon Sep 15, 2014 7:49 am Post subject: How to find IP address given MAC |
|
|
As titled, could anyone tell me how this can be done and what packages are needed?
I've tried "arp -a" but it's not showing all the IP addresses on the LAN. |
|
Back to top |
|
|
stevenylai n00b
Joined: 30 Dec 2012 Posts: 16
|
Posted: Mon Sep 15, 2014 8:21 am Post subject: |
|
|
Looks like: arp-scan -l --interface eno1 can do the trick (replace eno1 with your interface) |
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3136
|
Posted: Mon Sep 15, 2014 9:06 pm Post subject: |
|
|
You can use arp -n to retrieve MAC <-> IP table, however you must make your system discover this table fist.
So, you must request IPs to be resolved to MACs. How? Make all devices in your network tell you their MAC. How? E.g ping them. |
|
Back to top |
|
|
|