How to find my MAC address on Linux? | FAQ | MAC Address Vendor Lookup
Frequently asked questions

How to find my MAC address on Linux?

The first way

For Linux, you can always use the universal way: the command line!

  1. 1

    You can do so by executing one of these commands.

    $ ifconfig
    enp2s0f0  Link encap:Ethernet  HWaddr b8:88:e3:b0:f3:f0
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
              Interrupt:16
    
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:1969 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1969 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:198134 (198.1 KB)  TX bytes:198134 (198.1 KB)
    
    wlp3s0    Link encap:Ethernet  HWaddr a4:17:31:79:1e:01
              inet addr:192.168.1.43  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::4828:6227:27b9:2670/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:111214 errors:0 dropped:0 overruns:0 frame:0
              TX packets:76742 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:87608671 (87.6 MB)  TX bytes:13789254 (13.7 MB)
    
    $ ip address show
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
        link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
        inet 127.0.0.1/8 scope host lo
           valid_lft forever preferred_lft forever
        inet6 ::1/128 scope host
           valid_lft forever preferred_lft forever
    2: enp2s0f0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
        link/ether b8:88:e3:b0:f3:f0 brd ff:ff:ff:ff:ff:ff
    3: wlp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
        link/ether a4:17:31:79:1e:01 brd ff:ff:ff:ff:ff:ff
        inet 192.168.1.43/24 brd 192.168.1.255 scope global dynamic wlp3s0
           valid_lft 21562sec preferred_lft 21562sec
        inet6 fe80::4828:6227:27b9:2670/64 scope link
           valid_lft forever preferred_lft forever
  2. 2

    As you can see, there is a lot of output, but we are only interested in MAC addresses (They are underlined in red).

    We are only interested in MAC addresses (They are underlined in red). These screenshots show that my computer has three network interfaces.

    These screenshots show that my computer has three network interfaces: lo - Local loopback, enp2s0f0 - my ehternet adapter and wlp3s0 - my Wi-Fi adapter.

The second way

If you are using Ubuntu 16.04, you can find your MAC addresses via GUI.

  1. 1

    Open All Settings application and click on Network.

    Open "All Settings" application and click on "Network".
  2. 2

    Select Wireless and choose the connection you have plugged in and click on the blue arrow.

    Select "Wireless" and choose the connection you have plugged
  3. 3

    Now you can see your MAC address.

    Now you can see your MAC address.
  4. 4

    You may not have an active connection, so you can try to connect to any available one. Then you can click on the blue arrow, which opens the connection info. Since you aren't connected yet, you need to click on the Settings button.

    You may not have an active connection Opens the connection info

    If you want to know the MAC address of your wired connection, click on Wired in step 2.

    If you want to know the MAC address of your wired connection, click on "Wired"

Find MAC address on different platforms

Trusted by the following companies

Flex.com webafrica.co.za wework.com guarddog.ai cybercns.com

and many more...

Download an exhaustive MAC Address Vendor Database for your educational, business or enterprise needs.

Our database comes in the following forms: JSON, CSV, XML, Cisco vendorMacs.xml for maximum compatibility and fast integration into existing systems. The API version is also available.

The data was just refreshed