Setting up a static host on a Xiaomi router is a procedure that allows you to โfixโ a certain IP-address of a particular device in your network on its MAC-This binding solves several problems: it prevents conflict. IP, facilitates access to network devices (e.g., to IP-camera NAS) Without this setup, your Mi Router can dynamically assign different addresses to the same device every time you connect, creating problems for services that require constant use. IP.
In this article, we will discuss how to correctly register a host on Xiaomi Mi Router routers 3/4/4A/5/AX (Including models with MiWiFi and OpenWRT firmware, which errors users often make and how to avoid them, we will pay special attention to nuances that are not described in the official documentation, such as the binding of the host to the host. VLAN or setting up reservations DHCP non-standard MAC-If you've ever had a problem with your Smart after you reboot your router. TV or printer "lost" in the network - this guide will help solve the problem once and for all.
Why you need to link IP to MAC on the Xiaomi router
Dynamic distribution IP-address DHCP It's convenient for most devices -- smartphones, laptops, tablets -- but there are categories of gadgets that have a constant. IP critical:
- ๐น IP-Cameras and CCTV systems (e.g. Xiaomi Mi Home Camera or Ezviz): no fixed camera IP You will not be able to set up remote access or record to NAS.
- ๐จ๏ธ Network Printers and MFPs: Many models require static printers IP for proper operation of the protocol LPD or IPP.
- ๐พ NAS-servers (e.g. Synology or Western Digital My Cloud): to access network drives over SMB or NFS You need a permanent address.
- ๐ฎ Game consoles (PS5, Xbox Series X: tethering IP Improves the stability of online gaming and reduces ping.
- ๐ Smart home: Home Assistant, Mi Home Gateway, or Zigbee hubs often require static home controllers. IP integration with other systems.
Without a host anchor, you risk the following problems:
- โ ๏ธ Loss of access to the device after restarting the router (for example, the camera stops streaming video).
- โ ๏ธ Conflicts IP, When two devices receive the same address (especially relevant for networks with a large number of gadgets).
- โ ๏ธ Failures in local services such as Plex Media Server or Nextcloud.
โ ๏ธ Note: On Xiaomi routers with MiWiFi firmware (older versions), host binding works differently than on models with OpenWRT (for example, Mi Router). AX6000). If your router supports both firmware, check the current version in Settings. โ General. โ Router.
Preparation for setting up: what you need to know before you start
Before prescribing a host, make sure you consider the following points:
- Determine. MAC-The address of the device can be found on the sticker on the device body (for most network gadgets). In the device network settings (for example, on Android: Settings โ The phone. โ General information โ MAC-Wi-Fi address: In the router's web interface under Devices or DHCP.
Choose a free one. IP-address.
192.168.31.x
192.168.0.x
- IP router (e.g. 192.168.31.1).
- IP of other devices with manual configuration.
- DHCP range (recognise it in router settings).
- Check the router's current firmware. On models with OpenWRT (like the AX3600), the interface is different from standard MiWiFi.
- Save settings. Click Save and restart the router (Reboot button in General).
- Save and apply settings. Press Save, then Save & Apply. The router will reboot automatically.
What if the router does not save the hosts?
Additional features: VLAN, reservation for guest network
On Xiaomi VLAN-enabled routers (such as the Mi Router AX6000), you can link a host to a specific virtual network segment, which is useful if you have divided the network into:
- ๐ Main network (for home devices).
- ๐ฅ Guest network (with limited access).
- ๐ฆ Network for IoT (for smart devices).