Shift. IP-Xiaomi router addresses can be needed in a variety of situations, from basic local network setup to address conflicts or security enhancements. By default, most Mi Routers (including models) AX6000, AX3000, 4A Gigabit and Mini use the standard address 192.168.31.1, but it is easy to change through a web interface or mobile application. In this article, we will discuss all the current methods, including manual configuration, automatic receipt. DHCP and features for firmware with Padavan.
It is important to understand that the change IP-Router address is different from changing a public address IP (ISP gives you that -- this is the local address of the device on your home network, if you're having trouble accessing the settings after you've changed. IP Or you want to avoid common mistakes, at the end of the article there are FAQ We'll also look at why it's sometimes better to leave a standard address and when it really needs to be changed.
Why do we change? IP-router address?
Before we proceed to the instructions, we will understand in which cases the change of local IP is justified:
- π Address conflict β if there is already a 192.168.31.1 device on the network (e.g., a second router or provider modem).
- π Safety - standard IP Known to hackers, and changing it will make it harder for unauthorized access to the control panel.
- π‘ Subnetworking β if you are setting up a complex network with several VLAN or guest nets.
- π οΈ Testing network services, such as when setting up a local server or VPN.
But thereβs a downside: if you change your routerβs IP, youβll have to update your settings on all connected devices (PCs, smartphones, smart devices) because they may lose access to the Internet, and some Mi Home features (such as managing smart lamps) may require a standard router address.
β οΈ Note: If you are using a Xiaomi Mesh system (e.g. Mi Router) 4A Mesh), shift IP The main router will automatically break the connection to the nodes, in which case, first disable all additional access points.
Method 1: Change IP via Web Interface (for all models)
The most versatile method that works on any Xiaomi router, including models with the firmware MiWiFi ROM or Padavan. You will need a computer or smartphone connected to the router network.
Steps:
- Open your browser and enter the current IP of the router (by default - 192.168.31.1 or miwifi.com).
- Log in (the username and password is usually a combination of admin + password from the sticker on the router).
- Go to the section Additional settings β Network β LAN (in English firmware: Advanced Settings β Network β LAN).
- In the field IP-Enter a new address (e.g. 192.168.10.1).
- Save the changes and wait for the router to restart (it will take ~1 minute).
After you change your IP, you'll have to reconnect to the router using a new address. If the page doesn't open, check:
- π Is the new one correctly introduced? IP (misspelled).
- πΆ Are you connected to a router network (not a mobile internet connection).
- π Reboot the device you are trying to access.
Connection to a router network (Wi-Fi or cable)
Correctness of the new IP-addresses (e.g. addresses, 192.168.x.1)
No conflicts with other devices on the network
Update DNS (if necessary)-->
On some firmware (for example, Padavan), the path to settings may be different: β Interfaces β LAN. There are also additional options available, such as a subnet mask and DHCP-servers that should be configured for a new IP.
Method 2: Change IP via Mi WiFi app (for smartphones)
If you donβt have access to your computer, you can change IP directly from your smartphone via the official Mi WiFi app (available for Android and iOS), a method that works for most modern models, but may not be available on older routers (such as Mi Router 3).
Instructions:
- Connect to the router's Wi-Fi network.
- Open the Mi WiFi app and select your router from the list.
- Go to Settings β Advanced β Local Network.
- Click on the current one. IP-Address and enter a new address (e.g. 192.168.50.1).
- Confirm the changes and wait for the reboot.
Note: In some versions of the application, this section may be called Network β LAN Settings. If there is no option, then your model does not support IP change via mobile software β use the web interface.
β οΈ Attention: When changing IP Mi WiFi application sometimes resets settings DHCP-After the change, check that the range of addresses distributed (e.g. 192.168.50.100β192.168.50.200) corresponds to the new subnet.
Through the web interface on the PC
Through the Mi WiFi app on your phone
SSH/Telnet (for advanced)
I haven't tried it yet.-->
Method 3: Manually modifying IP via SSH (for advanced users)
This method is suitable for experienced users who want to change IP without a web interface or configure additional settings (for example, VLAN). That requires access to the SSH Basic command line knowledge.
Steps:
- Enable SSH in the router settings (Additional settings β System β SSH).
- Connect to the router via a terminal (e.g. PuTTY or Terminal on macOS/Linux):
ssh root@192.168.31.1
The password is the same as for the web interface- Open the network configuration file:
vi /etc/config/network- Find the config interface 'lan' and change the option ipaddr string '192.168.31.1' to a new IP (e.g. 192.168.20.1).
- Save the changes (:wq in vi) and restart the router:
rebootAfter rebooting, connect to the router via a new IP. This method also allows you to configure a static route or additional interfaces if your network requires a complex configuration.
What to do if the SSH is not connected?
What? IP-Address to choose: recommendations and limitations
Not all. IP-The addresses are good for the router. Here are the key rules:
- π Use the private bands: 192.168.0.0 β 192.168.255.255 (e.g. 192.168.10.1) 172.16.0.0 β 172.31.255.255 10.0.0.0 β 10.255.255
- π« Avoid addresses that may conflict with other devices (e.g. 192.168.1.1 is often used by ISP modems).
- π The last octet (number after the last point) is usually made.1 (e.g. 192.168.20.1), as this is the standard for gateways.
Also consider the settings. DHCP-servers: the range of addresses to be given should be in the same subnet as IP For example, if the router has 192.168.50.1, the pool DHCP can be 192.168.50.100-192.168.50.200.
| Example of an IP router | Recommended DHCP range | Subnet mask | Notes |
|---|---|---|---|
| 192.168.10.1 | 192.168.10.100β192.168.10.200 | 255.255.255.0 | Standard option for home network |
| 172.20.0.1 | 172.20.0.100β172.20.0.200 | 255.255.255.0 | Suitable for medium-sized networks (up to 254 devices) |
| 10.0.5.1 | 10.0.5.50β10.0.5.200 | 255.255.255.0 | Used in corporate networks |
Critical error: If you specify the routerβs IP outside the DHCP range (for example, the router is 192.168.1.1, and DHCP is 192.168.2.x), the devices will not be able to connect to the Internet, in which case you will have to reset the router to factory settings.
Frequent mistakes and their solutions
Even if you follow the instructions, you can have problems, and here are the most common ways to fix them:
- π΄ The page does not open after the change IP: Check that the new one is IP You typed it in without a typo. Clear your browser cache or try another one (like Chrome instead of Edge). Connect to your router via cable, sometimes Wi-Fi turns off when you change your settings.
- π Router constantly reboots: This could indicate conflict IP Turn off all the network gadgets and try again, see if the beta firmware is installed, it may be unstable.
- π΅ No Internet access after the change IP: Make sure that the settings WAN (Internet connection is not lost. Check if it's on. DHCP-server and whether its range is correct.
If none of these methods worked, reset the router to factory settings: press the Reset button for 10 seconds, and then the IP will return to the standard (192.168.31.1), and you can repeat the setting.
π‘
If Xiaomi smart devices (such as lamps or robot vacuum cleaners) have stopped working after the IP change, check if they are tied to the old router address, in which case reconnecting devices to the network or resetting their settings can help.
Additional settings: DHCP, DNS and security
Changing the IP router is only part of the network setup, and to avoid problems in the future, we recommend you to also configure:
- π DHCP-server: The address range should be in the same subnet as the IP Lease Time is best set at 24 hours for the home network.
- π DNS-Servers: Use reliable servers DNS, For example, 1.1.1.1 (Cloudflare) or 8.8.8.8 (Google), which will speed up the loading of sites and protect against phishing.
- π Security: Change the admin's standard password to a complex one (at least 12 characters) and disable remote access to the control panel if you don't need it.
On routers with Padavan firmware, additional options are available, such as:
- Set up a guest network with a separate IP-range.
- Filtration MAC-access-restriction addresses.
- Setting up VPN-servers for secure connection from the outside.
If you plan to use a router on a complex network (such as with multiple VLANs), look out for the Xiaomi AX6000 model β it supports advanced networking features out of the box.
π‘
When you change your IP router, be sure to update your firmware. Outdated versions may contain vulnerabilities, especially if you use a non-standard address to manage it.