How to: Find a hardware address in Linux


Introduction

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.

Instructions

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.


OUTCOME

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

EXAMPLE:

# ipconfig -a eth0 Link encap:Ethernet HWaddr 01:23:45:AB:CD:EF inet addr:131.225.84.67 Bcast:111.215.87.255 Mask:255.255.248.0 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