Tethering MAC-Addresses to the Xiaomi router: a complete guide to debriefing errors

Filtering devices by MAC-Xiaomi routers are one of the most reliable ways to control access to your Wi-Fi network, unlike password protection, which can be compromised, binding to your Wi-Fi network. MAC It allows you to manually allow or block specific gadgets, from smartphones to smart light bulbs, but many users face problems: the router does not save the settings, the devices suddenly turn off, then after updating the firmware everything is reset. In this article, we will analyze all the current ways of setting up on Xiaomi Router models 4A/4C/4Q, AX1800, AX3000, AX6000 and others, and how to avoid common mistakes.

It's important to understand: binding MAC-Addresses are not a panacea for hacking, but an extra layer of protection. MAC (spoofing, but for most home networks, that's enough to prevent neighbors or random devices from connecting, and it's also useful for parental control, because you can only allow certain devices to be accessed during school hours or sleep hours.

We tested the instructions on the firmware MiWiFi ROM 2.0-3.6 and alternatives (Padavan, OpenWRT), so whether you're using standard or custom software, you'll find work solutions here. MAC β€” At the end of the article, there are workarounds.

What is it? MAC-address and why to register it in the router

MAC-Media Access Control is a unique network interface identifier that is assigned to a device during the manufacturing phase. IP, changeable, MAC It remains constant (unless you change it manually). For example, your Xiaomi Redmi Note 12 smartphone has one. MAC Wi-Fi, and the laptop - another.

Why do you need a binding?

  • πŸ”’ Security: Only authorized devices will be able to connect to the network, even if someone knows the password.
  • πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦ Parental Controls: Restricting access for children at night.
  • πŸ“‘ Network optimization: blocking β€œextra” gadgets that overload the channel (for example, smart speakers of neighbors).
  • πŸ›‘οΈ DDoS protection: preventing botnet devices (e.g., infected IoT gadgets) from connecting).

But there are also disadvantages: if you buy a new device (for example, Xiaomi Smart Band 8), it is a great choice. MAC It's not going to be allowed, and you're going to have to add it manually, and some providers are also linking the Internet channel to the Internet. MAC-router address – in this case, changing the address may result in the loss of the connection.

⚠️ Attention: Filtration MAC It does not replace Wi-Fi encryption (WPA2/WPA3). Always use a complex password along with the binding of addresses, otherwise the attacker can replace the password. MAC and connect to your network.

How do you know? MAC-binding-point

You need to get them before you can write addresses on a router, and the methods depend on the type of device:

On Android smartphones (Xiaomi, Redmi, POCO)

Open the Settings. β†’ The phone. β†’ General information β†’ MAC-Wi-Fi address. On some models, the path may be different: β†’ Wi-Fi β†’ βš™οΈ Additionally. β†’ MAC-address.

On iPhone/iPad

Go to Settings. β†’ Wi-Fi β†’ β“˜ near the connected network. MAC-The address will be indicated in the field Wi-Fi address.

Windows.

Start the command line (Win) + R β†’ cmd and enter:

ipconfig /all | findstr "Physical address"

For a Wi-Fi adapter, look for a line with Wireless Network.

On macOS

Open System settings β†’ Network β†’ Wi-Fi β†’ Additionally. β†’ Hardware address.

For smart devices (lamps, speakers, cameras)

MAC-The address is usually listed on a sticker on the case or in a mobile app (e.g. Mi Home for Xiaomi Smart Devices).If there is no sticker, try connecting the device to the router and view it. MAC In the list of connected customers (more on this below).

πŸ“Š Which devices do you most often tie to MAC?
Smartphones and tablets
Laptops and PCs
Smart speakers and lamps
Cameras and sensors
Game consoles
Type of deviceWhere to see. MACExample of address
Xiaomi SmartphoneSettings β†’ About the phoneA4:17:31:B2:F8:9D
Windows laptopThe ipconfig team /all00:1A:2B:3C:4D:5E
Yeelight smart lampSticker on the case or in Mi Home78:11:DC:12:AB:45
Game console PS5Settings β†’ Network β†’ Review of statusE0:3F:49:5A:B1:C2

Step-by-step instructions: how to prescribe MAC-address on Xiaomi router

Let’s look at the process on the example of standard firmware MiWiFi ROM (Most of the models are relevant: Xiaomi Router 4A, AX1800, AX3000 If you have an alternative firmware (e.g. Padavan), the instructions will be different - see the section below.

Step 1. Enter the Administrator Panel

Connect to the router network (via Wi-Fi or cable) and open the browser. Type in the address bar:

  • 192.168.31.1 (standard) IP For most of Xiaomi routers)
  • miwifi.com (alternative address)

If the page doesn’t open, check the connection or reset the router with the Reset button (hold 10 seconds).

Step 2: Authorization

Enter the login and password (often by default) admin/admin If you have changed the data and forgotten it, you will need a complete reset (see the warning below).

⚠️ Note: After resetting settings through Reset, all tied MAC-Addresses, Wi-Fi passwords and other settings will be lost. First try to restore access through the Mi WiFi app (if the router is linked to a Xiaomi account).

Step 3: Go to the filtering section MAC

In the control panel:

  1. Go to Additional Settings β†’ Security β†’ Filtration MAC.
  2. Activate the switch Include filtering MAC.
  3. Select a mode: πŸ”“ Whitelist: Allow connection to only specified devices. 🚫 Blacklist: Block only specified devices.

Step 4: Addition MAC-address

In the input field, specify the addresses by comma or line transfer. Examples of format:

  • With dividers: A4:17:31:B2:F8:9D
  • No separators: A41731B2F89D

Xiaomi router automatically converts the format, but it is better to use the standard look with colons.

Added all necessary MAC-address|The correct mode (white/blacklist) is selected)|Wi-Fi password not reset (unless planned)|Internet connection stable (no breaks)-->

Step 5: Save and restart

Click Save and wait for the router to restart (1-2 minutes).

  • Check the connection of the authorized devices.
  • Make sure that locked devices cannot connect.

πŸ’‘

If you don't use the settings after saving, try updating the router's firmware or resetting it to factory settings. Sometimes software bugs interfere with the correct filtration work.

Setting up MAC-Filtering on alternative firmware (Padavan, OpenWRT)

If you're using custom firmware, the interface and the customization logic will be different. Let's look at two popular options:

Padavan firmware

Entrance to the panel: 192.168.1.1 (default login/password: admin/admin). Next:

  1. Go to the Wireless Network β†’ Filter MAC-address.
  2. Select the mode: Allow (white list) or Prohibit (black list).
  3. Add addresses in format XX:XX:XX:XX:XX:XX.
  4. Save the settings and restart the router.

OpenWRT firmware

In OpenWRT, filtering is configured via the configuration file:

  1. Connect to the SSH (For example, through PuTTY).
  2. Open the file. /etc/config/wireless team: vi /etc/config/wireless
  3. Add a line with MAC-Addresses to the Wi-Fi section: option maclist 'A4:17:31:B2:F8:9D 00:1A:2B:3C:4D:5E'
  4. Specify the mode: option macfilter 'allow' (white list) or option macfilter 'deny' (black list).
  5. Save the file (:wq in vi) and restart the router: reboot

⚠️ Note: In OpenWRT, an error in the syntax of the wireless file can cause a loss of connection to the router. Before editing, back up with the cp command /etc/config/wireless /etc/config/wireless.bak.

Typical errors and their solutions

Even after the correct setup, filtering MAC It can work incorrectly. We'll look at the most common problems:

1. the devices are not connected, although they MAC whitelisted

Possible causes:

  • πŸ”„ The router did not save the settings (try repeating the procedure).
  • πŸ“‘ The device connects to the guest network (it has separate settings). MAC-filter).
  • πŸ”§ In firmware bugs (update the software through System Tools) β†’ Update).

2. MAC-address changed

Some devices (especially Android 10)+) randomize MAC To protect privacy, to shut it down:

  • Nana Xiaomi/Redmi: Settings β†’ Wi-Fi β†’ βš™οΈ Additionally. β†’ Private address (MAC) β†’ Shut down.
  • On iPhone: Settings β†’ Wi-Fi β†’ β“˜ β†’ Private Wi-Fi address β†’ Turn it off.

3.After the firmware update, the settings reset

This is a well-known problem of standard MiWiFi firmware ROM. Decisions:

  • πŸ“‹ Export settings before updating (System Tools) β†’ Backup).
  • πŸ”„ Use alternative firmware (e.g. Padavan) where settings are more stable.

4.Filtration is unstable (it blocks, then not)

The problem may be related to:

  • πŸ“Ά Router overload (try to disable some devices).
  • πŸ”Œ Unstable power supply (use Xiaomi’s power supply, not a third-party power supply).
  • πŸ› οΈ Conflict with other features (e.g. Band Steering in dual-band routers).
How to check if the router is actually blocking the device?
Connect the blocked device to the network and try to open any site. If the filtering works, you will see an error "No Internet connection" or the router will not let you connect at all (message "Authentication failed"). β†’ Logs – there will be records of the locks on MAC.

Mistake.Reason.Decision
MAC persistenceFirmware bugUpdate the software or reset the router
The device is connected despite the lockRandomization MACTurn off the private address in the device settings
After resetting, the settings are reset.Damaged flash memoryRe-flash the router or replace it with a new one
Filtration only works at 2.4 GHz.Separate settings for 5 GHzSet up. MAC-filter

Bypasses if the router does not support MAC-filtering

Some budget models (e.g. Xiaomi Router) 4A Gigabit Edition in early firmware versions does not have a built-in filtering function MAC. In that case, it is possible:

1. Use parental control on a schedule

Xiaomi routers have a time limiting function:

  1. Go to Additional Settings β†’ Parental control.
  2. Add the device to the MAC-address.
  3. Set a schedule (for example, lock from 23:00 to 7:00).

2. Set up filtration at level DHCP

You can tie it. IP-address MAC and block unwanted IP firewall:

  1. To the Local Network. β†’ DHCP Add static anchorages.
  2. In safety β†’ Firewall block ranges IP, off-list.

3. Install alternative firmware

Firmware like Padavan or OpenWRT supports advanced settings, including MAC-However, this requires technical skills and may not guarantee the safety of the filter.

4. Use a third-party router as an access point

Connect to the main router a second (such as TP-Link or Asus) that supports filtering MAC, And give out Wi-Fi through it.

πŸ’‘

If your Xiaomi router does not support MAC-filtering, a combination of parental control and binding IP ce MAC It will have a similar effect with minimal cost.

Security: Should we rely on only MAC-filtering

MAC-Filtering is a useful tool, but it's not a complete defense:

  • πŸ•΅οΈβ€β™‚οΈ spoofing MAC: The attacker can change the address of his device to the authorized.
  • πŸ“‘ Wi-Fi vulnerabilities: If password is weak, network can be hacked even with filtering MAC.
  • πŸ”„ Discomfort: when you add a new device you will have to manually update the list.

Recommendations for enhancing safety:

  • πŸ” Use it. WPA3 (or at least WPA2) with a complex password (at least 12 characters, with numbers and special signs).
  • 🌐 Turn it off. WPS β€” It's a vulnerable protocol.
  • πŸ“‘ Hide. SSID (But it's not a panacea - experienced users will find the network and so on).
  • πŸ”„ Regularly update the router firmware.
  • πŸ›‘οΈ Set up a guest network for low-trust devices (such as smart speakers).

Combine for maximum protection MAC-filtration with other methods:

  • πŸ”— VLAN: divide the network into virtual subnets (for example, for IoT devices and basic gadgets).
  • πŸ”’ VPN On the router: all traffic will be encrypted.
  • πŸ“Š Network Monitoring: Use apps like Fing or WiFi Guard to track connected devices.

FAQ: Answers to Frequent Questions

Can we tie it down? MAC-address IP Xiaomi?
Yes, it's called static binding. DHCP. For this: Go to the Local Network β†’ DHCP. Find the Static Reference Section ARP Or reservations of addresses. MAC-address and desired IP (For example, 192.168.31.100. Save the settings. After that, the device will always receive the same IP, What is convenient for port transfer or local servers.
How do you know? MAC-addresses of all connected devices?
In the router panel: Go to the state β†’ Devices on the network (or Wi-Fi Clients) will have a list of all connected gadgets from their networks. MAC, IP If the device is not connected, but you know it. MAC, Add it manually (see the instructions above).
Why did the filtering stop working after the firmware change? MAC?
This is because: The new firmware has changed the syntax of configuration files (relevant to OpenWRT). the settings are not portable when updated (typical for MiWiFi). ROM). Filtering support is disabled in firmware (rarely, but it happens in custom builds). Solution: set up the filtering again or roll back to the previous version of the software.
Can I lock the device on the MAC for a while?
There is no direct function, but you can combine: MAC Blacklisted devices. Set up parental controls for that. MAC with a reverse schedule (for example, allow access only from 20:00 to 22:00.
How to Reset All Settings MAC-filtering?
There are two ways: Software reset: Go to Filtering MAC. Remove all addresses from the list. Turn off filtering and save settings. Hardware reset: Press and hold the Reset button on the router for 10-15 seconds. All settings (including: MAC-filter) will be dropped to the factory.