Andy Smith <a...@strugglers.net> wrote: > Hi, > > On Sat, Oct 19, 2024 at 06:51:45PM +0100, Chris Green wrote: > > I am using nmap to scan my LAN with:- > > > > sudo nmap -sn 192.168.1.0/24 > > > > It works as expected except that it doesn't show the MAC address for > > the system that it's being run on:- > > The reason why it does not show your MAC address is that nmap is > analysing the traffic it receives. When you talk to a local IP address > this does not generate Ethernet frames so it does not involve a MAC > address. As such you are expecting nmap to report things it doesn't > have access to. > > You will need to explain what you are trying to achieve and find > another tool to do it with. > > If it's as simple as just wanting to know the MAC address of everything¹ > on your broadcast domain, you will just have to look up the MAC of the > thing you are doing it from separately. > Thanks Andy, an excellent explanation of what I'm seeing. ... and as you say I'm just using 'nmap -sn' to provide me with a list of hosts on my LAN.
-- Chris Green ·