printlogo
ETH Zuerich - Homepage
Department of Materials
 
print
  

How to find the MAC Address [1]

Finding MAC Address on Clients directly

To get the MAC address use one of the commands given below appropriate to your operating system. Sometimes, you have to look for the MAC address in the output.

Windows
command prompt %> getmac
or
command prompt %> ipconfig /all

MacOS X
terminal %> system_profiler SPNetworkDataType | grep "Ethernet Address"

Solaris
terminal %> /usr/sbin/arp `uname -n`

Irix
terminal %> /etc/nvram eaddr

HPUX
terminal %> /usr/sbin/lanscan -a | cut -d"x" -f2

Redhat Linux
terminal %> /sbin/ifconfig -a | grep "Ethernet"

Finding MAC Address remotely

This might or might not work depending on tcp_wrapper, firewall settings and other factors.

Windows <-> Windows
command prompt %> getmac /s computername

UNIX <-> everything
terminal %> /path/to/arp -a hostname

Tools with Graphical Interface

[1] MAC address, short for Media Access Control address, a 48 bit hardware address that uniquely identifies each node of a network. In IEEE 802 networks, the Data Link Control (DLC) layer of the OSI Reference Model is divided into two 24 bit sublayers: the Logical Link Control (LLC) layer and the Media Access Control (MAC) layer. The MAC layer interfaces directly with the network medium. Consequently, each different type of network medium requires a different MAC layer.

Vendors making network-ready equipment ensure that every machine in the world has a unique MAC address: 24 bit prefixes for MAC addresses are designed to hardware vendors, and each vendor is responsible for uniqueness of the lower 24 bits. The broadcast MAC address is ff:ff:ff:ff:ff:ff. All network interfaces recognize this wildcard MAC address as a broadcast address, and pass the packet up to a higher-level protocol handler.

 

Wichtiger Hinweis:
Diese Website wird in älteren Versionen von Netscape ohne graphische Elemente dargestellt. Die Funktionalität der Website ist aber trotzdem gewährleistet. Wenn Sie diese Website regelmässig benutzen, empfehlen wir Ihnen, auf Ihrem Computer einen aktuellen Browser zu installieren. Weitere Informationen finden Sie auf
folgender Seite.

Important Note:
The content in this site is accessible to any browser or Internet device, however, some graphics will display correctly only in the newer versions of Netscape. To get the most out of our site we suggest you upgrade to a newer browser.
More information

© 2012 ETH Zurich | Imprint | Disclaimer | 8 June 2005
top