How to: Find a hardware address in Linux


Any links or information in this article are merely provided as a convenience or informational resource. They do not imply nor represent an endorsement by Texas Tech University or its affiliates. For additional assistance, please contact the manufacturer/provider of the product/service or your preferred third-party support provider.


On Linux systems, the Ethernet device is typically called eth0. In order to find the hardware address of the Ethernet device:

1) Open the Terminal.

2) Type ipconfig -a and press Enter.


The hardware address is the 12-digit string of characters separated by colons (i.e., 01:23:45:AB:CD:EF).


# ipconfig -a eth0 Link encap:Ethernet HWaddr 01:23:45:AB:CD:EF inet addr: Bcast: Mask: UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:15647904 errors:0 dropped:0 overruns:0 TX packets:69559 errors:0 dropped:0 overruns:0 Interrupt:10 Base address:0x300