Tuesday, October 19, 2010

How to find MAC address

MAC address of your computer

Windows 2000 / XP / 2003 / 2008 / Vista / Windows 7

  1. Open a Command Prompt window by clicking the Start button, clicking Programs or All Programs, clicking Accessories, and then clicking Command Prompt.
  2. In the Command Prompt window type ipconfig /all
  3. Find the Physical Address line under the section that describes your network adapter. MAC address is listed as six groups of two hexadecimal digits, separated by hyphens (-).
C:\Documents and Settings\admin>ipconfig /all

Windows IP Configuration

Host Name . . . . . . . . . . . . : mypc
Primary Dns Suffix . . . . . . . : domain.local
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : domain.local

Ethernet adapter Wireless Network Connection:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) PRO/Wireless 3945ABG Network Connection
Physical Address. . . . . . . . . : 00-13-02-80-92-7A
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.0.3
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
DHCP Server . . . . . . . . . . . : 192.168.0.1
DNS Servers . . . . . . . . . . . : 192.168.0.1
Lease Obtained. . . . . . . . . . : Sunday, February 15, 2008 3:19:03 PM
Lease Expires . . . . . . . . . . : Friday, February 20, 2008 3:19:03 PM

Ethernet adapter Local Area Connection:

Media State . . . . . . . . . . . : Media disconnected
Description . . . . . . . . . . . : Intel(R) PRO/1000 PL Network Connection
Physical Address. . . . . . . . . : 00-0E-7B-89-C4-E0

Ethernet adapter Local Area Connection 2:

Media State . . . . . . . . . . . : Media disconnected
Description . . . . . . . . . . . : Bluetooth Personal Area Network from TOSHIBA
Physical Address. . . . . . . . . : 00-03-7A-F3-6C-E7

Windows Vista / Windows 7 / Windows 2008 (Full Installation only)

  1. Open a Command Prompt window by clicking the Start button, clicking Programs or All Programs, clicking Accessories, and then clicking Command Prompt.
  2. In the Command Prompt window type getmac (or getmac /v if your computer has more than one network adapter).
  3. MAC address is listed as six groups of two hexadecimal digits, separated by hyphens (-) in the beginning of the line.
C:\Users\admin>getmac
Physical Address Transport Name
=================== ==========================================================
00-21-85-0C-52-A3 \Device\Tcpip_{4B89E525-B2FE-4E02-B769-D671265BBDE6}

LINUX

  1. Open a terminal or console window.
  2. In the window type ifconfig
  3. MAC address is marked as HWaddr and listed as six groups of two hexadecimal digits, separated by colon (:).
root@host:~# ifconfig
eth1 Link encap:Ethernet HWaddr 00:10:5A:0D:5A:A5
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::210:5aff:f00d:5bb5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1206866 errors:54423 dropped:0 overruns:0 frame:81536
TX packets:941228 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:332783971 (317.3 MiB) TX bytes:214601237 (204.6 MiB)
Interrupt:10 Base address:0xa000

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:16436 Metric:1
RX packets:1573 errors:0 dropped:0 overruns:0 frame:0
TX packets:1573 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:99765 (97.4 KiB) TX bytes:99765 (97.4 KiB)

Apple Mac OS X 10.2-10.6

  1. Launch Finder, open Applications folder, then open Utilities folder and start Terminal.
  2. In the Terminal window type ifconfig
  3. Find the ether line under the section that describes your network adapter. MAC address is listed as six groups of two hexadecimal digits, separated by by colon (:).
host:~ user$ ifconfig
lo0: flags=8049 mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
gif0: flags=8010 mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8863 mtu 1500
ether 00:25:bc:de:96:74
media: autoselect status: inactive
supported media: none autoselect 10baseT/UTP 10baseT/UTP 10baseT/UTP 10baseT/UTP 100baseTX 100baseTX 100baseTX 100baseTX 1000baseT 1000baseT 1000baseT
fw0: flags=8863 mtu 4078
lladdr 00:25:bc:ff:fe:de:98:64
media: autoselect status: inactive
supported media: autoselect
en1: flags=8863 mtu 1500
inet6 fe80::225:ff:fe4e:a73d%en1 prefixlen 64 scopeid 0x6
inet 192.168.0.101 netmask 0xffffff00 broadcast 192.168.0.255
ether 00:25:00:4e:a8:39
media: autoselect status: active
supported media: autoselect

MAC address of a system connected to the same subnet as your computer

Windows 2000 / XP / 2003 / 2008 / Vista / Windows 7

  1. Open a Command Prompt window by clicking the Start button, clicking Programs or All Programs, clicking Accessories, and then clicking Command Prompt.
  2. In the Command Prompt window type ping
    Replace with an IP address of the system you want to find MAC address.
  3. In the same Command Prompt window type arp -a
    MAC address is listed in the Physical Address column as six groups of two hexadecimal digits, separated by hyphens (-).
C:\Documents and Settings\User>ping 192.168.0.1

Pinging 192.168.0.1 with 32 bytes of data:

Reply from 192.168.0.1: bytes=32 time<1ms TTL=127
Reply from 192.168.0.1: bytes=32 time<1ms TTL=127
Reply from 192.168.0.1: bytes=32 time<1ms TTL=127
Reply from 192.168.0.1: bytes=32 time<1ms TTL=127

Ping statistics for 192.168.0.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\Documents and Settings\User>arp -a

Interface: 192.168.0.101 --- 0x2
Internet Address Physical Address Type
192.168.0.1 00-17-9a-46-7c-a3 dynamic

LINUX

  1. Open a terminal or console window.
  2. In the window type ping -c1
    Replace with an IP address of the system you want to find MAC address.
  3. In the same window type arp
    MAC address is listed in the HWaddress column as six groups of two hexadecimal digits, separated by colon (:).
root@host:~# ping -c1 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=127 time=4.22 ms

--- 192.168.0.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 4.223/4.223/4.223/0.000 ms
root@host:~# arp
Address HWtype HWaddress Flags Mask Iface
192.168.0.1 ether 00:17:9A:46:7C:A3 C eth1

MAC address of your Smart Phone / Mobile device

iPhone / iPod Touch

  1. Tap Settings. Select General and then About.
  2. Scroll down until you find Wi-Fi Address line. Wi-Fi Address line shows MAC address as six groups of two hexadecimal digits, separated by colon (:).

iPad

  1. Tap Settings. Select General on the left side and then About on the right.
  2. Find the Wi-Fi Address line. Wi-Fi Address line shows MAC address as six groups of two hexadecimal digits, separated by colon (:).

No comments:

kunkun-laptop .... ;)