Change of change IP-Xiaomi router addresses can be required in a variety of situations, from a banal conflict of addresses on the local network to the need to bypass the ISP lock or improve the security of the home network. VPN Or use a proxy -- in fact, most of the tasks are solved right in the router's settings. IP, including manually adjusting the static address, restarting DHCP-customer and even reset configuration to factory values.
Feature of Xiaomi routers (series Mi Router) 4A, 4C, 5, 6, AX3000 And others, MiWiFi, which is a proprietary firmware that hides some of the advanced settings behind a simplified interface, is often confusing for beginners, but in practice, all the manipulations are very simple. IP They're run by standard network protocol rules, and the key is to understand the difference between the external (white) protocols) IP, The one who is the owner and the one who is the owner) IP, local-network.
If you need to change the external IP (For example, to access blocked resources, it depends on the policy of your Internet service provider. Most Russian operators (Rostelecom, Beeline, MTS) link external IP ce MAC-The address of the device, so changing it will require additional actions. IP (For example, 192.168.31.1) can be changed in two clicks โ we will talk about this in the first section.
1. How to change local IP-router address (192.168.31.1) โ other)
Local. IP-The router address (aka the default gateway) defines the address space of your entire home network. By default, most Xiaomi models use a subnet. 192.168.31.0/24, where the router itself has an address 192.168.31.1. You can change it through the MiWiFi web interface:
- Connect to the router network via Wi-Fi or cable.
- Open your browser and go to the address http://miwifi.com or 192.168.31.1. Log in (the default login and password is usually a combination) admin/admin or indicated on the device sticker).
- Go to the Additional Settings section โ Local area network (LAN).
- In the field IP-Enter a new address, such as 192.168.10.1. the subnet mask usually remains 255.255.255.0.
- Save the settings and wait for the router to restart (it will take). ~1 minute).
It's important! IP-The routerโs address you will have to connect to it at a new address (for example, http://192.168.10.1). All devices on the network will also receive new ones. IP from the updated range (for example, 192.168.10.2โ192.168.10.254).
โ ๏ธ Note: If you are using static binding IP on connected devices (for example, for video surveillance cameras or NAS), You'll have to manually reconfigure them once you change the router's address. IP.
Some models (e.g. Xiaomi Mi Router) 4A Gigabit Editions may not save changes if new IP-The address conflicts with another device on the network:
- ๐ Restart all network devices (router, switches, repeaters).
- ๐ฑ Check the settings. IP on connected gadgets (manually assigned addresses can be duplicated).
- ๐ง Drop the cache. DNS on a computer with the ipconfig command /flushdns (Windows or sudo dscacheutil -flushcache (macOS).
โ๏ธ Checking after local change IP
Change of external (white) IP-Addresses: What works and what doesn't
Outside IP-The address is assigned to your router by the provider and can be static (permanent) or dynamic (changes with each connection). IP, which can be changed in several ways:
Method 1: Reconnect to the provider (the easiest way)
If you IP dynamic, it can be renewed by forced break of the connection:
- Go to the routerโs web interface (miwifi.com).
- Go online. โ Status.
- Press Disconnect, wait 1-2 minutes and press Connect.
In 80% of cases, the provider will issue a new IP. If not, try turning off the router power for 5-10 minutes.
Method 2: Cloning MAC-address
Some providers (for example, Rostelecom or Dom.ru) link IP ce MAC-To change the address of the device:
- In the router settings, find the Internet section โ MAC-cloning.
- Enter arbitrary. MAC (for example, 00:1A:2B:3C:4D:5E) or lean MAC computer.
- Save the settings and restart the router.
Method 3: Use VPN router
If the provider is providing a static IP Or you want to hide your real address completely, you can set it up. VPN-It's connected directly to the router:
- ๐ Supported protocols: PPTP, L2TP, OpenVPN (on Padavan or OpenWRT firmware).
- ๐ Required: data VPN-provider (server, login, password, encryption keys).
- โ ๏ธ Limitation: standard MiWiFi firmware does not support OpenVPN โ you will have to install custom.
โ ๏ธ Attention: Change MAC-address VPN This may violate the rules of your ISP, in some cases (for example, if you suspect fraud), this may lead to the blocking of your account.
| Method of change IP | It's running on standard firmware. | Requires a reboot. | The risk of blocking by the provider |
|---|---|---|---|
| Reconnecting to the provider | โ Yes. | โ No. | โ Low. |
| Cloning MAC-address | โ Yes. | โ Yes. | โ ๏ธ Medium. |
| Use of VPN | โ No (needs custom firmware) | โ Yes. | โ ๏ธ Medium. |
| Reset router to factory settings | โ Yes. | โ Yes. | โ Low. |
๐ก
If the provider is providing a static IP If you refuse to change it, try connecting the router via another port on the provider's switch (if available). IP-pool.
3. Static adjustment IP for devices on the local network
If you need to fix a certain amount of IP-address behind a particular device (for example, for port forwarding or access to a port) NAS), This can be done through a link to MAC-address DHCP-router.
Instructions for MiWiFi firmware:
- Go to the Additional Settings โ Local area network (LAN) โ DHCP.
- Activate the Binding option IP and MAC.
- Click Add and enter: MAC-Device address (can be found in its network settings or in the router's list of connected clients) Desirable IP-Description (optional, e.g., "Surveillance Cameras").
Save the settings and restart the router.
After that, the device will always receive the same IP, Even after the reboot. It's useful for:
- ๐ฅ๏ธ Remote access to the computer by RDP/SSH.
- ๐น IP-camera and video surveillance systems.
- ๐พ Servers (NAS, media servers, game servers).
- ๐ฎ Game consoles (PlayStation, Xbox) for opening ports.
โ ๏ธ Note: When changing local IP-The router's address (as in the first section) will reset all static anchorages, and you'll have to reconfigure them to accommodate the new address space.
If, after binding, the device does not receive the assigned IP, Check if it is in conflict with the range. DHCP. For example, if DHCP gives addresses from 192.168.31.100 to 192.168.31.200, then static IP must be outside this range (e.g. 192.168.31.99).
How to find out MAC-address?
4. Resetting the router to factory settings: a last resort
If all previous methods did not help (for example, the router โhangsโ on the old one). IP Or you don't save the settings, you can do a full reset, and that will bring all the settings back to the factory, including the ones you've got. IP-address 192.168.31.1.
How to reset your settings:
- ๐ง Software reset: Go to Additional settings โ System system โ Reboot and select Reset Settings.
- ๐ณ๏ธ Hardware reset: Press and hold the Reset button (usually located on the back) for 10-15 seconds until the indicators start flashing.
After discharge:
- Router will return to factory IP 192.168.31.1.
- All Wi-Fi settings (network name, password) will be erased.
- Static bindings IP And port forwarding will disappear.
When to do the reset:
- ๐ Route doesn't keep the changes. IP or other parameters.
- ๐ซ Access to the web interface is blocked (forgot the password).
- ๐ Internet speed has dropped for no apparent reason.
- ๐ Conflicts IP The network is not solved in other ways.
โ ๏ธ Note: On Xiaomi Mi Router models 4C Mi Router 4A After reset, you may need to re-authorize through the Mi WiFi application. Without it, access to settings will be limited.
๐ก
Factory reset is a last resort. Before doing it, save a backup of the configuration in the Additional settings section. โ System system โ Backup (if the router is still responding).
5. Problems after shift IP and their decisions
Even after a successful change IP-And we're going to look at the most common addresses and how to fix them:
Problem 1: No Internet access after local change IP
Causes and solutions:
- ๐ Incorrect subnet mask: Make sure the mask is listed as 255.255.255.0.
- ๐ ISP conflict: Some operators block non-standard LANs. Try to return 192.168.31.1.
- ๐ก Wrong. DNS: Manually write it. DNS Google (8.8.8.8, 8.8.4.4) in settings WAN.
Problem 2: The devices are not getting IP down DHCP
What to do:
- Check if it's on. DHCP-server in router settings (Additional settings) โ Local area network โ DHCP).
- Make sure that the range of addresses you are dealing does not overlap with static addresses. IP.
- Restart the router and client devices.
Problem 3: External IP It does not change when reconnecting.
Possible causes:
- ๐ Static IP Provider: Please specify the type IP technical support.
- ๐ Long lyse DHCP: Some providers are updating IP once-in-a-day.
- ๐ Login binding: If the connection is via PPPoE, IP It may be tied to the account.
| Symptoms. | Probable cause | Decision |
|---|---|---|
| The Internet is there, but websites are not opened. | Wrong DNS. | prescribe DNS Google/Yandex manually |
| Router doesn't respond to the new IP | Address conflict or saving error | Reset the settings and repeat the settings |
| Outside IP It does not change after cloning. MAC | The provider ignores the changes MAC | Try another one. MAC or contact support |
| Wi-Fi works, cable devices donโt. | Wrong settings VLAN port | Check the Network section โ Switcher |
6. Alternative firmware: enhanced capabilities
The standard MiWiFi firmware is very limited in functionality. IP (for example, the dual stack IPv4/IPv6, custom routes or full support for OpenVPN, it is worth considering installing custom firmware.
Popular firmware for Xiaomi routers:
- ๐ง Padavan: Optimized for Mi Router 3/3G/4A/AC2100, Supports WireGuard, AdGuard Home, and Firewall Settings.
- ๐ง OpenWRT: Universal firmware with a huge number of packages, but requires manual configuration.
- ๐ Official International: International version of MiWiFi with unlocked features (e.g., region change).
What does custom firmware give to work with IP:
- โก The possibility of appointing several IP-single-interface addresses.
- ๐ Support for custom routes (e.g. to balance loads between two providers).
- ๐ Extended Firewall settings (Geolocation lock, time limit).
- ๐ Fully-fledged work with IPv6 (in standard firmware is often disabled).
โ ๏ธ Attention: Installing custom firmware can lead to loss of warranty and "bricking" router if the procedure is performed incorrectly.Be sure to check the compatibility of the model before firmware and back up the current configuration.
Example of static route settings in Padavan:
ip route add 192.168.2.0/24 via 192.168.1.100 dev br0This command adds a route to the subnet 192.168.2.0/24 lockway 192.168.1.100.
How to return the standard firmware after custom?
7 Security: How to hide your own IP stranger
Shift. IP-The purpose of the address is often to increase anonymity on the network. IP Not enough to fully protect. Let's take a holistic approach:
Step 1: Disable remote access to the router
By default, some Xiaomi models have enabled Internet access to the web interface to disable:
- Go to the Additional Settings โ Security โ Remote control.
- Turn off the option to Enable Remote Access.
- If cloud management is used via Mi Home, disable it in the app.
Step 2: Set up firewall
In standard MiWiFi firmware, the basic firewall rules are available:
Step 3: Use VPN router-level
If your goal is to hide the outside IP From sites and services, the best option is to configure VPN-Connecting directly to the router will provide anonymity to all devices on the network, including smartphones, TVs and IoT gadgets.
An example of setting up OpenVPN on Padavan firmware:
If you use VPN To bypass the blocking, please note that some services (for example, banks or government portals) may block access from foreign countries. IP. In that case, you'll have to shut it down. VPN or set up exceptions.