Xiaomi devices, including the popular Mi Router and Redmi Router series, use a standard gateway address by default, which is most often 192.168.31.1 or 192.168.1.1. However, in a dense urban environment or when creating a complex home network with multiple routers, standard settings can cause conflicts or limit administration. IP-Router addresses are a basic but critical operation for advanced users.
Changing this setting avoids intersections if you connect a new Xiaomi router to an existing network of another provider or main modem, and it is the first step to proper network segmentation, which is especially true for Smart Home systems, where the number of connected devices is in the tens.
In this article, we will take a closer look at the algorithm, the necessary preparatory steps and the possible pitfalls you may encounter when reconfiguring network equipment, and learn how to choose the right subnet and avoid losing access to the admin panel during the change.
Why Change the Routerβs Standard IP Address
Standard settings set by the manufacturer are convenient for initial installation out of the box, but in the long run often become a source of problems. IP-If you use two routers on the same network (e.g. one from the provider and the other Xiaomi in access point mode) and they have the same gateway addresses (e.g. both 192.168.1.1), the network will not work.
The second important aspect is security, and while IP-address change is not a panacea for hacker attacks, it is a security through obscurity element. Automated bot scripts often scan standard address ranges for vulnerable devices, and shifting the address to a non-standard subnet will make life harder for random scanners.
If your main router distributes addresses in the range 192.168.0.x, the secondary router Xiaomi must have a gateway address different from the main one, but located in the same logical group or in the adjacent subnet for proper traffic routing.
β οΈ Attention: After the change IP-All connected devices may lose access to the Internet until the moment of reconnecting or updating DHCP-leases.
Understanding the structure of the LAN will help you avoid errors. An address consists of two parts: the network ID and the host ID. When you change the last digits, you change only the address of the device within your subnet without affecting the external network of the provider.
Preparing for changes in network settings
Before making changes to the configuration of Xiaomi Router, you need to make sure the connection is stable. LAN-Wi-Fi connection may be interrupted when settings are applied, which will result in loss of access to the web interface if you do not know the new address.
You will need to know the current IP-If your device's address has been changed before, or make sure you're on the right subnet. For Windows, you can do this via the command line by ipconfig. Find the "Default Gateway" line, which is the current address of your Xiaomi router.
It is also recommended to record or photograph the current settings. In case of an error, you will have to reset to factory settings, holding the Reset button on the router case clamped for more than 10 seconds. Keep the username and password from the admin panel at hand, as after changing the IP they will not change, but you will need to access them at the new address.
βοΈ Checklist before setting up
Make sure that your computer is static. IP-address or receive the correct address DHCP. If you are planning to change the subnet (for example, with the 192.168.31.x on 192.168.50.x), The computer must be able to work on a new network, which usually happens automatically after the network card is restarted.
Log in to the web interface of the Xiaomi router
You can access the settings through any modern browser. Open Chrome, Firefox or Edge and enter the current one in the address bar. IP-For Xiaomi devices, this is often 192.168.31.1 or the domain name miwifi.com. However, using a numerical address is more reliable because it is more reliable. DNS It can work incorrectly when network failures.
Once you enter the address, the system will request authorization. Enter the administrator password. Please note, this is not a Wi-Fi password, but a password for managing the router. If you didn't change it when you first set it up, it could be set automatically or matched with a Wi-Fi password.
MiWiFi OS can be in Chinese or English, depending on the firmware version. Look for the password field in the center of the screen. Once you log in, you'll see a status page with a network map showing connected devices and traffic speeds.
π‘
If web interest does not open, try using the incoognito mode in the browser or clear the DNS cache with the ipconfig /flushdns command.
In some cases, especially on older Xiaomi routers, the browser may issue an HTTPS error warning. This is normal for local devices. You need to accept the risks and go to the site, since the certificate is self-signed.
Step-by-step instructions for changing IP addresses
If you're in the main admin menu, go to the settings section. Depending on the version of the interface, it might be called Settings, Common Settings, or have a gear icon. We need a subsection that's responsible for the local network, usually called LAN Settings or Internal Network.
In the menu you will see the field. IP Address (Address) LAN). This is where the current gateway address is located. The default subnet mask is set to 255.255.255.0, which means that you can only change the last digit of the address (2 to 254).
For example, if the current address is 192.168.31.1, you can change it to 192.168.31.254 or completely change the third group of digits, for example, to 192.168.50.1. After entering the data, be sure to click the Save or Apply button.
Example of correct address: 192.168.10.1
Example of incorrect: 192.168.10.256 (number cannot be >255)The system will warn you that after you have set up the connection will be broken. This is normal behavior. Xiaomi router will restart the network interface with new parameters, you will have to manually enter a new address in the browser to continue working.
What to do if you forget your new IP?
Configure DHCP server after changing address
It is important to understand that the change IP-The address of the router (gateway) often requires adjustment of settings DHCP-This service automatically distributes addresses to connected devices (smartphones, laptops, TVs) and the range of addresses distributed must correspond to the new subnet.
For example, if you change the router address to 192.168.50.1, the DHCP range should start at 192.168.50.2 and end at, for example, 192.168.50.200. If the range remains old (for example, 192.168.31.x), the devices will receive addresses that are incompatible with the new gateway, and the Internet will not work.
In the LAN Settings menu, look for the DHCP Server section. Make sure it's Enable. Check the Start IP and End IP fields. These should be in the same third group of digits as the new router address.
| Parameter | Old meaning | New value (example) | Description |
|---|---|---|---|
| IP Address | 192.168.31.1 | 192.168.50.1 | Address of the router itself |
| Subnet Mask | 255.255.255.0 | 255.255.255.0 | Subnet mask |
| DHCP Start | 192.168.31.2 | 192.168.50.2 | Start of distribution range |
| DHCP End | 192.168.31.254 | 192.168.50.254 | End of the distribution range |
Once you save your DHCP settings, it is recommended to restart the router via the System Status -> Reboot menu, which ensures that all services start with the new configuration and begin to correctly issue addresses to customers.
Possible problems and solutions
The most common problem after a shift IP β The solution is simple: turn off and reconnect the network cable or reconnect to Wi-Fi. The operating system will request a new address from the DHCP-router.
If access is not restored, check the network card settings on your computer. IP, It's a conflict with the new network. TCP/IPv4 Choose "Get." IP-addressΒ».
There are also situations where some smart home devices don't see the router after changing the subnet. Xiaomi Home devices running over the cloud usually recover themselves, but local scenarios may require reconfiguration.
β οΈ Note: Do not set your router address to 192.168.0.1 or 192.168.1.1 if you already have another router from your provider.
In rare cases, Xiaomi firmware can freeze when settings are applied. If the indicator is lit red or flashes orange for more than 5 minutes, you will need to flash the device through recovery mode.
π‘
The main rule: new IP-router address and range DHCP-servers must be in the same subnet (match the first three numbers, for example, 192.168.X.X).