Every time you connect a smartphone, laptop, or smart light bulb to a wireless network, a complex device identification process takes place behind the scenes. The router must know exactly who is knocking at its "digital gate" to either grant access or, conversely, block the intruder. This system is based on a unique identifier assigned to the network adapter at the factory.
Many users are required to enter this code when setting up parental controls or device filtering, but do not fully understand its nature. MAC address (Media Access Control) is a physical address hardcoded into a network interface. Unlike an IP address, which can change dynamically with each reconnection, this identifier is designed to be constant. It allows the router to distinguish your iPhone from your neighbor's tablet, even if both devices are in the same coverage area.
Understanding how this addressing system works is critical not only for basic router setup but also for securing your home network. Attackers can exploit protocol vulnerabilities or spoof identifiers to gain access to your internet. Therefore, knowing how it works is crucial. Media Access Control and the ability to manage the list of approved devices is the first step to creating a secure perimeter for your local network.
Technical structure and purpose of the identifier
The Media Access Control address is a 48-bit number typically written in hexadecimal format. Visually, it appears as a sequence of 12 characters, including the numbers 0 through 9 and the letters A through F. For human readability, these characters are often paired with a colon or hyphen, for example: 00:1A:2B:3C:4D:5EThis structure is not random and contains important information about the equipment manufacturer.
The first 24 bits (the first 6 characters) are called OUI (Organizationally Unique Identifier). This prefix is assigned by the Institute of Electrical and Electronics Engineers (IEEE) to a specific network card manufacturer. These numbers can be used to identify who manufactured your device—whether it's Apple, Samsung or IntelThe remaining 24 bits are a unique number assigned by the manufacturer to each specific chip. The combination of the prefix and the unique number ensures that no two identical addresses exist (although a collision is theoretically possible, it is virtually impossible in practice).
It's important to understand that this address operates at Layer 2 (data link) of the OSI model. This means it's used to deliver data within a single local network. When a data packet is sent from your laptop to the router, it's packaged into a frame whose header contains the MAC addresses of the sender and recipient. The router reads this header and determines where on the local network the response signal should be sent.
Can the address be repeated?
Theoretically, yes, since the address space is finite, but the probability that two devices on the same network will have the same MAC address is close to zero. Manufacturers strictly enforce the uniqueness of the numbers they assign.
Differences between a MAC address and an IP address
Beginners often confuse these two concepts, considering them synonyms, but they perform completely different functions in network architecture. IP address (Internet Protocol) is a logical address assigned to a device by software, often automatically by DHCP. It can change each time a network connection is established or when the router is rebooted. An IP address is used for navigation on the global internet, helping data packets find their way through multiple intermediate nodes.
At the same time, a MAC address is a "hardware" binding, the physical identity of a network card. It is necessary for devices to communicate within a local area network (LAN). The router uses the ARP (Address Resolution Protocol) table to map a device's IP address to its physical MAC address. Without this mapping, data transmission within your home would be impossible, as the equipment wouldn't know which wireless module to transmit the bytes of information to.
Let's look at the main differences in the table below for better understanding:
| Characteristic | MAC address | IP address |
|---|---|---|
| Address type | Physical, permanent | Logical, mutable |
| Level of work | Channel (L2) | Network (L3) |
| Format | 48 bits (12 hex characters) | 32 bits (IPv4) or 128 bits (IPv6) |
| Purpose | Identification in a local network | Routing in the global network |
If you imagine the mail delivery process, your IP address is the address on the envelope, which can change if you move. Your MAC address is your passport, which remains the same no matter where you are. The router acts as the postman, first looking at the house address (IP), and then, upon entering the building, looking for a specific person by their passport (MAC) to deliver the letter.
Where to find the MAC address on various devices
Finding the physical address may be necessary for setting up filtering on a router or diagnosing connection issues. The location of this information depends on the operating system and device type. In modern smartphones and laptops, manufacturers often hide this data deep within the settings menu to avoid cluttering the interface with unnecessary information for the average user.
On devices running Windows The easiest way is to use the command line. By pressing the combination Win + R and entering the command cmd, you'll open a terminal. In the window that appears, enter the command ipconfig /allIn the list of adapters, find "Wireless Network" (Wi-Fi) and look for the line "Physical Address." The 12-character code you're looking for will be listed there.
For equipment owners Apple (macOS) Go to "System Preferences," select "Network," then click "Advanced," and then go to the "Hardware" tab. The address will be at the top of the list. On an iPhone or iPad, go to "Settings" -> "General" -> "About." The "Wi-Fi Address" (or "Wi-Fi Address") field will contain the necessary information.
For Android users, the path may vary slightly depending on the OS version and the manufacturer's shell (for example, Samsung OneUI or Xiaomi MIUI). Typically, you need to go to "Settings," select "About phone" or "Status," and then "Status" or "Wi-Fi address." On some models, you can also see the address by tapping the gear icon next to the name of the connected network.
☑️ How to find an address quickly
MAC Filtering: Network Security
One of the most popular features of home routers is MAC address filtering. This technology allows the network administrator to create a "whitelist" or "blacklist" of devices. In "Whitelist" mode, only devices whose IDs are entered into the router's table are granted access to the Wi-Fi network. All other devices, even with the password, will be unable to connect.
Deny List mode, on the other hand, blocks specific devices while allowing access to everyone else. This is convenient if you want to temporarily restrict access for a child or guest without changing the overall network password. Configuration is performed through the router's web interface, usually in the following sections: Wireless -> Wireless MAC Filter or Wireless mode -> MAC address filtering.
⚠️ Warning: MAC address filtering is not a secure data encryption method. A skilled hacker can eavesdrop on the air, see the address of an authorized device, and spoof (clone) it on their laptop, bypassing the protection. Use this method in conjunction with a strong WPA2/WPA3 password.
Setting up filtering requires careful attention. One mistake in a number or letter will result in a legitimate device losing network access. Therefore, when entering data into the router, it's best to copy it directly from the device or use the "Add from the list of connected clients" feature, if supported by your router (e.g., TP-Link, Asus, Keenetic).
MAC Address Change: Cloning and Randomization
Changing the physical address of a network card, known as "spoofing" or cloning, is often required by internet service providers. Many providers lock access to specific subscriber equipment upon initial connection. If you change your router or connect directly to your computer, your provider may not assign an IP address because it sees a new device. In this case, you need to clone the address of the old network card in the new router's settings.
In modern operating systems such as iOS 14+, Android 10+ And Windows 10/11The "Randomized MAC Address" feature has been implemented. When connecting to new Wi-Fi networks, the device generates a temporary, random identifier instead of the factory default. This enhances privacy by preventing tracking of the user's movements across public hotspots (cafes, airports, shopping malls).
However, this feature can cause problems on a home network if you have filtering or static IP address assignment configured. The device will appear new to the router each time, and access may be blocked. In this case, in the Wi-Fi settings on your smartphone or laptop, select "Use Device MAC Address" instead of "Random Address" for your home network.
For advanced users, it is possible to programmatically change the address in the operating system. In Linux, this is done via the terminal with the command ip link set dev wlan0 address XX:XX:XX:XX:XX:XXIn Windows, you can change the address through the Device Manager by opening the network adapter's properties and selecting the "Advanced" tab. Find "Network Address" in the list of properties and enter the desired value without separators.
Connection problems and their solutions
Despite the technology's stability, users sometimes encounter errors related to identifiers. A common problem is "MAC address conflict." This occurs when two devices on the same network have the same address (for example, due to a manual change or a manufacturing defect). As a result, one of the devices is constantly disconnected from the network or is unable to obtain an IP address.
Another common situation is when the router "forgets" devices or refuses to allow them in, even if the password is correct. This often happens after a router reset, when default filtering is enabled or the DHCP table is cleared. In this case, you may see messages in the router logs about connection attempts by unknown devices.
To diagnose problems, use built-in tools. In the Windows command line, use the command arp -a This will display a table of IP and MAC addresses known to your computer. If the device you need isn't there, there's no connection at a lower level. It's also a good idea to check if the "Access Control" feature is enabled on your router, which could block new connections without explicit administrator permission.
⚠️ Note: Resetting your router to factory settings deletes all filter lists and cloned addresses. If your ISP requires MAC address binding, you'll need to either re-enter the information into your router settings or call your ISP's technical support to reset the binding on their end.
If your device isn't seeing the network or isn't connecting, try forgetting the network on the device and reconnecting. In some cases, temporarily disabling address randomization on the client device can help. It's also worth making sure the router's DHCP address pool isn't exhausted (usually limited to 10-50 devices), although this rarely happens in home environments.
Frequently Asked Questions (FAQ)
Is it possible to completely hide your MAC address on the Internet?
Your MAC address is invisible to the outside world (the websites you visit). It's used only within your local network (between your device and the router). Your ISP sees your IP address, but not the physical address of your network card, because the Layer 2 frame headers are replaced when passing through the router. Therefore, there's no need to hide it from the internet—it simply doesn't get there.
What happens if I change the MAC address to the wrong one?
If you enter an incorrect format (for example, letters outside the AF or extra characters), the system will simply return an error and won't save the settings. If you enter a valid but incorrect address that's already taken by another device on the network, a conflict will occur, and one of the devices will stop working correctly. You can restore the factory address by resetting the network adapter or router.
Does MAC address affect Wi-Fi speed?
The address number itself doesn't affect data transfer speed. It's simply a marker. However, if there's an address conflict on the network or the router is wasting resources constantly checking long filter lists (thousands of entries, which is common on public hotspots), this could theoretically create micro-delays, but in a home environment, this impact is unnoticeable.
How to find out the manufacturer of a device by MAC address?
The first six characters (OUI) identify the manufacturer. There are online services and IEEE OUI databases where you can enter these six characters to retrieve the manufacturer's name. This is useful if you see an unfamiliar device in the list of connected router clients and want to determine whether it's a TV, phone, or camera.
Does the MAC address reset when you flash the router?
No, the physical address is stored in the chip's non-volatile memory and doesn't change with firmware updates or a factory reset. However, if you manually changed the address through software (cloning), a full reset will return the router to the factory default.