How to put static IP-Address on Xiaomi router: instructions for all models

Static IP-The address on the Xiaomi router is a guarantee of stable operation of devices on the local network. NAS-server, IP-A camera or game console can suddenly lose communication after restarting the router. IP, The static address is fixed forever, which changes with each connection, this is critical for port port forwarding, remote access and network services.

In this article, we will discuss two ways of setting up: through binding. MAC-Addresses in the router's web interface and through manual configuration on the client device. The instructions are relevant for all popular models - from the budget Mi Router 4A before the flagship Xiaomi AX6000. You will also learn how to avoid conflicts. IP Why a static address can โ€œflyโ€ after a firmware update.

Why do we need static IP on a Xiaomi router

Dynamic IP-addresses that the router gives out on the protocol DHCP, It's easy for ordinary users, you don't have to configure anything, and the network works out of the box, but in some cases, dynamics becomes a problem:

  • ๐Ÿ”Œ Port transfer: if IP The devices change, the rules of the rollout stop working, and external connections (for example, to the game server or camera) are terminated.
  • ๐Ÿ–ฅ๏ธ Remote Access: To connect to a home PC via RDP or SSH need a fixed address.
  • ๐Ÿ“ก Local services: NAS-Systems (Synology, QNAP), Media servers (Plex, Kodi) and printers require stable IP work-in.
  • ๐ŸŽฎ Game consoles: PlayStation or Xbox with open ports for multiplayer can be โ€œlostโ€ in the network when changing IP.

Also, static IP It simplifies network administration: you always know what the address of a device is, and you can quickly connect to it via the Internet. SSH, FTP or through a web interface.

โš ๏ธ Note: If you already have a device with manual setup on your network IP (For example, a printer with 192.168.31.100 address, and you will link the same address to another gadget via a computer. MAC, conflict IP. Router will block the network before restarting.

๐Ÿ“Š What kind of Xiaomi router is at home?
Mi Router 4A
AX3600
AX6000
Another Xiaomi
Another brand's router

Preparation: Check the current network settings

Before you assign a static IP, make sure that:

  1. The router is connected to the Internet, and the local network is stable.
  2. You have access to the web interface (192.168.31.1 or miwifi.com).
  3. You know. MAC-The address of the device for which you configure the static IP (You can find it in the settings of the gadget network or in the list of connected devices on the router).

To check the current one. IP-address MAC device:

  • ๐Ÿ–ฅ๏ธ On Windows: Open the Command Prompt and enter ipconfig /all Look for lines IPv4-address and physical address.
  • ๐Ÿ“ฑ On Android: Go to Settings โ†’ The phone. โ†’ General information โ†’ Status (the path may be different).
  • ๐ŸŽ Nana macOS/iOS: Open System settings โ†’ Network (or Settings) โ†’ Wi-Fi โ†’ (i) next to the network on the iPhone).

It is also useful to know the range. DHCP The default on Xiaomi is usually 192.168.31.2-192.168.31.254. IP must be outside this range (e.g. 192.168.31.100) to avoid conflict.

How to find out the range DHCP Xiaomi?
Go to Settings. โ†’ Local area network โ†’ DHCP. The โ€œPool Addressesโ€ field will indicate the range, for example 192.168.31.100-192.168.31.200. Static IP appoint outside of this pool (for example, 192.168.31.201).

Method 1: Binding MAC-address IP router-based

This is the most reliable method, as the setting is stored on the router and applied to all devices on the network automatically, the instructions are suitable for firmware MiWiFi (Chinese version) and Global.

Steps:

  1. Open the router's web interface at the address http://192.168.31.1 or http://miwifi.com. Log in (the default login and password is usually a combination with a sticker on the bottom of the router).
  2. Go to the section Additional โ†’ Local area network โ†’ DHCP (On the new firmware path, the settings may be โ†’ Local area network).
  3. Find the binding unit. IP and MAC (or ARP Binding in English version) and click Add.
  4. Enter: ๐Ÿ”ข MAC-address of the device (e.g, A4:12:42:XX:XX:XX). ๐Ÿ“Œ IP-the address you want to secure (for example, 192.168.31.100). ๐Ÿ“ Description (optional but convenient for identification, for example, ยซNAS-serverยป).

Save the settings and restart the router.

Important: If you appoint IP off-range DHCP (For example, 192.168.31.250), make sure that this address is not used by another device, otherwise both devices will not be available.

MAC-Address entered without errors (registration is not important)|

IP-out-of-range DHCP|

Description of the device is indicated (for convenience)|

Router rebooted after saving-->

Model routerThe path to settings DHCPDoes he support ARP Binding
Mi Router 4AAdditionally โ†’ Local Area Network โ†’ DHCPYes.
Xiaomi AX3600Settings โ†’ Local area network โ†’ DHCPYes (including reservations)
Xiaomi AX6000Advanced โ†’ LAN โ†’ DHCP (lingo)Yes. + support IPv6
Mi Router 3G/ProSystemic tools โ†’ Local area networkYeah (obsolete interface)

Method 2: Static adjustment IP client-side

If for some reason binding on the router is not available (for example, on firmware with reduced functionality), you can assign a static IP It's less reliable because when you reset your network settings on your device, it's less reliable. IP ยซfly offยป.

Instructions for different OSes:

๐Ÿ–ฅ๏ธ Windows 10/11

  1. Open the settings. โ†’ Network and Internet โ†’ Wi-Fi/Ethernet โ†’ Adjustment of adapter parameters.
  2. Right-click on your connection (Wi-Fi or Ethernet) โ†’ Properties.
  3. Select IP version 4 (TCP/IPv4) โ†’ Properties.
  4. Set the switch to Use the following IP-enter: IP-address: 192.168.31.100 (example). Subnet mask: 255.255.255.0. Main gateway: 192.168.31.1 (router address). DNS-servers: 192.168.31.1 or public DNS (For example, 8.8.8.8 from Google).

Save the settings and restart the PC.

๐Ÿ“ฑ Android

On Android, the path may differ depending on the shell (MIUI, ColorOS, etc.), but the general scheme:

  1. Go to Settings. โ†’ Wi-Fi.
  2. Click on your network. โ†’ Change the network (or additionally).
  3. In the IP Settings section, select Static.
  4. Fill in the fields similar to instructions for Windows (IP, lock, DNS).

๐ŸŽ macOS/iOS

On Apple devices:

  1. Open System settings โ†’ Network (macOS) or Settings โ†’ Wi-Fi โ†’ (i) near the network (iOS).
  2. Select Manual in the settings IPv4.
  3. Enter. IP, mask, gateway and DNS.

โš ๏ธ Note: If you have been assigned a static IP on the device, but forgot to exclude it from the range DHCP On a router, another gadget can get the same address automatically, which will lead to a network conflict and shutdown of the Internet on both devices.

ping 192.168.31.100

If no response is given (Exceeding waiting time), IP free.-->

Problems and Solutions: Why Static IP doesn't work

Even after the correct setup, static IP We'll look at the typical causes and how to fix them:

Problem.Possible causeDecision
IP It does not persist after rebootingThe setting is made on the device, not on the routerUse the binding. MAC on a router (Method 1)
No Internet accessthe gateway is incorrectly indicated or DNSCheck that the lock = IP router (192.168.31.1)
Conflict IP-addressSelected IP already used by another deviceCheck the list of connected devices in the routerโ€™s web interface
Settings are reset after firmware updateReset router configurationMake a backup of settings before updating

If, after the binding, MAC The device still gets dynamic. IP:

  • ๐Ÿ”„ Restart the router and client device.
  • ๐Ÿ”ง Check if it's on. DHCP-server on the router (Settings) โ†’ Local area network โ†’ DHCP).
  • ๐Ÿ“ก Make sure the device is connected to the same network (2.4 GHz or 5 GHz) for which the binding is made.

๐Ÿ’ก

If static IP stopped working after updating the router firmware, try to remove the binding MAC And then we recreate it. In newer versions of Xiaomi software, you sometimes change the format of your settings.

Additional settings: reservation IP port-over

Static binding IP It's often used for port forwarding, like opening up a home server from the Internet:

  1. Go to Settings. โ†’ Redirection โ†’ Port transfer.
  2. Add a new rule: ๐ŸŒ External port: A port that will be open from the outside (e.g. 8080 for a web server). ๐Ÿ“Œ Internal IP: static IP your device (e.g. 192.168.31.100). ๐Ÿ”ข Internal port: port on the device (e.g., 80 for HTTP). ๐Ÿ“ Protocol: TCP, UDP either.

YouGetSignal

Also on Xiaomi. AX3600 and AX6000 Available Reservation function IP (IP It automatically assigns the same thing. IP the device at each connection, even if it is not tied through MAC. To turn on:

  1. Go to Settings โ†’ Local Network โ†’ DHCP.
  2. Find the device in the list of connected and click Reserve.

This is convenient for devices that are often connected/disabled (such as smartphones or tablets).

Safety: Risks of static IP and how to avoid them

Static IP It simplifies network administration, but also creates additional risks:

  • ๐Ÿ”“ Scan vulnerability: if the attacker knows your external IP, It can scan ports and find open services.
  • ๐Ÿ•ต๏ธ Activity tracking: static IP facilitates device identification on the network (e.g. for targeted advertising).
  • ๐Ÿ”„ Conflicts when changing the network: if you connect the device to another network (for example, at a party), static IP may cause problems.

Safety recommendations:

  • ๐Ÿ”’ Use strong passwords for devices with open ports (router, NAS, camera).
  • ๐Ÿ›ก๏ธ Turn on the firewall on the router (Settings) โ†’ Security โ†’ Firewall).
  • ๐Ÿ”„ Regularly update the routerโ€™s firmware (new versions close vulnerabilities).
  • ๐ŸŒ Use remote access for the VPN Instead of port port port forwarding (such as WireGuard or OpenVPN).

โš ๏ธ Note: If you open ports to access cameras or NAS From the Internet, never use standard logins / passwords (admin/admin). Bots scan such devices and can gain control of your network.

FAQ: Frequent questions about static IP Xiaomi

โ“ Can I appoint a static one? IP for a device connected via cable (Ethernet)?
Yes, the binding method. MAC-The address works the same for Wi-Fi and wired connections. MAC-Network card address (it may differ from the MAC Wi-Fi adapter).
โ“ What to do if you have set up a static IP Internet gone missing?
Check if the gateway is correctly specified (should match the IP router, usually 192.168.31.1). IP with another device (go to the router's web interface and see the list of connected gadgets). DHCP-server on the router (if disabled, static) IP If the problem persists, reset the network settings on the device and reconfigure it.
โ“ How do I know which one IP-address is free on my network?
Methods: See the list of connected devices in the routerโ€™s web interface (Settings) โ†’ Local area network โ†’ Connected devices. Use the arp command. -a command-line (Windows/macOS/Linux), see everything IP and MAC You can use the local network. IP off-range DHCP (for example, if DHCP pitcher 192.168.31.100-200, take 192.168.31.201).
โ“ Why is the router static after updating the firmware IP throw off?
Some versions of Xiaomi firmware reset user settings, including binding MAC. To avoid this: Before updating, back up your settings (Settings) โ†’ Systemic tools โ†’ Backup. Use the backup. IP (IP Reservation) instead of manual binding (available on AX3600 Check the update logs on Xiaomiโ€™s official website โ€“ sometimes bugs are fixed in the following patches.
โ“ Can I appoint a static one? IPv6-Xiaomi address?
Yes, but with reservations: IPv6-Addresses are usually assigned automatically through SLAAC or DHCPv6. On Xiaomi routers AX6000 and AX3600 There's anchorage support IPv6 down MAC (Advanced โ†’ LAN โ†’ DHCPv6). For manual adjustment IPv6 The client device will need to specify the network prefix (usually 240e:xxx:xxx::/64) And the gateway. Please note that many providers in Russia are not yet supporting the service. IPv6, So the setting may not work.