How to manually change IP-Address on Xiaomi phone: instructions for Android

Change of change IP-Addresses on Xiaomi’s smartphone may be required to resolve network connectivity issues, bypass regional restrictions, or set up static IP It's not like you automatically get an address through a remote access. DHCP, Manual configuration gives you complete control over network settings, but requires an understanding of the basics TCP/IP. On Xiaomi devices (including Redmi and POCO) The process differs from standard Android due to the proprietary shell MIUI, where some options are hidden deeper.

In this article, you will find step-by-step instructions for two scenarios: change. IP on Wi-Fi and on the mobile Internet (3G/4G/5G). We will also discuss how to check the current IP, Why manual settings may not work, and what hidden options MIUI They affect the stability of the connection after the change "IP-Conflict or Network without Internet access, here you will find solutions.

Why do we change? IP-hand-mail?

Automatic receipt IP through DHCP It's convenient, but it's not always optimal. Here are the typical cases where manual adjustment is necessary:

  • πŸ”Œ Connection problems: The router does not issue IP or assigns an incorrect address (for example, 169.254.x.x), This makes the network unstable.
  • 🌍 Bypassing geoblocking: Some services (e.g. streaming platforms) restrict access to the Internet IP. Static address helps to β€œlink” to the desired region.
  • πŸ–₯️ Remote Access: For Configuration RDP, FTP or games on a local network require a fixed IP.
  • πŸ›‘οΈ Security: Hiding the Real IP through VPN Proxies often require manual configuration.
  • πŸ“‘ Traffic priority: Some routers are static IP Allows you to assign a high priority (QoS) to your device).

On Xiaomi with a shell. MIUI 12–14 manual adjustment IP It's available for both Wi-Fi and mobile, but with nuances. For example, in mobile networks, operators often block change. IP, In Wi-Fi, you may need to specify DNS and lock by hand.

⚠️ Attention: Incorrectly stated IP-Address (e.g. from another subnet) will result in complete loss of connection. Before changing, write down your current settings or prepare a backup connection (mobile Internet).

πŸ“Š Why are you changing? IP-Xiaomi address?
Solving connection issues
Configuring remote access
I'm going around regional locks.
Testing the network.
Other

How to find out the current IP-Xiaomi address

Before you change IP, Check your current network settings. On Xiaomi, you can do this in a number of ways:

Method 1: Through Wi-Fi settings

  1. Open the Settings. β†’ Wi-Fi.
  2. Tap your network name (not on the switch!).
  3. Scroll down to the "Additional" block - it will appear here IP-address, Gateway, DNS other parameters.

Method 2: Through "Network State"

Go to Settings. β†’ The phone. β†’ General information β†’ Network status. This will be a "Wi-Fi" or "Mobile Network" section with detailed data.

Method 3: Using applications

Utilities like Network Analyzer or Fing show IP, MAC-Address and even a list of devices on the network, useful for diagnosing conflicts. IP.

ParameterExample of meaningWhat does it mean?
IP-address192.168.1.105The unique identifier of your device on the local network.
Gateway192.168.1.1IP router through which traffic to the Internet.
Subnet mask255.255.255.0Defines range IP-Addresses on your network (usually 24 bits).
DNS 1/28.8.8.8, 1.1.1.1Servers for converting domain names into IP (You can use Google or Cloudflare).

If you IP Starts with 169.254, which means that the device was unable to get an address from the router (the problem with the router). DHCP). In this case, manual adjustment can help.

πŸ’‘

If, after the change, IP Internet is missing, try manually pointing DNS Google (8.8.8.8) or Cloudflare (1.1.1.1) – this often solves the problem.

Step-by-step instruction: modification IP wifi

On Xiaomi MIUI The algorithm is different from pure Android. Follow the instructions carefully:

  1. Open the Wi-Fi settings: Settings β†’ Wi-Fi.
  2. Choose your network: Tap it by its name (not by switch!).
  3. Go to Advanced Settings: Scroll down and click Change Network (or Additional in older versions) MIUI).
  4. Activate manual input IP: In the section "Settings IP" Select Static (or Manual) if you don't have an option, tap Additional (three dots in the upper right corner).
  5. Fill in the fields: β˜‘οΈ Manual parameters IPIP-address (e.g, 192.168.1.150)Gateway (IP router, usually 192.168.1.1)Length of the network prefix (24 mask 255.255.255.0)DNS 1 and DNS 2 (8.8.8.8 and 1.1.1.1)Completed: 0 / 4 πŸ“Œ IP-Address: Select a free address within your network range (for example, if the router has a free address). 192.168.1.1, use 192.168.1.100–192.168.1.200). πŸšͺ Gateway: Specify IP your router (usually) 192.168.1.1 or 192.168.0.1). πŸ”’ Network prefix length: For mask 255.255.255.0 specify 24. 🌐 DNS: Use public DNS (for example, 8.8.8.8 and 1.1.1.1).

Save the changes.

Save.

If the Internet does not work after saving:

  • Check that IP Does not conflict with other devices (for example, via a router or a Fing app).
  • Make sure the gateway and DNS correctly.
  • Restart the router and phone.

⚠️ Note: Some Xiaomi models (e.g. Redmi Note 10 Pro) after manual tuning IP Access to local resources (printers) may be lost, NAS). In this case, add a static route through the Termux app or return to the DHCP.

How to check if you are free IP-address?
Open the command line on your PC and execute: ping 192.168.1.100 If the answer is "Exceeded waiting interval", IP If you have an answer, the address is taken by another device.

Change of change IP mobile (3G/4G/5G)

Unlike Wi-Fi, mobile operators often block manual setup. IP, As the address is assigned by their servers (DHCP). However, on some tariffs or in roaming, you can try the following methods:

Method 1: Through the settings APN

  1. Go to Settings. β†’ SIM-maps and mobile networks β†’ [Yours. SIM] β†’ Access points (APN).
  2. Select the current one. APN (usually Internet or mm).
  3. In the field, Tip. APN Add static through the comma (example: default,supl,static).
  4. In the fields, Static IP-Address and gateway, specify values (if the operator supports the).
  5. Save and restart the phone.

⚠️ Limitation: Most operators (MTS, Beeline, Tele2) ignore manual settings APN for IP. This method only works on corporate tariffs or in some regions.

Method 2: With the help of VPN proxy

If you need another one. IP To avoid the blockages, it is easier to use VPN-Applications (e.g. ProtonVPN or Warp from Cloudflare) change the external IP manually adjusted:

  • πŸ”’ Install. VPN Google Play.
  • Select a server in the right country.
  • Connect - yours. IP change automatically.

Method 3: Resetting the connection to obtain a new IP

Mobile operators are periodically changing IP When you reconnect, you force a new address:

  1. Turn on flight mode for 30 seconds.
  2. Turn it off and restart the phone.
  3. Check it out. IP service 2ip.ru.
MethodWorks for Xiaomi?Needs root?Notes
Hand-held IP into APN❌ (rarely)❌Only on corporate rates.
VPN/Proxyβœ…βŒChange the outside IP, but not local.
Resetting connectionβœ…βŒIt gives a new dynamic. IP operator.
Termux + ifconfigβœ…βš οΈ (You need root to make permanent changes)Temporary change through the command line.

πŸ’‘

For most users, Xiaomi is the only reliable way to change the game. IP on the mobile network - use VPN. Manual settings only work in Wi-Fi or on specialised rates.

Problems and mistakes in changing IP Xiaomi

Even after you set it up correctly, you may encounter errors, and here are the most common solutions.

1. β€œNetwork without Internet access”

Reasons:

  • πŸ”Œ Incorrectly stated Gateway or DNS.
  • 🚫 IP-The address conflicts with another device.
  • πŸ”’ Router blocks static IP (tethered MAC).

Decision:

  • Check the router settings (section) DHCP β†’ Address Reservation).
  • Use another one. IP (192.168.1.200 instead of 192.168.1.100).
  • Reset network settings on your phone: Settings β†’ System system β†’ Reset β†’ Resetting network settings.

2. "IP-conflict"

An error occurs when the selected IP It's already being used by another device:

  1. Open the router’s web interface (usually 192.168.1.1).
  2. Check the list of connected devices (section) DHCP Clients or Connected Devices).
  3. Choose a free one. IP ranged DHCP (For example, if the router is dealing 192.168.1.100–192.168.1.199, use 192.168.1.201).

3. The settings are not saved

On some firmware MIUI (particularly POCO) post-boot IP It's reset to automatic:

  • πŸ“± Update the firmware to the latest version.
  • πŸ”§ Use the Tasker app to automatically apply settings after reboot.
  • πŸ› οΈ Install an alternative launcher (like Nova Launcher) that doesn’t reset network settings.

No option "Static" IP" customized

If the Wi-Fi menu does not have the option of manual settings:

  • πŸ”„ Switch to another design topic (Settings) β†’ Topics).
  • πŸ“² Install Network Connections from Google Play – it allows you to change IP circumvention MIUI.
  • πŸ”§ Activate Developer Mode (Settings) β†’ The phone. β†’ Version. MIUI β€” Tap 7 times and check the settings there.
How to reset your network settings on Xiaomi?
Go to Settings. β†’ System system β†’ Reset β†’ Reset the network settings. This will delete all stored Wi-Fi, VPN and mobile network settings, but often solves problems with IP.

Additional settings: MAC-address IPv6

Besides IP, There are other things that affect the stability of the connection.

Change of change MAC-address

Some routers link devices by MAC-To change it to Xiaomi:

  1. Activate Developer Mode (as described above).
  2. Go to Settings. β†’ Additionally. β†’ For developers β†’ Network.
  3. Choose. MAC-Wi-Fi address and specify new (for example, 02:1A:2B:3C:4D:5E).
  4. Reconnect to the network.

⚠️ Warning: Modification MAC It can disrupt some features (such as Mi Share or Quick Apps).

IPv6 setup

If your router supports IPv6, You can turn it on like this on Xiaomi:

  1. Open the Settings. β†’ Wi-Fi β†’ [Your network] β†’ Additionally.
  2. Find the option. IPv6 and select Automatically or Manually.
  3. For manual settings, specify IPv6-address (e.g, 2001:0db8:85a3::8a2e:0370:7334) gateway.

πŸ’‘ Advice: If IPv6 not working, check router settings - some providers turn it off by default.

Tethering IP ce MAC router

Avoiding conflicts IP, Set up address reservation on the router:

  1. Open the router web interface (192.168.1.1).
  2. Move to the DHCP β†’ Address Reservation (or Reference) IP/MAC).
  3. Add a rule to MAC-Address your Xiaomi and assign it a fixed IP.

πŸ’‘

If, after the change, MAC-address missing the Internet, restart the router and reset the network cache on the phone (Settings) β†’ Annexes β†’ Application management β†’ Three points. β†’ Show system-based β†’ Wi-Fi β†’ Clear the cache).

Alternative methods: Termux and ADB

If the standard settings MIUI do not change IP, You can use tools for experienced users.

Method 1: Through Termux (without root)

Termux app allows you to temporarily change IP command-line:

  1. Install Termux from Google Play or F-Droid.
  2. Execute the commands: pkg install tsu tsu ifconfig wlan0 192.168.1.150 netmask 255.255.255.0 route add default gw 192.168.1.1 (replace wlan0 to your network interface and addresses to current).
  3. Check the changes: ifconfig.

⚠️ Limitation: After rebooting IP It's going to reset. You need root to make permanent changes.

Method 2: Through ADB (skilled)

If you have access to ADB, You can change the network settings directly:

  1. Connect your phone to your PC and activate Debugging via USB.
  2. Adb shell settings put global settings wifi_static_ip 192.168.1.150 settings put global wifi_static_gateway 192.168.1.1 settings put global wifi_static_netmask 24 settings put global wifi_static_dns1 8.8.8.8 settings put global wifi_static_dns2 1.1.1.1
  3. Reconnect to Wi-Fi.

Method 3: Magisk modules (root required)

If your Xiaomi is unlocked and Magisk is installed, you can use modules like Network Settings to deep-tube the network, but it is risky – the wrong settings can lead to loss of communication.

πŸ’‘

For most Xiaomi users, standard Wi-Fi settings are sufficient. ADB Suitable only for experienced users and temporary changes.

FAQ: Frequent questions on change IP Xiaomi

Can we change? IP mobile-only VPN?
At most tariffs, operators block manual settings IP. The only working methods: Use VPN (change-over IP). Reset the connection (on/off Flight Mode) to get a new dynamic IP. Manual settings are sometimes available on corporate tariffs APN. Direct change IP into 3G/4G/5G It is not possible without the consent of the operator.
Why After Manual Adjustment IP Internet gone missing?
Probable reasons: Incorrectly specified Gateway (must coincide with the IP router). IP-The address conflicts with another device on the network. DNS (Try 8.8.8.8). The router blocks static IP (check the settings DHCP). Solution: Return to automatic receipt IP (DHCP) and check the router's settings.
How do you do that? IP not reset after rebooting?
On some firmware MIUI manual IP Solutions: Update your firmware to the latest version. Use the Tasker app to automatically apply the settings after download. Set up reservations. IP router (bounding) MAC ce IP). Install custom firmware (such as LineageOS) where there are no such restrictions.
Can we change? IP on Xiaomi without access to settings (for example, if the phone is locked)?summary> If the phone is locked, change it. IP Alternatives: Connect to another Wi-Fi network (IP It will change automatically. Use SIM-card of another operator (mobile Internet) If you have access to a PC, connect the phone to the mobile phone USB and use ADB (Debugging enabled. Use Mi Account to unlock the screen (if the account is linked to the account).
How do you check that IP really changed?
Checking methods: In Wi-Fi settings: Settings β†’ Wi-Fi β†’ [Your network] β†’ Additional.Term: In Termux, run ifconfig or ip a. Online services: 2ip.ru or whatismyipaddress.com (will show external) IP). Applications: Network Analyzer or Fing. IP In Windows on PC, run ipconfig /all command-line.