The network card identifier, known as the MAC address, is a unique code assigned to each network interface during manufacturing. Knowing this parameter is critical for setting up a home network, implementing parental controls, or connecting to corporate Wi-Fi that uses hardware ID filtering. Users often need to whitelist their laptop or phone on the router to ensure a stable connection without constantly entering a password.
There are many ways to obtain this information, and the method you choose depends directly on the operating system of the device you're currently using. You can use built-in command line utilities, a graphical settings interface, or even access the router's administrative panel. In this article, we'll cover all the relevant methods for various platforms in detail, so you can quickly find the data you need.
Finding an address using the command line in Windows
operating system Windows provides the fastest access to network information through the standard console. This method is universal and works on all versions of the system, from older ones Windows 7 to the latest Windows 11You don't need to install any additional software; just run the built-in utility.
To begin, open the Start menu and type cmd, then launch the "Command Prompt". In the window that appears, enter the command ipconfig /all and press Enter. The system will display a detailed list of all network connections. Find the section corresponding to your wireless adapter (usually it's called "Wireless Network" or contains the word Wi-Fi). The value you are looking for will be listed as "Physical Address".
An alternative way to get more detailed information about drivers and MAC address is to use the utility getmacEnter the command in the console:
getmac /v
This command will display the transport name, network adapter, and physical address in a more compact format. Please note that if the system has multiple network cards (for example, an integrated Ethernet card and an external USB Wi-Fi module), each will have its own unique identifier.
⚠️ Note: In modern versions of Windows (10 and 11), the "Randomize device addresses" feature is enabled to enhance privacy. If you see a changing address, disable this feature in the network settings before testing if you need a consistent physical address for the card.
Sometimes users confuse the IPv4 address with the physical address. Remember that the IP can change with each connection, whereas MAC address"hard-coded" (although it can be changed programmatically) and looks like a sequence of 12 hexadecimal digits separated by hyphens or colons.
Finding your MAC address on macOS and Linux
Users of technology Apple and operating systems based on Linux You can also quickly access network settings through the terminal. On macOS, this is done through the utility ifconfig or system settings, which allows you to flexibly manage connection parameters.
On macOS, open Terminal (via Spotlight or in the Applications folder) and enter the command:
ifconfig en0
Here en0 usually refers to a built-in Wi-Fi adapter. Look for the line in the output ether, followed by the desired six-character code. For a graphical interface, the path would look like this: System Preferences → Network → Wi-Fi → Advanced (or Details) → Hardware.
In Linux distributions such as Ubuntu, Debian or CentOS, the commands may differ slightly depending on the distribution and kernel version. The standard command remains ifconfig, but in modern systems it is often replaced by the utility ipEnter in the terminal:
ip link show
You will see a list of interfaces. Wireless adapters are often labeled as wlan0, wlp2s0 or similar names. The parameter will be listed next to the interface name. link/ether with the required address.
- 🍏 For macOS, use the command
networksetup -listallhardwareportsfor a convenient list of all ports. - 🐧 In Linux, the command
cat /sys/class/net/wlan0/addresswill instantly show the address of a specific interface. - 🖥️ The graphical interface in Linux is located in the network settings, in the "Details" or "About connection" tab.
Testing on Android and iOS smartphones
Mobile devices have their own unique way of displaying network data. Smartphone owners often need to know the MAC address to connect to guest Wi-Fi in hotels or offices where device registration is required.
On devices Android the path may differ slightly depending on the manufacturer's shell (Samsung One UI, Xiaomi MIUI etc.), but the general algorithm is the same. Go to Settings → Connections (or Network & Internet) → Wi-FiClick the gear icon next to your active network or select "More." The address will be listed in the "Network Details" section.
⚠️ Note: Starting with Android 10, the system uses a randomized MAC address by default for each new network. To get the device's actual physical address, go to
Settings → About phone → Statusor disable the "Use randomized MAC address" feature in the settings of a specific Wi-Fi network.
In the ecosystem Apple iOS (iPhone, iPad) the situation is similar. Go to Settings → General → AboutThere you'll find the line "Wi-Fi address." This is the physical identifier of your wireless module.
It's important to distinguish between these two concepts when setting up privacy. In iOS 14 and later, as well as in recent versions of Android, the "Private Wi-Fi Address" feature is enabled by default. It generates a random address for each network to prevent tracking. If your network administrator requires you to register a hardware MAC address, you'll need to temporarily disable this feature for that specific access point.
- 📱 On Android, look for "Wi-Fi MAC address" in the "Status" or "About phone" section.
- 🍏 On iPhone, the real address is always listed in "About this device", regardless of the network privacy settings.
- 🔒 Randomization improves security in public places, but makes filtering on a home network more difficult.
Viewing connected devices on the router
The most reliable way to see the exact address the network is seeing is to look in the router's administrative panel. This method is especially useful if you don't have physical access to the device you need to connect, or if it's difficult to find the information you need in the menu.
Log into your router's web interface. This usually involves entering the address in your browser. 192.168.0.1 or 192.168.1.1 and enter the administrator login and password. Find a section that may be called "Client List," "DHCP Server," "Wireless Statistics," or "Connected Devices."
This list displays all the gadgets that are currently online. Next to the device name (e.g. Johns-iPhone or DESKTOP-PC) will display its MAC address. This is the identifier the router uses to assign IP addresses and apply filtering rules.
| Router brand | Menu section | Item name |
|---|---|---|
| TP-Link | Wireless / Wireless Statistics | MAC Address |
| ASUS | Network / Network Map | Clients |
| MikroTik | IP / DHCP Leases | MAC Address |
| Keenetic | My Networks and Wi-Fi / Client List | MAC address |
Using the router dashboard offers the advantage of not only seeing the address but also the device's activity. If the device is connected via cable, look for the "Network" section. LAN or Ethernet, the physical addresses of the ports will also be indicated there.
Physical labeling and documentation
If the device won't turn on or the operating system won't load, you can find the address physically. Electronics manufacturers often include this information on a label located on the back of the device, under the battery (if removable), or on the device's box.
Look for the field that says MAC, MAC ID or Physical AddressA barcode is usually located nearby. This is especially relevant for IoT devices: smart light bulbs, CCTV cameras, and televisions. Samsung or LG, where there is no full keyboard for entering commands.
The documentation for network cards or motherboards may also contain this information, although in the age of digital warranty cards, paper manuals are becoming increasingly rare. Integrated laptop modules sometimes require disassembling the case, which is not recommended for those without experience, so software-based methods are preferable.
- 🏷️ On routers, the sticker is almost always located on the bottom of the case.
- 📺 On Smart TV, the address can be found in the "Network" -> "Network Status" menu on the TV screen.
- 📦 On the box for a smartphone or tablet, the information is duplicated on the barcode.
☑️ Check before filtration
Table of formats and separators correspondence
When entering the address into your router settings or specialized software, it's important to follow the correct format. Different systems require different formatting: some require colons, others hyphens, and sometimes the address must be entered as one continuous string. Incorrect formatting will result in an "Invalid MAC Address" error.
Below is a table to help you navigate the different recording formats. The standard format is EUI-48, represented by six groups of two hexadecimal characters.
| System/Device | Example format | Separator |
|---|---|---|
| Windows (CMD) | 00-1A-2B-3C-4D-5E | Hyphen (-) |
| Linux / macOS | 00:1a:2b:3c:4d:5e | Colon (:) |
| Cisco IOS | 001a.2b3c.4d5e | Point (groups of 4) |
| Some routers | 001A2B3C4D5E | Absent |
Most modern router interfaces are "smart" and accept addresses in any format, automatically converting them. However, if you're using older models or specialized address cloning software, case sensitivity (uppercase or lowercase) and separators may be critical.
Common problems and their solutions
Users often encounter situations where a seemingly correct address doesn't work. One common cause is confusion between the WAN (global IP) and LAN (local MAC) addresses. Problems also arise when attempting to clone the ISP address to a new router.
If you change your network card or router, your ISP may block access because it sees the new device. In this case, use the "MAC Address Cloning" feature. You copy the address of the old card (which was registered with your ISP) into the new router's settings. This allows you to bypass the ISP's MAC lock.
⚠️ Note: Router and operating system interfaces are constantly updated. The location of menu items may change with the release of new firmware versions. If you don't find an exact match for an item name, look for synonyms: "Status," "Condition," "Information," or "Network Info."
Another issue is the presence of multiple network interfaces. A laptop may have a Bluetooth adapter, an Ethernet port, and a Wi-Fi module. Each has its own unique identifier. Make sure you copy the address of the wireless adapter (Wireless or Wi-Fi), not wired (Ethernet).
Corporate networks may use filtering not only by MAC address but also by 802.1X certificates. In this case, simply knowing the address won't be enough; a security profile will need to be configured.
Is it possible to change the MAC address programmatically?
Yes, this is possible. In Windows, this is done through Device Manager (network adapter properties → "Advanced" tab → "Network Address" or "Locally Administered Address" parameter). In Linux, use the command ip link set dev wlan0 address XX:XX:XX:XX:XX:XXHowever, this change is temporary and is reset after reboot unless specified in startup scripts.
What to do if the address contains zeros (00:00:00:00:00:00)?
This indicates a faulty driver or network adapter. The operating system cannot read the ID. Try reinstalling the drivers from the official website of the laptop or motherboard manufacturer. If that doesn't help, the network card may be faulty.
Does changing the MAC address affect internet speed?
Changing the address itself doesn't affect the physical speed of the link. However, if the ISP limits the speed for unauthorized devices, cloning an authorized address can restore full speed. Changing the address can also help reset some temporary DHCP server restrictions.
Where can I find the MAC address on my Samsung/LG TV?
On TVs, the path is usually as follows: "Settings" button (gear) on the remote → "All Settings" → "General" (or "Network") → "Network" → "Network Status" or "Wi-Fi Direct." The wireless module's address will be listed there. For a wired connection, look for "Cable Connection."