When you connect a Xiaomi smartphone (be it a Redmi Note 12, POCO X5 or flagship Xiaomi 14) to the Wi-Fi network, on the screen for a split second a notification appears: “Getting” IP-And for many users, this is a mystery -- what is this address, why is it needed, and why does it sometimes hang around at this point? It's actually a key mechanism for any network, without which your phone would not be able to communicate with a router or the Internet.
In this article, we will explain what is IP-The address in the context of Wi-Fi on Xiaomi, how it is assigned to the device, and why sometimes errors such as “Wi-Fi connection saved but without Internet access” or “Getting the device” occur IP-You'll also learn how to manually check the current address. IP, Change it to static (if required for gaming consoles or smart homes) and fix typical problems.
Spoiler: 90% of cases have problems with obtaining IP Xiaomi is a simple router reboot or a network reset on the phone, but there are less obvious reasons for the conflict. DHCP lock-in MAC-provider-side addresses.
What is it? IP-The address and why you need a Xiaomi phone
IP-An Internet Protocol Address is a unique numerical identifier for your device on the local network or the global web, and think of it as your Xiaomi’s “mail address” in the digital world: without it, data packets simply don’t know where to deliver information.
When you connect to Wi-Fi, the following happens:
- Your phone sends a request to the router: “Give me a call.” IP-It's called an address! DHCP-request).
- The router checks if there are any available addresses in its pool and gives one of them (e.g. 192.168.1.103).
- The phone takes the address and uses it to exchange data with other devices on the network.
No IP-The address of your Xiaomi would not be:
- 🌐 Open websites (browser would not know where to send requests).
- 📱 Sharing files with other devices over a local network (e.g., Mi Share).
- 🎮 Connect to game servers or streaming platforms (Netflix, YouTube).
- 🔒 Get software updates (Xiaomi servers wouldn’t know where to send files).
It is important to understand that IP-There are two types of addresses:
- Local (private): assigned by a router within your home network (e.g, 192.168.x.x or 10.0.x.x).
- External (public): issued by your ISP to access the global network, and seen by all the sites you visit.
How Xiaomi's phone gets its hands on IP-address: DHCP
99% of the time. IP-Xiaomi address is automatically assigned via protocol DHCP (Dynamic Host Configuration Protocol: This means that the router decides which address to give your device from a predefined range (e.g., 192.168.1.100 to 192.168.1.200).
The process looks like this:
- You select a Wi-Fi network in Xiaomi settings and enter a password.
- The phone sends a broadcast request: "Who is here giving out?" IP-address?» (DHCP Discover).
- Router replies, "I! Here's 192.168.1.105, a network mask of 255.255.255.0, and a gateway of 192.168.1.1» (DHCP Offer).
- The phone accepts the offer and confirms: "I take it!» (DHCP Request).
- The router detects that the address 192.168.1.105 is now occupied by your Xiaomi, and sends a final confirmation (DHCP ACK).
All of this exchange takes place in a fraction of a second, but if at any stage there is a failure (for example, the router does not respond or the addresses in the pool are out), you will see the inscription "Receiving" IP-Addresses on Xiaomi’s screen that can hang indefinitely.
Critical detail: on smartphones Xiaomi with MIUI 14+ In the logs of the system you can see the details DHCP-For this, go to Settings. → The phone. → Version. MIUI (tap 5 times, then open the additional settings → Logs of the system.
What to do if DHCP no-address?
How do you know? IP-Address to Xiaomi: 3 ways
If you need to know the current IP-The address of your Xiaomi (for example, to set up port port drop or connect to a local server), use one of these methods:
Method 1. Through Wi-Fi settings
- Open the Settings. → Wi-Fi.
- Tap on your network name (not on the switch!).
- Scroll down to the “Additional Settings” (or “Advanced”) block.
- Here you'll see the lines: IP-Address: Your local address (for example, 192.168.1.103). Gateway: router address (usually) 192.168.1.1 or 192.168.0.1). DNS 1/DNS 2: Domain name servers (e.g. Google) DNS — 8.8.8.8).
Method 2. Through the "Mi Tools" app
If you have a proprietary Mi Tools app installed (available in GetApps), open it and go to the Network tab. This shows all network settings, including: MAC-address, IPv4 and IPv6.
Method 3. Through the terminal (for advanced)
If you have a bootloader unlocked and Termux installed, follow the command:
ifconfig wlan0Find the inet addr line in the conclusion – this is yours. IP.
| Method | Advantages | Deficiencies |
|---|---|---|
| Wi-Fi settings | No need for additional applications | No information on the outside IP |
| Mi Tools | Shows. MAC and IPv6 | You need to set it up separately. |
| Terminal (Termux) | Maximum details (including: TTL) | Requires root or Termux |
| Third-party applications (e.g. Network Analyzer) | Network analysis, ping, traceroute | Advertising in free versions |
Static vs dynamic IP: What's best for Xiaomi?
By default, your Xiaomi is using dynamic IP, It's a router that automatically outputs every time you connect, but in some cases, it's better to assign a static router. IP (fixed when necessary?
- 🎮 For game consoles (PS5, Xbox) or PC if you play on a local network with Xiaomi.
- 🖥️ Remote access to your phone (via TeamViewer or AnyDesk).
- 🏠 For smart home (if Mi Home devices require fixed home security) IP link).
- 🔧 For port forwarding (port forwarding) on the router.
How to set up static IP Xiaomi:
1. Go to Settings. → Wi-Fi and tap on your network
2. Select Change the Network → Additional settings
3.In the Settings field IP select Static.
4. Enter IP-address from your router’s range (e.g. 192.168.1.200)
Specify the lock (192.168.1.1) and DNS (for example 8.8.8.8)
6. Save and reconnect to the network
-->
⚠️
Note: If you are going to have a static IP, If you are already using another device on the network, there will be a conflict. IP-In this case, none of the devices will be able to access the Internet. To avoid the problem, check the occupied addresses through the router's web interface (usually at 192.168.1.1).
When dynamic IP preferably:
- If you often connect to different networks (at work, in a cafe, at home).
- If you have many devices on your network, the router optimizes the distribution of addresses.
- If you do not want to manually adjust the settings when changing the provider.
1. the correctness of the specified gateway (it must coincide with the address of the router).
2. Correctness DNS (try 1.1.1.1 or 8.8.4.4).
3. no conflicts with other devices (via ping: ping 192.168.1.200 in Termux)
-->
Typical problems with getting IP Xiaomi and their solutions
If your Xiaomi is “hanging” in the “Getting” stage IP-Addresses" or connects to Wi-Fi without access to the Internet, the reasons may be as follows:
| Problem. | Possible cause | Decision |
|---|---|---|
| «Receipt IP-addresses hang indefinitely | Router doesn't respond DHCP-request | 1. Reboot the router. 2. Assign static IP 3. Check if it's off. DHCP-server. |
| Connection without Internet (exclamation point) | Incorrect. DNS lock | 1. Install. DNS Google (8.8.8.8) or Cloudflare (1.1.1.1.2) to check if the antivirus is blocking access. |
| IP-address begins with 169.254.x.x | APIPA (default DHCP) | 1. Reboot the router and phone. 2. Check the provider's cable (possibly no internet connection). |
| Conflict IP-address | Two devices got the same thing. IP | 1. disconnect one of the devices from the network. 2. assign static IP one. |
⚠️
Note: If the problem only occurs on Xiaomi and other devices are connected normally, try resetting the phone’s network settings: → System and device → Resetting settings → Resetting Wi-Fi, mobile network and Bluetooth, which will delete all the saved networks, but often solves problems with the Internet. DHCP.
Additional steps for diagnosis:
- 🔍 Check if the router is in isolation mode of customers (AP Isolation. In this case, the devices on the network can't see each other.
- 🔄 Update your router’s firmware (especially if you have an older Xiaomi Mi Router or Redmi Router model).
- 📡 Check your Wi-Fi channel: If it’s overloaded (like a channel 6 in an apartment building), switch to a less busy one (1, 11, or 5 GHz).
💡
If “Receiving” IP-"address" occurs for longer than 30 seconds - the problem is almost always on the router side, not the phone. Start diagnosing with a router reboot.
How to hide your own IP-Xiaomi address: VPN proxy
Your exterior IP-The address (which the sites see) can be hidden by VPN Or a proxy. It's useful:
- 🔒 Bypass geoblocking (e.g., to watch Netflix USA).
- 🛡️ Protection against tracking in public networks (airports, cafes).
- 🚀 Accelerating torrent downloads (some providers are slowing down) P2P-traffic).
How to set up a VPN on Xiaomi:
- Download the app VPN from Google Play (e.g. ProtonVPN, Windscribe, or 1.1.1.1 from Cloudflare).
- Register and select a server (e.g. in the Netherlands or the United States).
- Connect to VPN — outer IP change.
Check out the new one. IP on sites like 2ip.ru or whatismyipaddress.com.
⚠️
Attention: Free of charge VPN-For permanent use, it is better to choose a paid tariff (for example, ProtonVPN with servers in Switzerland, where strict privacy laws are used).
The alternative VPN — proxy:
Proxy servers work at the application level, for example, you can configure a proxy only for the Mi Browser browser:
- Open the Settings. → Wi-Fi.
- Tapping on your network. → «Change the network» → «Additional settings».
- In the Proxy section, select Manual and enter the address and port (e.g, proxy.example.com:8080).