How to get the MAC address of the 'local' system given the IP address?

Chris Green cl at isbd.net
Fri Jan 31 10:02:47 UTC 2020


On Fri, Jan 31, 2020 at 09:52:16AM +0000, Chris Green wrote:
> On Thu, Jan 30, 2020 at 07:03:03PM -0800, rikona wrote:
> > On Thu, 30 Jan 2020 17:22:48 +0000
> > Chris Green <cl at isbd.net> wrote:
> > 
> > > You'd think this was easy but although I can find the information
> > > easily enough I can't find a concise way of doing it.
> > 
> > Perhaps you might log onto the router? Mine gives me a table with the
> > IP and MAC addresses for all connected devices.
> > 
> But not their names and not the company associated with the MAC address.
> 
... not to mention that, at least on my router, it uses ARP which
produces *exactly* the same limitation as I started out with, it
doesn't list itself.

I want output like that of 'arp-scan -lx' *plus* details of the device
which is running the ARP scan.


> I use this quite frequently to identify devices on my LAN, there are
> often 20 or more and some of them are not easily identified by just
> their IP address.
> 

-- 
Chris Green




More information about the ubuntu-users mailing list