NETworkManager icon indicating copy to clipboard operation
NETworkManager copied to clipboard

Mac Address not well reported when scanning network

Open thongor77 opened this issue 11 months ago • 2 comments

Hello,

not sure if it's a bug or something not fully implemented but when I scan my Network most of the time it report 00:00:00:00:00:00 as MAC Address (mostly when scanning an address where a Macintosh is connected to but not only)

thanks

thongor77 avatar Mar 15 '24 09:03 thongor77

Hi @thongor77,

where do you see the 00:00:00... as output? In the view (arp or netbios?) / copy&paste / export?

There are currently two ways to detect the MAC address of a host.

  1. ARP - which will only work on the same layer 2 network. You can verify this with

    # run ping agains host
    ping <IP_ADDR>
    # get local arp table
    arp -a
    

    You should find here the MAC address of the host there...

  2. NETBIOS which is not supported by every operating system...

BornToBeRoot avatar Mar 15 '24 16:03 BornToBeRoot

hello, sorry for the delay i'm seeing them when i'm doing a scan of a range of IP the application display the Hostname, ping with success for some result it dispay Netbios reachable :yes but le column MAC address still have the 00:00:00:00:00:00 result I attach a screenshot [cid:64631925-7b1a-4576-a175-193f2aad3862] Stephane


De : BornToBeRoot @.> Envoyé : vendredi 15 mars 2024 17:34 À : BornToBeRoot/NETworkManager @.> Cc : thongor77 @.>; Mention @.> Objet : Re: [BornToBeRoot/NETworkManager] Mac Address not well reported when scanning network (Issue #2647)

Hi @thongor77https://github.com/thongor77,

where do you see the 00:00:00... as output? In the view (arp or netbios?) / copy&paste / export?

There are currently two ways to detect the MAC address of a host.

  1. ARP - which will only work on the same layer 2 network. You can verify this with

run ping agains host

ping <IP_ADDR>

get local arp table

arp -a

You should find here the MAC address of the host there...

  1. NETBIOS which is not supported by every operating system...

— Reply to this email directly, view it on GitHubhttps://github.com/BornToBeRoot/NETworkManager/issues/2647#issuecomment-2000032856, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVWQAJDBGOCRNFGETWP7GCLYYMPKDAVCNFSM6AAAAABEXUJOP2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBQGAZTEOBVGY. You are receiving this because you were mentioned.Message ID: @.***>

thongor77 avatar Mar 21 '24 12:03 thongor77