1. Current Location: Home >  192.168.1.1 >  New devices cannot connect to WiFi and are always stuck in obtaining IPs. The router’s address pool is not enough.

New devices cannot connect to WiFi and are always stuck in obtaining IPs. The router’s address pool is not enough.

Troubleshooting diagram for new devices unable to connect to WiFi due to the router's DHCP address pool being full.

Last month, I added a smart socket to my living room. I spent 20 minutes scanning the QR code to configure the network, but it kept getting stuck on "Getting IP address." Finally, it reported "Unable to join the network." But my phone is connected next to me, so the password is definitely correct. My first reaction was that the socket was broken. I tried another brand and it was still the same. Later, I checked the backend of the router and realized that it was not the socket, but that my DHCP address pool was full - I had used up a hundred numbers, and none of the new ones could get it.

This article summarizes the investigation. If you have a lot of smart devices at home and your new gadgets can’t connect to WiFi recently, don’t rush to blame the devices. Advance 192.168.1.1 Take a look at the address pool.

Let’s make it clear first: Stuck in obtaining IP and wrong password are two different things

If you can’t connect to WiFi, the prompts on your phone actually fall into two categories. One type is to directly report "wrong password" and "problem with authentication". That is a matter of the password, and the characters are not entered correctly. The other type is what I encountered this time: After entering the password, the phone spins around and switches to Android to give you the message "Saved but unable to connect". The iPhone gives you "Unable to join the network". Some devices are even more simple and stop at "Obtaining IP address".

The latter category suspects the password, which is a sign that the router has been authenticated but has not sent the IP to you. It's like the door is opened, but there is no room for you inside. I have written an article before about the situation of incorrect password. The WiFi password is clearly correct, but the 5th Office is blocking people. In that article, one of the five ways to stop people is "the door is full." Today's article will focus on this one point and explain it thoroughly.

Why is the address pool full?: I counted the numbers at home

The router sends IP addresses to devices, not randomly, but one by one from a fixed range. This range is called an address pool. On my Mercury, by default it says 192.168.1.100 arrive 192.168.1.199 , a whole hundred numbers. It sounds like a lot, but there are so many things at home: Two mobile phones, two computers, a tablet, three TVs (one in the living room and bedroom plus a projector), four cameras, seven smart sockets, five light bulbs, a sweeper, an air purifier, a humidifier, two speakers, plus the mobile phones of occasional guests, it can easily exceed 100.

I'll come in that day 192.168.1.1 I counted the device management page and found that there were ninety-seven devices in the allocated list, with an upper limit of one hundred in the address pool. There are three numbers left, two of which are still occupied by static IP bindings. In other words, there is only one left that can really be sent out dynamically. The new socket came in and hit the muzzle right.

What to check What’s going on with my unit at home? illustrate
DHCP client list 97 units have been allocated visual evidence of occupancy
Address pool range 100~199, 100 in total Default value, many brands set it this way
Static IP binding 2 traps The bound number is not returned to the dynamic pool
Remaining available for allocation 1 New equipment gets stuck when it comes in

To determine whether the address pool is full, you don’t need to count devices. Just look at one phenomenon.: The old devices are all normal, but the new devices are always stuck in obtaining IPs. After restarting the router, the new devices can connect, but after a few days they can no longer connect. This is different from IP conflict. IP conflict is when two devices get the same number, sometimes good and sometimes bad. In that article, I Send the same IP to two devices Wrote in. The rule when the address pool is full is "new ones can't get in", not "old ones are jumping around".

first step: Expand the address pool, don’t just move one end

The solution is not difficult, go ahead 192.168.1.1 In the background, find the DHCP settings and expand the address pool range. The default is 100 to 199. I changed it to 50 to 254, which suddenly added more than 200 numbers. The specific size of the change depends on the number of devices in the home. I usually leave double the margin.

The entrances of each brand are different, but they are not hidden deeply. Mercury and Tenda's old models are in the "DHCP Server" menu, TP-Link is in "DHCP Server → Address Pool Settings", Xiaomi is in "Common Settings → LAN Settings" and "DHCP Address Pool" is in "Internal Network → DHCP Server". If you can't find it, just look for the words "Advanced Settings" and "Network Settings". I have helped people change five or six brands, and they are basically on this level.

There is a detail I would like to mention specifically: When changing the range, both the starting IP and the ending IP must be changed, don't just change one end. I only changed the end from 199 to 254, and the start was still at 100. That just moved the pool back, not more. Move the starting point forward to 50, the ending point to 254, and release both ends to truly expand. Another rule is, don’t use the address occupied by the router itself (such as 192.168.1.1 ) The addresses in the same segment as optical modem are expanded into the pool to avoid collisions. In the article about changing the network segment five accounts Calculate this.

Step 2: Just shorten the lease and let the number circulate.

Just expanding the pool can sometimes treat the symptoms. The one at my home is full again after a week of expansion - there are only so many devices and accounts, and the expansion is in vain. What really saved me was shortening the DHCP lease from the default of one day.

What is a lease? To put it bluntly, it is the usage period determined by the router when it "issues a number" to each device. The default is usually 120 minutes or 1440 minutes. If the device does not make any sound after the expiration, the router will assume that it is still in use and will automatically renew. The problem is with those silent devices: Things like cameras and smart sockets that are online all year round don't matter, but those that are temporarily connected and then left - the guest's mobile phone, the tablet that is used occasionally, the account is still occupied after leaving, and will not be returned until the lease expires.

I originally set it up to 1440 minutes (one day), and each number would take up one day before repayment. I changed the lease to 120 minutes (two hours), so that when the temporary equipment is gone, the number will be free for up to two hours. Don’t be afraid of permanent equipment at home. They will be automatically renewed before the lease expires and cannot be disconnected. Half a month after the change, no new device card has appeared to obtain an IP.

A word of warning here, the lease time is too short. If the lease time is less than 60 minutes, the resident equipment will frequently renew the lease, which will increase the burden on the router. Some old equipment will be kicked out by mistake if the lease is not renewed in time. I tried 30 minutes, but the sweeper went offline the next day, and it took 120 minutes to stop.

The third pit: Static IP binding occupies the number of the pool

When I was expanding the pool, I also discovered a hidden pit.: The static IPs I assigned to printers, NAS, and cameras accounted for numbers in the address pool. There is no problem with the binding itself. The problem is that if the bound number falls within the range of the dynamic pool, it is equivalent to taking a number from the dynamic pool and not returning it to others.

My home is connected to NAS 192.168.1.120 , 130 was tied to the printer, and 140 was tied to the living room camera. These three numbers all fall into the default pool of 100~199, and there are three less in the dynamic pool. It doesn't matter if there is less equipment, but if there is too much equipment, these three numbers will be the straw that breaks the camel's back.

The correct solution is to move the bound number outside the address pool. For example, if the pool is 50 to 254, then tie the section from 2 to 49 to the fixed equipment, or simply tie 254 upwards. In this way, no number in the dynamic pool is occupied, and all numbers can be used by mobile devices. How to set up static IP binding and where to bind it? I am here Binding static IP printer to NAS is stable I wrote about it in that article, so I won’t repeat it in this article. I just remind you that the position where you tie it should not fall into the pool.

One final word: These three kinds of "failure to connect" are not the fault of the address pool.

After sorting out the address pool, lease, and binding, there are still three situations where the connection cannot be made. The troubleshooting order should be placed in front of the address pool. Don’t put the cart before the horse.:

The order of my investigation this time is: First check if the password is wrong, then check if there is a device problem, and then suspect the address pool. When I looked through the background and saw the numbers, I knew there were 97 channels versus 100 numbers. If you don't have so many devices and are still stuck in obtaining IPs, don't touch the pool yet and check based on the three items above. I started when the address pool was full, expanded the pool, added short-term leases, and moved bindings. After completing these three things, no new equipment in my home has ever been out of the chain.

Read More


Copyright Notice Scan to read on mobile
All Rights Reserved: 《SHUNOT》 => 《New devices cannot connect to WiFi and are always stuck in obtaining IPs. The router’s address pool is not enough.》
Article URL: https://www.shunot.com/en/192-168-1-1/1622.html
Unless otherwise stated, all articles are original by 《SHUNOT》. Reposting is welcome! Please indicate the original URL when reposting, thank you.

Contact Us

Online Consultation: Click here to send me a message

WeChat ID: master_135

Scan to follow