

Let’s now learn how to do the same thing from a terminal, or even if you don’t have access to the computer yet.

Here is what it looks like on my test virtual machine: Grab your free PDF file with all the commands you need to know on Linux! Find the MAC address with the command line If you are also interested in finding the current IP address on Ubuntu, you can click on the link to read my complete guide. In general, “eth0” will be the wired connection, and “wlan0” the wireless connection. The other ones are probably useless in most cases. So, in this example, I know that the MAC address for my wired connection is “00:15:5d:de:19:05”. ARP is intended for use by system administrators and is not generally useful as a way to track down computers and people on the Internet.If you know the network interface name and want to only show this one, you can specify it in the command line: I can now use it to assign a static IP address to this computer or allow the connection if I have a whitelist system on my network. ARP works only within the small group of computers on a local area network (LAN), though, not across the Internet. Using "arp," you can in fact determine the MAC address of some computers from their IP address. In Windows, Linux and other operating systems, the command line utility "arp" shows this information. Most computers allow you to see the list of IP and MAC addresses that ARP has collected there. Using ARP, each computer maintains a list of both IP and MAC addresses for each device it has recently communicated with. The technology called ARP - Address Resolution Protocol included with TCP/IP makes it possible. However, computers connected to the same TCP/IP local network can determine each other's MAC addresses. Simply stated, a computer's own hardware configuration determines its MAC address while the configuration of the network it is connected to determines its IP address. These two addresses originate from different sources. It is usually not possible for a person to get the MAC address of a computer from its IP address alone.
