๐ง MAC Address Explained
A MAC Address (Media Access Control Address) is a unique identifier assigned to network interfaces for communications on the physical network segment. It's also known as a hardware address, physical address, or Ethernet address.
๐ Format & Structure
Format: MAC addresses are 48-bit (6 bytes) represented as 12 hexadecimal digits, typically displayed in groups of 2 digits separated by colons, dashes, or dots.
Structure:
- First 3 bytes (OUI): Organizationally Unique Identifier - identifies the manufacturer/vendor
- Last 3 bytes: Network Interface Controller specific - assigned by manufacturer
Common Formats:
- Colon:
00:1B:44:11:3A:B7 (most common)
- Dash:
00-1B-44-11-3A-B7
- Dot:
001B.4411.3AB7 (Cisco format)
- No separator:
001B44113AB7
โ Why Do We Need MAC Addresses?
MAC addresses serve several critical functions in network communications:
- Device Identification: Uniquely identifies network devices on a local network segment
- Network Switching: Switches use MAC addresses to forward frames to the correct port
- Network Security: MAC filtering allows routers to permit or deny network access based on device MAC addresses
- Device Tracking: Network administrators can track and manage devices on their network
- ARP Protocol: Maps IP addresses to MAC addresses for local network communication
- Wake-on-LAN: Allows remote wake-up of computers using their MAC address
- Parental Controls: Some routers use MAC addresses to control internet access for specific devices
- Network Troubleshooting: Helps identify devices causing network issues
๐ How to Find MAC Address on Different Devices
๐ช Windows (10/11)
Method 1 - Command Prompt:
- Press
Win + R, type cmd, press Enter
- Type
ipconfig /all and press Enter
- Look for "Physical Address" under your network adapter (Ethernet or Wireless)
Method 2 - PowerShell:
- Press
Win + X, select "Windows PowerShell"
- Type
Get-NetAdapter | Select-Object Name, MacAddress
- View the MAC address for each network adapter
Method 3 - Settings:
- Go to Settings โ Network & Internet โ Wi-Fi (or Ethernet)
- Click on your network connection
- Scroll down to find "Physical address (MAC)"
๐ macOS
Method 1 - System Preferences:
- Click Apple menu โ System Preferences โ Network
- Select your network connection (Wi-Fi or Ethernet)
- Click "Advanced" โ "Hardware" tab
- MAC address is displayed at the top
Method 2 - Terminal:
- Open Terminal
- Type
ifconfig and press Enter
- Look for
ether or en0 (Wi-Fi) / en1 (Ethernet)
- The MAC address appears after "ether"
Method 3 - About This Mac:
- Click Apple menu โ About This Mac
- Click "System Report" โ "Network" โ "Wi-Fi" or "Ethernet"
- Find "MAC Address" in the details
๐ง Linux
Method 1 - Terminal (ifconfig):
- Open Terminal
- Type
ifconfig or ip addr show
- Look for
ether or HWaddr next to your network interface (eth0, wlan0, etc.)
Method 2 - Terminal (ip command):
- Type
ip link show
- Find your interface and look for
link/ether
Method 3 - Network Manager:
- Open Network Settings
- Select your connection โ Settings/Details
- MAC address is shown in connection details
๐ฑ Android
Method 1 - Settings:
- Go to Settings โ About Phone
- Tap "Status" or "Hardware Information"
- Find "Wi-Fi MAC address" or "Ethernet MAC address"
Method 2 - Wi-Fi Settings:
- Go to Settings โ Wi-Fi
- Tap the gear icon next to your connected network
- Scroll down to find "MAC address"
Method 3 - Developer Options:
- Enable Developer Options (tap Build Number 7 times)
- Go to Settings โ Developer Options
- Find "MAC address" in the list
๐ iOS (iPhone/iPad)
Method 1 - Settings:
- Go to Settings โ General โ About
- Scroll down to find "Wi-Fi Address" (this is the MAC address)
Note: iOS 14+ uses "Private Wi-Fi Address" by default. To see the actual MAC address, go to Settings โ Wi-Fi โ tap the (i) next to your network โ disable "Private Address"
๐ก Router/Network Device
Method 1 - Router Label:
- Check the physical label on the router/device
- MAC address is usually printed on a sticker
- May be labeled as "MAC", "MAC Address", or "Physical Address"
Method 2 - Router Admin Panel:
- Access router admin panel (usually 192.168.1.1 or 192.168.0.1)
- Navigate to "Status", "Network", or "LAN Settings"
- Find "MAC Address" or "Physical Address"
Method 3 - Command Line:
- Open Terminal/Command Prompt
- Type
arp -a to see MAC addresses of devices on your network
- Or use
ping followed by arp -a to find a specific device's MAC
๐ฎ Gaming Consoles
PlayStation: Settings โ System โ System Information โ MAC Address
Xbox: Settings โ Network โ Network Settings โ Advanced Settings โ MAC Address
Nintendo Switch: System Settings โ Internet โ MAC Address
๐ก Important Notes
- Each network interface (Wi-Fi, Ethernet, Bluetooth) has its own unique MAC address
- MAC addresses can be changed (MAC spoofing) for privacy or testing purposes
- Some devices use randomized MAC addresses for privacy (iOS 14+, Android 10+)
- MAC addresses are only used within the local network segment (Layer 2)
- For internet communication, IP addresses are used (Layer 3)
- Globally Unique MAC addresses are assigned by IEEE and cannot be duplicated
- Locally Administered MAC addresses (second character is 2, 6, A, or E) can be set manually