Everywhere you look, people are connected to the Internet. In fact, 71% of the global population are smartphone users. Add that to our increasing usage of laptops, Internet of Things (IoT) devices, and other Internet-connected devices, and you get the picture of how the world has become reliant on connectivity.
This connectivity is built on several technologies and processes that happen in the background. We will talk about two of the underlying technologies that are crucial to how the Internet and internal networks function—MAC and IP addresses.
Table of Contents
- What Is a MAC Address?
- What Is an IP Address?
- What Are the Key Differences between MAC Address vs IP Address?
- Can Two Devices Have the Same MAC or IP Address?
- How Can You Find Your MAC Address?
- How Can You Find Your IP Address?
What Is a MAC Address?
A media access control (MAC) address is a unique identifier assigned to a network interface card (NIC)—the part of a device that allows it to connect to a network. Device manufacturers typically build MAC addresses into devices, and they are meant to be permanent.
A MAC address has 12 alphanumeric digits commonly grouped into six pairs of characters separated by hyphens (e.g., 3C-9C-0F-DF-82-66). The first half of that code tells you who made the device while the second pinpoints that specific device.
This address is basically your device’s unique physical tag or hardware fingerprint—no other piece of hardware on a network should have the same MAC address. Otherwise, both devices would have communication problems since the address helps devices on a local network communicate with each other and ensure any data sent across the network reaches the correct device.
What Are the Types of MAC Addresses?
When we talk about “types,” we’re really talking about how those addresses are used to send data across a network. There are three main types.
- Unicast: These addresses are used for one-to-one communication, where data is sent from one device to another. For example, transferring files between two computers on the same local network relies on unicast addresses to make sure the file reaches the correct destination. This type of address is the most common and used in everyday device communication processes like browsing a website or printing a document.
- Multicast: This type of address is for one-to-many communication. It allows a single device to send data to a group of devices, provided they subscribe to a multicast address. Many online games, for example, use multicast addresses to simultaneously send game updates and player positions to multiple players in a game session.
- Broadcast: Broadcast addresses are used for one-to-all communication. That means when a device sends data to a broadcast address, it is sent to all devices on the local network. When you connect a new device to your home network, the device will broadcast a request to get the router’s IP address. All devices on the network will receive this request.
What Is an Example of a MAC Address?
The MAC address 3C-9C-0F-DF-82-66 cited in the previous section is one example. We can use a MAC address lookup tool to learn about this specific address.
Remember that the first half of the address refers to the device manufacturer. In our example, that’s Intel Corporation. We also know the address is unicast, among other details shown in the screenshot below.
What Is an IP Address?
An IP address, short for “Internet Protocol address,” is essentially a numerical label assigned to each device connected to the Internet. It tells other Internet-connected devices where to send data or a data request.
In a nutshell, IP addresses are used this way: If you want to visit a website, your computer sends a request with its IP address. The website server sees your IP address and responds by sending the website data to your device.
What Are the Types of IP Addresses?
There are two types of IP addresses—IPv4 and IPv6.
IPv4 is currently the most used IP standard, having been introduced in the early 1980s. IPv4 addresses are 32-bit—a sequence of 32 zeroes and ones divided into four groups of 8 bits called “octets.” Each octet can represent a number from 0 to 255. This format has presented some limitations, specifically in terms of the number of available IPv4 addresses—the pool has already been depleted in 2019.
This brings us to the other type of IP address—IPv6. It uses 128 bits and, therefore, addresses the IPv4 limitation by providing a huge number of possible addresses, specifically 2^128. This number is so large that it can accommodate the growth of the Internet for many years to come.
What Is an Example of an IP Address?
Here are some examples of both types of IP addresses.
- IPv4: 192.168.1.10
- IPv6: 4002:0dc8:85a3:0000:0000:8a2e:0570:7234
What Are the Key Differences between MAC Address vs IP Address ?
Now that you know what MAC and IP addresses are, you have a better understanding of their differences. We will compare IP vs MAC address in terms of purpose, scope, assignment, stability, and format in the table below.
| KEY DIFFERENCES | MAC ADDRESS | IP ADDRESS |
| Purpose | Identifies a piece of hardware on a local network and enables communication within that network | Identifies a device on the Internet and enables communication across different devices on the Internet |
| Scope | Local network communication via a local area network (LAN) | Global communication through the Internet |
| Assignment | Hardcoded by the manufacturer | Assigned by an Internet service provider (ISP) |
| Stability | Generally static though changeable in some cases | Can be dynamic (changing) or static (fixed) |
| Format | 12 hexadecimal digits often comprising six pairs separated by hyphens or colons (e.g., 00:1A:2B:3C:4D:5E) | 32-bit (IPv4) or 128-bit (IPv6) numerical or alphanumeric address typically in decimal or hexadecimal format separated by periods (IPv4) or colons (IPv6) |
Can Two Devices Have the Same MAC or IP Address?
No. MAC addresses and IP addresses should be unique, especially when the devices are on the same local network.
When two devices have the same MAC address on the same local network, it can cause significant network problems, such as communication failure and data corruption. Similarly, if two devices within a local network have the same IP address, it will cause conflicts that can lead to network connectivity issues.
How Can You Find Your MAC Address?
Finding your MAC address varies slightly depending on your operating system (OS). Here’s how to do it on common systems.
Finding Your MAC Address on Windows
- Open the Command Prompt by pressing the Windows key, typing cmd, and pressing Enter.
- Type ipconfig /all and press Enter.
- Look for Physical Address under the relevant network adapter (e.g., Ethernet adapter or Wireless LAN adapter). This is your MAC address.
Finding Your MAC Address on macOS
- Go to the Apple menu.
- Choose System Preferences > Network.
- Select Ethernet (for wired connections) or Wi-Fi (for wireless connections).
- Click Advanced > Hardware and look for the MAC address.
Finding Your MAC Address on Linux
- Open Terminal.
- Type ifconfig or ip addr show and press Enter.
- Look for HWaddr (for ifconfig) or link/ether (for ip addr show) and you will find the MAC address.
Finding Your MAC Address on Mobile Devices
The method of finding a mobile device’s MAC address depends on the version and manufacturer. Here’s how to find the information on common mobile OSs.
- Android: Generally, you can find the MAC address in the About phone or Wi-Fi settings. Sometimes, it is located within the developer options.
- iOS: Go to Settings > General > About > Wi-Fi address.
Some manufacturers have restricted direct access to MAC addresses for privacy reasons. In this case, you can log into the admin page of your Wi-Fi router to see all connected devices and their associated MAC addresses.
How Can You Find Your IP Address?
Finding your IP address is similar across Windows, macOS, and Linux. Simply open the Command Prompt (for Windows) or Terminal (for macOS and Linux), type ipconfig, and press Enter.
Alternatively for Windows, you can go to Network & Internet settings > Wi-Fi or Ethernet > Properties.
For mobile devices, the IP address can generally be found in the Wi-Fi network settings. However, a more surefire way to find the local IP address of an Android or iOS device is to look at the connected device page of your Wi-Fi router’s admin page.
Conclusion
MAC and IP addresses are different ways of identifying a device, each with distinct purposes and scopes. You can think of IP addresses as the postal address of an apartment building while MAC addresses are the apartment numbers within that building.






