How to disable DHCP on Xiaomi router

Many users, when expanding their home network or implementing complex routing schemes, are faced with the need to change the standard settings of the router. IP-Addresses conflict with the providerโ€™s equipment or the second router, which requires manual configuration. In Xiaomi devices, known for their concise interface, the deactivation procedure of this service has its own nuances that must be considered for the stable operation of the entire system.

Disabling a DHCP server turns your router into a simple switch or access point, transferring address management rights to another device on the network. This is a critical step in organizing a cascading connection, where one router distributes Internet, and a second one (for example, Xiaomi) only expands Wi-Fi coverage. Incorrect configuration can lead to a complete lack of Internet access for all connected devices, so it is important to clearly understand the sequence of actions.

In this article, we will discuss in detail the process of disabling the automatic host configuration service on various Mi Router and Redmi Router routers models. You will learn how to avoid typical errors, what parameters need to be changed before the basic manipulations begin, and how to properly configure static addresses to ensure uninterrupted connection.

Why you should disable the DHCP server on your router

The main reason that home network administrators have to turn this off is to eliminate addressing conflicts, where two active physical networks are running on the same physical network. DHCP-servers, devices begin to receive incorrect gateway settings or DNS, Xiaomi routers are aggressive by default and always try to assign addresses to connected customers, ignoring the presence of other control devices.

The second scenario is a complex segmented network where a dedicated server or a more powerful router (such as MikroTik or Keenetic) distributes addresses and Xiaomiโ€™s device is used solely as an access point, in which case it is unacceptable to have its own address pool on the secondary router, and it must operate in โ€œtransparent bridgeโ€ or similar mode, simply transferring data packets.

โš ๏ธ Attention: Before disconnection DHCP Make sure that there is at least one active address server on the network. If you turn off the service on a single router, no device will be able to access the service. IP-The address will be automatically accessed and the web interface will be lost.

It is also worth noting that manual control IP-You know exactly what device is what address is, and you can set up traffic filtering or port-over rules to specific statics. IP. For Mi Router routers 4A or AX3600 This is especially true when setting up a smart home, where the stability of device addressing is critical for the operation of automation scenarios.

๐Ÿ“Š What is your main disconnection scenario? DHCP?
Creating a router cascade
Resolving conflicts with the provider
Set up static IP for a smart home
Experiments with the network

Preparation for changing the network settings of the router

Before making changes to the configuration of the Xiaomi Router, you need to perform a number of preparatory steps. The most common mistake is to change the settings without first fixing the current parameters. If something goes wrong, you'll need to know the source data to restore access. IP-gateway address, subnet mask and range of addresses issued.

It is important to ensure a stable connection to the device during setup. LAN-port, because in the process of reconfiguring the wireless connection can break. If you use a laptop, connect it with a cable to any port of the router, except for the router. WAN (If it is not configured with access point mode).

โ˜‘๏ธ Checklist of preparation for setting up

Done: 0 / 4

Itโ€™s also worth checking your deviceโ€™s firmware version. On older versions, the interface may be different and some features may be hidden. Updating to the current version of MIUI for Router ensures you see all the options available. Go to the system status section and check for updates before you start.

๐Ÿ’ก

Save a screenshot of the current LAN settings before any changes, which will help quickly restore the network to work in the event of an error in the settings.

Log in to the web management interface Xiaomi Router

To access the settings, you need to open the browser and enter the default gateway address. Most Xiaomi models have 192.168.31.1 or the domain name miwifi.com. In the address bar, type one of these addresses and press Enter. IP-Router address, use current data.

The system will ask for an administrator password. Please note that this is not necessarily a Wi-Fi password. If you set up a router for the first time, the password may have been set separately or matched to the wireless key. Once you have successfully logged in, you will be taken to the main status page, which displays the list of connected devices and traffic speeds.

The management interface can be in English or Chinese, depending on the regional version of the firmware. For convenience, it is recommended to switch the language to English or Russian (if available) to accurately understand the names of menu items. Switching is usually in the upper right corner or in the Settings section. โ†’ Status โ†’ Language.

What to do if the administrator password is forgotten?
If you don't remember the password to log in to the web interface, you'll need to reset the router to factory settings. Find the Reset hole on the case, press the clip and hold it for 5-10 seconds until the indicator flashes.

Step-by-step instructions for disabling DHCP

The process of deactivating the address service on Xiaomi routers is as follows: After logging into the control panel, go to the Settings section. Depending on the version of the interface, this item may be called Advanced Settings or have a gear icon. We need a subsection responsible for the local network.

Find the menu. LAN Settings (Settings) LAN). And that's where the internal network parameters are. DHCP Server that is activated by default (labeled On or Enabled). To turn off, you need to switch the switch to the Off or Disabled position.

Path to setup:


Settings โ†’ LAN Settings โ†’ DHCP Server โ†’ Off

After changing the position of the tumbler, the interface can warn you that the devices will no longer receive the device. IP-Important: Immediately after settings, your computer may lose communication with the router if it relied on the router. DHCP. You will have to manually prescribe static IP-address on the computer network card to get back into the settings.

๐Ÿ’ก

After disabling DHCP on the Xiaomi router, all devices must receive addresses from another server on the network, otherwise the Internet will not work.

Static IP Configurement and Conflict Resolving

If you're offline. DHCP, But if you want to keep the router running, you need to manually set the static. IP-Go to the network adapter settings in your OS (Windows/macOS/Linux). In the properties of the protocol IPv4 specify IP-address from the same subnet as the router, but not the same as its address.

For example, if the router address is 192.168.31.1, your computer can be assigned 192.168.31.2. Leave the subnet mask as standard 255.255.255.0. As the gateway and DNS, specify the address of the router itself (192.168.31.1) or the address of the main gateway of the network if the Xiaomi router operates in a cascade.

The table below provides examples of correct settings for different use cases:

ParameterMain router (DHCP enabled)Xiaomi (Access Point Mode)Computer (Statics)
IP-address192.168.1.1192.168.1.2192.168.1.50
Subnet mask255.255.255.0255.255.255.0255.255.255.0
Gateway.192.168.1.1192.168.1.1192.168.1.1
DNS serverAuto or 8.8.8.8192.168.1.1192.168.1.1
DHCP ServerIncludedOff.Not applicable.

When organizing a cascade, it is important to connect the cable from the main router to the LAN-Xiaomi router port (not in the WAN, If it does not support the bridge mode automatically when switched off DHCP). In some Xiaomi firmware when disconnected DHCP port WAN It may stop working as an input, turning into a regular switch.

Diagnosing problems and restoring access

After making changes, the network can behave unpredictably. If the Internet is lost, the first thing you do is check if the device is receiving the information. IP-In the command line, type ipconfig and look at the "Principal Gateway" field. 169.254.x.x, signifier, DHCP It is not working and no static address is assigned.

A common problem is the โ€œloopโ€ of addresses, when an old device that distributes a message is accidentally left on the network. DHCP. Check all connected routers and access points. Also make sure that the range of addresses you plan to use for statics doesn't overlap with the range of other ones. DHCP-server, if it remains active.

โš ๏ธ Note: If you lost access to the router after disconnecting DHCP And you can't pick up static. IP, The only way out is hardware reset, which will bring back factory settings, including the setup. DHCP server.

For advanced users, it is useful to use network scanning utilities such as Advanced. IP Scanner or Fing on your smartphone, which will show you all the active devices on the network and help you identify who is giving out. IP-This is especially useful in large apartments or offices with complex wiring structures.

Why is the Internet not working after setting up?
The most common problem is misdefined DNS. Try manually prescribing Google DNS servers (8.8.8.8) or Cloudflare (1.1.1.1) in your computer's network adapter settings or in your router's WAN settings.
Can you completely remove DHCP from Xiaomi firmware?
No, you can't programmatically remove a service from the router's operating system without flashing it to alternative software (like OpenWrt), which makes it unwarranted, but shutting it down completely in settings is tantamount to deleting it for practical use.
Does DHCP Disconnection Affect Wi-Fi Speed?
By itself, disabling DHCP does not affect data transfer speed; on the contrary, the absence of background customer survey processes can theoretically slightly offload the routerโ€™s processor, but at home this change is imperceptible.
What to do if your smart home stops seeing your devices?
Smart home devices often rely on DHCP to get an address. If you turn off DHCP, you'll have to manually prescribe static IP to each device, which is extremely inconvenient, and in such cases, it's best to leave DHCP on but reserve addresses for critical devices.
Does the guest network work when DHCP is turned off?
A guest network usually requires a separate pool of addresses. DHCP It's off, the guest network will also stop giving out addresses, and guests won't be able to connect. DHCP must be active.