

When users refer to “ping”, they actually refer to the ICMP protocol which is a protocol used in order to diagnose and troubleshoot issues happening over a network. This article was named this way because many developers and engineers are searching for it this way, but this is partially correct. To be extremely clear, there is no such thing as “pinging” a MAC address. $ sudo apt-get install arpingįinally, when the command is properly installed, you will be able to ping the MAC address correctly.Ĭongratulations, you were able to successfully ping a MAC address on Linux! Difference between ARP and ICMP When you have administrator privileges, simply execute the “apt-get install” command and install the arping utility. If you are not sure about how you can get sudo privileges on Linux, there are many different tutorials that you can use for Debian or CentOS. In order to install it, you need sudo privileges.

Note that the arping command may not be installed by default on your system, you will need to install it. the 2.4 GHz and 5 GHz networks often have slightly different BSSIDs) – and of course on multi-AP networks (whether home mesh, or enterprise) they will be entirely different devices.By pinging the default gateway of this local network, we were able to determine that the MAC address 00:00:5E:00:01:6E is up and running. Even if the Wi-Fi AP is your router, it might still have a different Wi-Fi BSSID than the link-layer MAC address (e.g. Note: Don't confuse the access-point BSSID with the gateway (router) MAC address. Mode:Managed Frequency:2.462 GHz Access Point: 06:BF:92:DE:24:DD Rtl0 IEEE 802.11bgn ESSID:"Foo" Nickname:"" Tx bitrate: 468.0 MBit/s VHT-MCS 5 80MHz VHT-NSS 2įor WLAN interfaces with old (WEXT) drivers, run iwconfig wlan0: $ iwconfig rtl0 Rx bitrate: 433.3 MBit/s VHT-MCS 9 80MHz short GI VHT-NSS 1

In older versions: $ nmcli -f in-use,bssid,ssid dev wifi listįor WLAN interfaces with modern (nl80211) drivers, run iw wlan0 link to see the physical layer information (including BSSID and current rates) iw wlan0 station dump might show a little more. IN-USE BSSID SSID MODE CHAN RATE SIGNAL BARS SECURITYħ4:28:4D:E7:D5:D3 Foo Infra 13 270 Mbit/s 94 ▂▄▆█ WPA2 The currently associated AP will be marked with an * in the "IN-USE" column: $ nmcli dev wifi list -rescan no With NetworkManager, nmcli dev wifi list should show this.
