CheckEmoji Community · the emoji forum
🏠 Home 🆕 What's new ❓ Unanswered 🔥 Popular 📡 RSS Members 👥 0 online log in · register
Home › IT › IT Support › Constant need to renew DHCP address

Constant need to renew DHCP address

Started by wanderingpanther21 · · 👁 3 views · 12 replies

📡 Subscribe to replies

Participants wanderingpanther21Andrew Peterson2Sandra Cook60neonfox12
wanderingpanther21 wanderingpanther21 MemberOP
16 messages
joined Aug 2017
#1 ·
So, here’s the deal: whenever I’m surfing the web, everything seems totally fine for maybe five or ten minutes at most, but then suddenly nothing will load—it just sits there on "loading" forever. The weird thing is, if I open the Command Prompt and type in ( ipconfig/renew ), everything starts working perfectly again... which is incredibly frustrating because I shouldn't have to do that every single time. I guess I'm looking for some help here. I’ve tried pretty much everything I could find online, scouring through countless YouTube tutorials, but since I’m not exactly a tech expert, I might have just been spinning my wheels. Just to save everyone some time and prevent people from asking me what I've already attempted, here is a quick rundown of what I've done so far. For my connection, I'm currently using a TP-Link TL-WN721N. If anyone can actually fix this for me, I’m more than happy to offer a cash reward—we can easily work out an amount that makes it worth your while!

1. I ran these commands in cmd: netsh int ip reset, restarted the computer, then did ipconfig/release and ipconfig/renew (though, as I mentioned, just doing ipconfig/renew seems to be what actually works)

2. I messed around with the IPv4 settings and tried changing the DNS server to automatic

3. In the power settings, I went into change advanced power settings, expanded USB settings, and made sure that USB selective suspend was disabled

4. And, of course, I installed the latest drivers for my TP-Link TL-WN721N

5. I even did a factory reset on the router; yesterday, some technicians came by and basically told me everything was "fine" now, apparently because there was some issue with how addresses were being assigned via the DHCP pool—so, whatever the case may be, that part is supposedly resolved

6. I also installed all the available Windows Updates

Like I said, I don't really know what I'm doing, and I suspect I might have just wasted a lot of effort since I haven't pinpointed the actual cause of the problem... I'm really hoping someone can step in and help me out
Andrew Peterson2 Andrew Peterson2 Active Member
148 messages
joined May 2013
#2 ·
It won't actually fix the underlying mess, but it might save you some frustration...

Instead of typing everything out manually every single time, just grab a Notepad window—kind of like how you’d type stuff into the command prompt—and save your command there as a .bat file. Call it something like ipconfig.bat and just double-click that little file whenever things go south again.

Honestly, I haven't got a clue why this started happening in the first place,
What version of Windows are you running? And would you be open to just resetting the whole OS? There's an option for that right in your settings. It takes a bit longer than a standard clean install, but you can just let it run overnight while you sleep...

Sent from my Samsung Galaxy S series using Reddit
wanderingpanther21 wanderingpanther21 MemberOP
16 messages
joined Aug 2017
#3 ·
Andrew Peterson2;64879947 said:It won't fix the underlying issue, but it might speed things up for you.

Instead of typing everything out manually every single time, I guess you could just save the command in Notepad—sort of like how you'd type it into the command prompt—and save it as a .bat file. Maybe call it ipconfig.bat, and then you can just double-click that file whenever the connection starts acting up again.

Honestly, though, I'm still not entirely sure why this happened in the first place,
Which version of Windows are you running? And would you even consider doing a full OS reset? There’s an option for that right in your settings. It takes a bit longer than a traditional clean install, but I suppose you could just let it run overnight while you sleep.

I'm on Windows 7, and as a total fluke, everything seems to be working fine today (though I haven't actually spent much time on the computer, so maybe it's just a lucky streak). I'm wondering if it had something to do with the DHCP pool settings the technician messed with earlier. I actually already made a .bat file a while back, and the last thing I wanted to do was reinstall Windows; I have a ton of stuff on my C drive that I'd need to move, which isn't a huge deal, but I don't have any installation discs handy. Plus, to be honest, I really don't feel like going through the hassle of reinstalling everything and hunting down all those drivers again, since that would probably eat up a massive amount of my time... anyway, Reddit thanks for the help!
Andrew Peterson2 Andrew Peterson2 Active Member
148 messages
joined May 2013
#4 ·
I just had a sudden realization about how you could make this whole thing even easier... You could just whip up a quick batch file that launches your browser and runs the script at the exact same time 😉. Then, you just name that batch file "Google Chrome" or "Mozilla Firefox" and call it a day.

Sent from my Samsung Galaxy S series using Reddit
Sandra Cook60 Sandra Cook60 Active Member
80 messages
joined Oct 2014
#5 ·
Go into your power settings..
Set the Wi-Fi to maximum performance there so the system stops throttling the connection to save energy. That should fix it. Other settings won't matter for your specific issue.
Laptops are notorious for this exact problem.
Try it first; you'll see the results within a minute. It usually works.
Whenever I fix this for people, their connection drops and glitches just vanish. Some have even dealt with jumping to the wrong gateway or incorrect IP addresses... just typical garbage programming from manufacturers and Microsoft.
Sometimes software issues resolve instantly. These days, products hit the market before they're even finished. They ship if it "sort of" works and try to patch it later if they can. It's a world run by incompetent programmers, and unfortunately, that's what we have to deal with.
I also recommend disabling Windows Update. What exactly do you think makes that Windows update any good?
neonfox12 neonfox12 Member
17 messages
joined Nov 2014
#6 ·
Good grief, there is so much confusion happening all at once in this thread. 🤦

@wanderingpanther21/">@@wanderingpanther21, I have to say, I really admire how you’re tackling this problem; you’re definitely an outlier in how methodical you are. 👍

Here is what we need to dig into next (feel free to just paste the results right here):
1. Run `ipconfig /all`—I need to see the output from when everything is running smoothly and again once the connection drops.
2. Try to ping your default gateway (that would be the IP address for your TP-Link device).
3. Ping 8.8.8.8 and then try to ping google.com; grab those results for both when the connection is active and when it fails.
4. Let's look at the settings on that TP-Link. What is the lease time set to? What does your DHCP pool look like? Also, how exactly is that TP-Link connected? Essentially, I’m trying to map out the entire path from your computer to the edge of the internet (your modem provided by your ISP).
wanderingpanther21 wanderingpanther21 MemberOP
16 messages
joined Aug 2017
#7 ·
Reddit thanks for the reply. I actually stumbled upon an old thread where someone was asking something pretty similar to what you’re dealing with, so I decided to give their suggestion a shot. And, well, it looks like that actually did the trick—turns out the issue was just some weirdness with the DHCP pool settings on my router. Right now, I'm just connecting via Wi-Fi using my TP-Link TL-WN721N, but I'm planning to switch over to a wired connection next summer, which will hopefully save me from all this headache, I guess, haha..
wanderingpanther21 wanderingpanther21 MemberOP
16 messages
joined Aug 2017
#8 ·
John Turner34 said:just head over to your power settings..
if you set the Wi-Fi to maximum performance there, so it isn't constantly trying to save energy, it should start working for you... I don't think any of the other settings really matter for what you're dealing with.
It’s honestly the biggest headache when you're using a laptop.
Give that a shot first; it only takes a minute to tweak and you'll see if it works. Usually, it does the trick.
Whenever I fix this for people, all those connection drops and weird glitches just vanish... I've even seen cases where it suddenly jumps to some wrong gateway or messed up IP address... just endless nonsense that manufacturers and Microsoft program into these things.
Sometimes software issues just resolve themselves, but nowadays it feels like they release products before they're even ready; for like 25 years now, companies just push stuff to market if it kind of works, and then they try to patch it later if they even bother at all... it's just a world full of incompetent programmers, and I guess that's just the reality we have to live with today.
I'd also recommend turning off Windows Update. I mean, what do you actually think is so great about those Windows updates anyway?

well, generally speaking, I haven't really used updates or antivirus much in the last 5 or 6 years because I feel like it's unnecessary, though I did trigger an update recently just to grab maybe some missing components like a framework or something, since it occurred to me that maybe that could be part of the issue, so I just did it to give myself some peace of mind.
wanderingpanther21 wanderingpanther21 MemberOP
16 messages
joined Aug 2017
#9 ·
neonfox12 said:Man, talk about a total cloud of confusion in one single thread. 🤦

@wanderingpanther21/">@@wanderingpanther21, I have to say, I really admire how you're tackling this problem; you're definitely an outlier here. 👍

I think what you might want to look into next—and maybe you could just paste the results right here for us—would be these things:
1. Run ipconfig /all—both when everything is running smoothly and once it starts acting up.
2. Try to ping your default gateway (basically the address for your TP-Link).
3. Ping 8.8.8.8 and try to ping google.com, checking both when it’s working and when it isn't.
4. Take a peek at those TP-Link settings. What’s the lease time looking like? How big is the DHCP pool? And how exactly is that TP-Link connected? I guess I'm mostly interested in seeing the path from your computer all the way to the exit point of your internet connection (that modem you got from your service provider).

I've pretty much tried most of that stuff already... and honestly, everything seems fine right now...

But since you brought up that fourth question... I'm currently using this router http://www.tp-link.com/no/products/d...L-WR841ND.html. If you happen to know of any top-tier models that won't give me grief—and maybe have a DHCP pool larger than this one (which I'm guessing is just cheap junk since it came free from my service provider)—I'd love a recommendation.

My setup involves some multi-point connections where the antenna is on the roof, the router is on the first floor, and I'm down on the ground floor connecting via Wi-Fi... basically, having reliable internet is huge for me, and I'm more than willing to shell out a decent amount of cash just to make sure I don't run into these kinds of headaches again in the future.

It's not like I chose this specific provider by choice; circumstances kind of forced my hand this year/summer, so once I'm able to, I'll look into whatever options are out there. I'm totally open to any suggestions or advice you might have.
wanderingpanther21 wanderingpanther21 MemberOP
16 messages
joined Aug 2017
#10 ·
Andrew Peterson2 said:I guess he just realized there might be an even easier way to simplify things. You could basically just whip up a batch file that launches the browser while running those commands simultaneously 😉 and then just rename that batch file to "Google Chrome" or "Mozilla Firefox."

Sent from my Samsung Galaxy S series using Reddit

Thanks, but I think the original idea was actually much better, haha..
neonfox12 neonfox12 Member
17 messages
joined Nov 2014
#11 ·
wanderingpanther21 said:I’ve pretty much tried everything mentioned here... and honestly, nothing seems to be working...

But since you brought up that fourth question... I'm currently using this router http://www.tp-link.com/no/products/d...L-WR841ND.html. Could you recommend a top-tier model that you know won't give me headaches? Ideally, I need one with a DHCP pool significantly larger than what I have now (which I'm guessing is tiny junk since it was provided for free by my ISP)
.
My setup involves using a local wireless provider; the antenna is mounted on the roof, the router is on the first floor, and I’m down in the ground floor unit connecting via Wi-Fi. To put it bluntly, a reliable connection is absolutely vital to me, and I am more than willing to invest a significant amount of money just to ensure I don't run into these kinds of issues ever again.

It wasn't my choice to go with this specific provider—circumstances forced my hand—but once this year/summer is over, I'll do whatever I can to switch. So, I am completely open to any suggestions or recommendations you might have.

The DHCP pool can actually be quite large on almost any Layer 3 device, but the issue is that service providers usually hand out equipment that caps out at about 16 connected clients or devices.

If you are forced to rely on a radio link (via those antennas), your options aren't exactly endless. When it comes to better gear for your Wi-Fi, a MikroTik hAP lite is a total best buy. However, if you really have the budget to burn, you should definitely hire a networking professional to design and maintain the setup for you.
In short, a true networking expert (someone who at least holds a CCNP certification) will be able to build this out perfectly for you.
wanderingpanther21 wanderingpanther21 MemberOP
16 messages
joined Aug 2017
#12 ·
neonfox12 said:The DHCP pool on any L3 device can be pretty massive, but since service providers usually hand you equipment that's capped at maybe 16 clients or devices, you're kind of limited there.

If you're forced to run things through a radio link—you know, using antennas—then I guess you don't really have much of a choice in the matter. As far as better gear for your Wi-Fi goes, a MikroTik hAP lite is probably your best bet for value. But honestly, if you've got money to burn, you should probably just hire a networking pro to set everything up and maintain it for you.
I mean, a real networking expert (someone with at least a CCNP certification, I suppose) could probably pull off a much cleaner setup than anyone else.


I definitely don't have money to throw away... :P hehe... thanks, I'll take your advice to heart and try to get this working myself.. 😉 Reddit thanks once more
Sandra Cook60 Sandra Cook60 Active Member
80 messages
joined Oct 2014
#13 ·
If your router is on the first floor and you’re downstairs, try tilting the antennas down at least halfway.
It should provide a more stable connection both to and from the router.
Have you set the Wi-Fi power settings in Windows to maximum?
If you're using DHCP, it's best to set the router range to 192.168.x.100-200
so everything runs smoothly without any issues.
Also, set the Wi-Fi adapter to the Land region with the most available channels and you'll be fine.

You must log in or register to reply here.

Log in Register

🔗 Similar threads