Find your mac address
- 1 How to find your MAC address
- 1.1 Unix
- 1.2 Windows
- 1.3 Macintosh
How to find your MAC address
On Solaris and SunOS systems, the ethernet device is typically called le0 or ie0. In order to find the MAC address of the ethernet device, you must first become root, through the use of su. Then, type ifconfig -a and look up the relevant info. For example:
# ifconfig -a le0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500 inet 18.104.22.168 netmask fffff800 broadcast 22.214.171.124 ether 8:0:20:10:d2:ae
Note: Solaris and SunOS strip off the leading 0 commonly included in the MAC address. In the case of this machine, the MAC address is 08:00:20:10:d2:ae
On Linux systems, the ethernet device is typically called eth0. In order to find the MAC address of the ethernet device, you must first become root, through the use of su. Then, type ifconfig -a and look up the relevant info. For example:
# ifconfig -a eth0 Link encap:Ethernet HWaddr 00:60:08:C4:99:AA inet addr:126.96.36.199 Bcast:188.8.131.52 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
The MAC address is the HWaddr listed on the first line. In the case of this machine, it is 00:60:08:C4:99:AA.
On a FreeBSD machine the command dmesg will display the MAC address, among other things.
On HP systems, the ethernet device is typically called lan0. Type lanscan and look up the relevant info. For example:
$ lanscan Hardware Station Dev Hardware Net-Interface NM Encapsulation Mjr Path Address lu State NameUnit State ID Methods Num 2.0.2 0x08000935C99D 0 UP lan0 UP 4 ETHER 52
Note: HP systems remove the :'s from the MAC address. In the case of this system, the MAC address is 08:00:09:35:C9:9D.
If you have TCP/IP installed, run winipcfg (click Start, then Run, then type winipcfg in the text box.) Once the program runs, look for a box marked Adapter Address. This is your MAC address.
If you have TCP/IP installed, run ipconfig /all from an MS-DOS shell window.
Windows 2000 / XP
If you have TCP/IP installed, run ipconfig/all from a Command Prompt window.
(click Start, then Run, then type cmd in the text box.)
Type in ipconfig/all in the Command Prompt Windows.
The 12-digit Physical Address is the same as MAC address
- You will need to register all MAC addresses in cases where you have both wired and wireless interface in your system.
MAC OS X
Open 'System Preferences' (usually found in the Dock) and select Network. Pick a location and specify the interface whose MAC address is desired in the Show: drop down list. For 'Built-in Ethernet', select the Ethernet tab. Read the MAC address labeled 'Ethernet ID:'.
For wireless, select 'Airport' in the Show: dialog. Read the MAC address labeled 'Airport ID:'.
Open the AppleTalk control panel. Go to the Edit Menu and select User Mode . Select the Advanced radio button and click OK. Click info. The MAC address is displayed in the AppleTalk Info window.
Built-in Ethernet computers using MacTCP
Generally this information is not required in order to set up an AppleTalk network. However, here are four methods to find the built-in Ethernet address:
Note: In order to obtain the Built-In Ethernet hardware address, the card will need to be initialized (hooked up to a valid Ethernet network).
- Use MacTCP to identify the Ethernet address by opening MacTCP and using the Option key when selecting the Ethernet icon. For this to work you must be sure the caps lock key is NOT depressed, and connected to an Ethernet network.
- If your computer is using Open Transport (OT) 1.1 there is a built-in feature that lets you find the Ethernet hardware address. Follow the steps below: (Your computer has to be on the Ethernet network to do this. If it is not, you cannot perform these steps.)
- Open the AppleTalk control panel.
- Go to the Edit menu and select User Mode.
- Select the Advanced radio button and click OK.
- Click Info.
- The hardware address is displayed in the AppleTalk Info window.
- You can also use the Apple LAN Utility to report the burned in address without being connected to a network. This article can help you locate the Apple LAN Utility software, "Where To Find Apple Software Updates" -- Lists online services for free Apple software updates.
- You can obtain the AG Group EtherPeek network monitoring application, which includes a utility called it GetMyAddress. This utility will also return the address of the computer's internal Ethernet interface.
Built-in Ethernet computers using Open Transport
Built-in Ethernet computers using Open Transport includes any NuBus-based or PCI-based Power Macintosh computer with Mac OS 7.6 or later and configured for Open Transport.
You can find the hardware Ethernet address by opening the AppleTalk control panel and clicking the Info button in either the Advanced, or Administrator mode, shown in Figure 1. To access the Advanced or Administrator mode, choose User Mode from the Edit menu.
Note: If you have a Power Macintosh 9500 computer with version 1.0 of the System Enabler 701, you should update to System 7.5.3 or later with Open Transport 1.1 or later.
You can also use one of the following to find the Ethernet address:
Apple System Profiler 2.1.2
The Network Overview (under System Profile tab) has information that will detail the hardware Ethernet address, shown in Figure 2.
Current versions of GetMyAddress and other network utilities may not work with System 7.5.2 that came on some PCI-based Power Macintosh computers like the 7200, 7500, 8500, and 9500. You have a number of options.
Standard UNIX Tools
Many system administrators may require Ethernet hardware addresses for bootpd and rarpd configurations. If you are using a UNIX host for these network configuration services, you can use standard UNIX tools to determine the hardware address. Follow these steps:
1. Configure TCP/IP to the desired IP address. 2. Ping the Power Macintosh with Open Transport from a UNIX workstation. 3. Use arp to display address resolution table. For example, in A/UX the command would be "arp -a".
Built-in Ethernet LaserWriters
To obtain the address of built-in Ethernet LaserWriters, you can use the LaserWriter utility that ships with the printer. Simply print the configuration page from within the LaserWriter utility program. The printout includes the physical address of the Ethernet interface. You must also be connected to an Ethernet network.