Changing the network identifier on a device is often required to solve problems with connecting to the local network or to bypass simple provider restrictions. Owners of Xiaomi and Redmi smartphones running on the shell of MIUI or the new HyperOS may face the need to manually prescribe network parameters, since automatic data acquisition using the DHCP protocol sometimes fails. This is especially true when the router incorrectly gives addresses or when you need to lock the device in the list of allowed.
The change IP-The address does not require superuser rights (Root) and is executed by the regular tools of the Android operating system, but it is important to understand the difference between changing a local address within your home network and changing an external digital fingerprint on the Internet. In this guide, we will discuss the first option in detail, as it solves 90% of problems with connecting printers, NAS-storage and game consoles to the smartphone.
Before making changes to network configuration, you need to make sure you are within range of the Wi-Fi signal you plan to connect to.Incorrectly configuring the gateway or subnet mask can lead to loss of access to the Internet, although the LAN will remain available. Carefully follow the steps described below to avoid input errors.
Differences between Dynamic and Static IP in Android
By default, all modern gadgets, including the popular Redmi Note and Xiaomi Mi models, are set to auto-operate, which means that when you connect to an access point, the device sends a request to the router and receives a temporary ID, which is convenient for ordinary users, but creates problems in specific use cases.
When you put settings into manual mode, you assign a static IP to the phone. This ensures that the device always has the same address on the LAN, which is critical for file sharing or remote management. Dynamic address can change after the router restarts or the lease time expires, which will break the established connections.
β οΈ Note: Using the same static address for two different devices on the same network will lead to conflict. IP. Both devices will lose access to the Internet before eliminating duplication.
Letβs look at the main differences in the modes of work in more detail:
- π Dynamic (DHCP): The address is automatically issued, can change, is ideal for guests and temporary connections.
- π Static: The address is manually written, permanent, and is required for servers, printers, and port transfer.
- π‘οΈ Security: Static configuration requires knowledge of network parameters (gateway, DNS), This adds a level of control.
- βοΈ Flexibility: Manual setting allows for alternatives DNS-servers to speed up response or bypass locks.
Preparation for manual network setup on Xiaomi
Before you start, you need to know the current settings of your network, and if you just type in random numbers, the Internet won't work, and the easiest way to get the information you need is to look at the settings of another device that's already successfully connected to that Wi-Fi, or to look at the sticker on the router's case.
You will need three key values: the gateway address (usually the routerβs address), the subnet mask, and the preferred one. DNS-On Xiaomi smartphones, you can quickly look at the properties of the active connection before you edit it. Record it or take a screenshot of the screen.
βοΈ Checking before setting up
It is also worth considering that on new versions of Android and shells MIUI 13/14 HyperOS and the randomization function is enabled by default MAC-It changes the physical ID of the device every time it connects to enhance privacy. IP This feature is often required to be disabled or taken into account when setting up a router.
Step-by-step instructions for changing IP to MIUI and HyperOS
The interface of settings in Xiaomi and Redmi smartphones is almost identical, although the visual design may vary slightly depending on the version of the system. The algorithm of actions is the same for all current models. First, open the Settings app and go to the Wi-Fi section.
Find your network in the list. If you're already connected, click on the arrow to the right of the network name or the gear icon. If the network is new, click on the name of the network and the system prompts you to enter a password. It's at this point, before you enter a password (or in the details menu of the existing network), you need to change the configuration type.
Settings β Wi-Fi β [Name of your network] β IP settings β StaticAfter selecting the item Static (instead of DHCP), You'll open up extra fields to enter, and you'll need to be as careful as possible "IP-Enter the desired address, which should be in the same subnet as the router. For example, if the router has 192.168.1.1, the phone can be given 192.168.1.150.
What to do if the IP field is inactive?
Next, fill in the other parameters. The gateway and subnet mask should match the ones used on your network. Pay special attention to DNS: you can leave automatic ISP values or register public servers, for example, from Google (8.8.8.8) for stability.
Configure Extended Parameters and DNS
Manual network management on Android allows you to fine-tune domain names. DNS-ISP servers are sometimes slow or filtered, and by prescribing alternative addresses, you can speed up site openings and improve connection security.
In the static IP setting menu on Redmi, you'll see the fields "DNS 1" and "DNS 2." Use proven public services. Cloudflare (1.1.1.1) is known for its speed, and Google Public DNS (8.8.8.8) is known for its reliability. This is especially useful if the provider has frequent name resolution errors.
| DNS Service | Main address | Alternative address | Feature |
|---|---|---|---|
| Google Public DNS | 8.8.8.8 | 8.8.4.4 | High stability |
| Cloudflare | 1.1.1.1 | 1.0.0.1 | Maximum speed |
| OpenDNS | 208.67.222.222 | 208.67.220.220 | Phishing filtering |
| Quad9 | 9.9.9.9 | 149.112.112.112 | Blocking malware |
After you enter all the data, click Save (check in the top right corner). The smartphone will try to reconnect to the network with the new settings. If the settings are entered correctly, the Wi-Fi icon will appear without an exclamation point, and the Internet will work.
π‘
Use DNS 1.1.1.1 if your ISP censors content frequently or is slow to process requests for popular resources.
Solving Connection Problems and Conflicts
If the Internet does not appear after the change of settings, and the network icon is lit with a warning, then there is an error in the parameters. IP-an address that is already occupied by another device on the network, in which case the Android system will give a notification of the conflict of addresses.
Make sure that the last digits in the phone address (e.g.,.155) do not match the address of any other gadget. The range of available addresses is usually limited to the subnet mask. If the mask is 255.255.255.0, then only the last group of digits in the address can be changed.
β οΈ Note: If you have changed IP-The gateway address is incorrect, the phone will not be able to go outside the local network.
It is also worth mentioning the function of "Private". DNS" (Private DNS), It's in advanced Wi-Fi settings, and it runs on top of the normal settings, encrypting it. DNS-requesting TLS. If you've set up a static IP, But the sites are not loaded, try temporarily disabling Private DNS connection settings.
Impact of randomization MAC-stability-address
Starting with Android 10, the system by default hides the real thing MAC-The device address, generating random at every connection, is a security feature, but it can interfere if the router is configured to filter by MAC-addresses (white list).
On Xiaomi smartphones, you can turn this feature off for a specific network. In the Wi-Fi settings menu, the same one you changed. IP In static, look for "Privacy" or "Adress Type." Switch it from "Random" MAC" on "MAC-address".
This action will make your phone visible to the router as a permanent device with an unchanging identifier. Combined with static IP, this ensures maximum connection stability, eliminating any surprises from the router when reconnecting.
π‘
Disabling randomization MAC-Addresses are required if your router uses device filtering or provides static IP on the gateway side, tied to the physical address of the card.