![]() In order to get your current MAC address, execute the “ip addr” command with the “show” option. In most cases, it is used in order to determine your current IP address, but it can also be used in order to get your MAC address. If you are a veteran system administrator, you are probably already very familiar with the “ip” command. However, using the “ifconfig” command is not the only way for you to get your MAC address. You successfully found your MAC address on Linux. Note : if you are dealing with a virtual machine, or if you are currently renting a VPS, you may be assigned a virtual MAC address that is not linked to a specific vendor.Īlso, if you have multiple network interfaces, they will all display their own individual addresses. The first three triplets are reserved for the OUI vendor (02:42:35 being the OUI vendor, and 54:98:2a the specific MAC address). In this case, you are interested in the layer 2 information, more precisely the ether MAC address.Īs you can see, when running the “ ifconfig” command, my current MAC address is 02:42:35:54:98:2a.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |