Recommended Posts

Hey everyone, 

 

I haven't touched my network setup in a long time as it's been working with no issues for months. 

 

Over the last week or so, I've noticed that some devices struggle to stay connected to the network. At the moment, there's a Kindle and a desktop that are struggling to stay connected. 

 

I've no idea where to start looking into this so any pointers would be great!

 

I have a USG, two Unifi APs (Lite) and a D-Link switch (DGS-1100-08P).

Link to comment
https://www.neowin.net/forum/topic/1395319-network-keeps-dropping-off/
Share on other sites

These are wireless devices, (computers) I'm guessing? Could be your APs failing. Or somehow losing power. How old are the unifi APs?

 

Wait for Budman for further instructions. 😛 

  On 09/05/2020 at 16:48, Mindovermaster said:

These are wireless devices, (computers) I'm guessing? Could be your APs failing. Or somehow losing power. How old are the unifi APs?

 

Wait for Budman for further instructions. 😛 

Expand  

Yeah all wireless devices. Just over a 12 months old so I really hope not!

  On 09/05/2020 at 16:48, Mindovermaster said:

These are wireless devices, (computers) I'm guessing? Could be your APs failing. Or somehow losing power. How old are the unifi APs?

 

Wait for Budman for further instructions. 😛 

Expand  

Multiple APs failing?🤨

@dipsylalapo

Start here: look at the events and alerts in the Unifi controller for clues. When is the last time you restarted your network equipment?
 

 

  On 09/05/2020 at 16:59, adrynalyne said:

Multiple APs failing?🤨

@dipsylalapo

Start here: look at the events and alerts in the Unifi controller for clues. When is the last time you restarted your network equipment?
 

 

Expand  

Just this morning, there was an update that was pushed. I don't think they two are connected as the timings don't match up.

 

Nothing specific in the alerts.

So I think I've resolved it. I did some Googling and changed the DTIM period from 1 to 3. Not something that I'd changed or has been a problem before, but it seems to have resolved the issue.

 

The 18 or so devices that I have connected seem to be holding steady. Something that hasn't happened all day. 

 

Bizarre.

 

Edit - @BudManPlease stand down 😉

  • Haha 1

That makes no sense.. Changing the mode from 1 to 3 would allow devices to say sleep longer.. 3 allows for longer time period before multicast/broadcast traffic is sent..  And when the client should wake up so to speak and look for multicast traffic.. But can be problematic for batter life if they stay away for the longer period until the next beacon, etc..  Do you have a lot of multicast/broadcast traffic on the network?

 

This could be a red herring sort of "fix".. And the devices that are having the issues are non apple devices?

 

I would leave it at 3 for a few days, and then try setting it back to 1 - does the issue come back?

 

So the issue is they drop off, when their lease expires?  Since they can not get a new IP?  That could be related to why an increase in the dtim helped.. But points more to a problem with your dhcp server..

 

If you put it back, and see the problem - I would check to see what the lease time is, when client gets lease - and then when does it drop off?

  On 09/05/2020 at 21:37, BudMan said:

That makes no sense.. Changing the mode from 1 to 3 would allow devices to say sleep longer.. 3 allows for longer time period before multicast/broadcast traffic is sent..  And when the client should wake up so to speak and look for multicast traffic.. But can be problematic for batter life if they stay away for the longer period until the next beacon, etc..  Do you have a lot of multicast/broadcast traffic on the network?

 

This could be a red herring sort of "fix".. And the devices that are having the issues are non apple devices?

 

I would leave it at 3 for a few days, and then try setting it back to 1 - does the issue come back?

 

So the issue is they drop off, when their lease expires?  Since they can not get a new IP?  That could be related to why an increase in the dtim helped.. But points more to a problem with your dhcp server..

 

If you put it back, and see the problem - I would check to see what the lease time is, when client gets lease - and then when does it drop off?

Expand  

I bet he triggered a re-provision with the setting change  and that was what fixed whatever weird state the APs were in. 

Quite possible sure..  It seems odd that changing dtim would have such an issue to be honest.. My guess is something to do with dhcp.. That could possibly be related..   Loss of lease would for sure drop a client off the network.

  On 09/05/2020 at 21:37, BudMan said:

That makes no sense.. Changing the mode from 1 to 3 would allow devices to say sleep longer.. 3 allows for longer time period before multicast/broadcast traffic is sent..  And when the client should wake up so to speak and look for multicast traffic.. But can be problematic for batter life if they stay away for the longer period until the next beacon, etc..  Do you have a lot of multicast/broadcast traffic on the network?

 

This could be a red herring sort of "fix".. And the devices that are having the issues are non apple devices?

 

I would leave it at 3 for a few days, and then try setting it back to 1 - does the issue come back?

 

So the issue is they drop off, when their lease expires?  Since they can not get a new IP?  That could be related to why an increase in the dtim helped.. But points more to a problem with your dhcp server..

 

If you put it back, and see the problem - I would check to see what the lease time is, when client gets lease - and then when does it drop off?

Expand  

Of course you were right :) Sorry missed these last few posts. The issue is back today. 

 

One of the devices (an iPad mini) still has the issue but another iOS device has joined the fray with random disconnects. 

 

I've set the DTIM back to 1 and I'll see what happens. Do you need to know the bits re. the DHCP now or after they have issues?

 

EDIT - So the iPad Mini is still not connecting. It has an IP on the lease table, due to expire 24 hours from now.

Yeah that would make more sense.. Whats your dhcp server - some ###### router?

 

To be honest 3 vs 1 on dtim would prob make that worse..  How exactly are you setup?  What is the layout of your network.. You said usg and some AP - but are the ap wired, or using wireless uplink to each other?  Never ran dhcp on the usg myself - running it at my sons place, but its only been a week or so - and to be honest just the little bit been over there setting stuff up, have seen some dhcp issues.. shrugged it off - because it worked after a bit, etc.

 

He just got a new place, and had a usgp3 on the shelf, told him he could have it - he got a flexHD for his AP.. And stuff reports to my controller so I can keep an eye on the network... But I can see getting him a pfsense box at some point..

 

I had that usg as my router for a few weeks, couldn't get rid off it fast enough if you ask me (sg4860 was on back order at the time).. While I love their AP.. And the usg is a great price point.. And has some great eye candy, etc.. Not overly impressed to be honest - the management is horrible for any sort of firewall rules, etc..

 

Wouldn't be surprised if issues with the dhcpd on it.. What firmware you running?

 

With a working dhcp as it suppose to, your lease should never get past the 50% mark, since that is when it renews.  So if you have a 24 hour lease, every 12 hours you should get a new 24 hour lease.. It should never get close to expired..   The closer it gets the more often it asks for renew.. Until finally it gives up, drops the lease and does a discover - you should never get there.  If you are, something is wrong.

 

If its doing that - then yeah you could see a disconnect from internet, and if taking a bit to get new one from discover - you could see some down time.

  On 13/05/2020 at 21:23, BudMan said:

Yeah that would make more sense.. Whats your dhcp server - some ###### router?

 

Expand  

From what I can tell that's all set to Auto/default at the moment.

  Quote

To be honest 3 vs 1 on dtim would prob make that worse..  How exactly are you setup?  What is the layout of your network.. You said usg and some AP - but are the ap wired, or using wireless uplink to each other?  Never ran dhcp on the usg myself - running it at my sons place, but its only been a week or so - and to be honest just the little bit been over there setting stuff up, have seen some dhcp issues.. shrugged it off - because it worked after a bit, etc.

Expand  

I have my cable modem attached to my USG  which is connected to a switch and the two APs are hardwired to this. Like below

image.thumb.png.1b82c6becc53012a4f1c992f50cee79e.png

  On 13/05/2020 at 21:23, BudMan said:

Wouldn't be surprised if issues with the dhcpd on it.. What firmware you running?

 

Expand  

It's running 4.4.51.5287926 which is latest stable build

 

  On 13/05/2020 at 21:23, BudMan said:

With a working dhcp as it suppose to, your lease should never get past the 50% mark, since that is when it renews.  So if you have a 24 hour lease, every 12 hours you should get a new 24 hour lease.. It should never get close to expired..   The closer it gets the more often it asks for renew.. Until finally it gives up, drops the lease and does a discover - you should never get there.  If you are, something is wrong.

 

If its doing that - then yeah you could see a disconnect from internet, and if taking a bit to get new one from discover - you could see some down time.

Expand  

Is there any way I can check/confirm this? Set a shorter lease time (say a few hours) and see what happens there?

 

On Saturday when I was looking into it a bit more I noticed that a machine we have flat out stopped connecting to the network because my wife was in the middle of something and needed to get going ASAP, I put together a new wireless network and move over the 2/3 devices that were having issues to it. Since then those devices have been fine. I'm going to do some digging today to see if I can see if there's a difference in the set up. 

 

Thanks again!

  On 18/05/2020 at 08:03, dipsylalapo said:

Is there any way I can check/confirm this? Set a shorter lease time (say a few hours) and see what happens there?

Expand  

That would be a good way to get your problem window into a shorter time frame from troubleshooting sure.

 

Do you have dhcp snooping enabled or not?  If you have it enabled have you setup the trusted dhcp server?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Posts

    • This is an example of why it is so difficult to have a conversation with conservatives - they refuse to operate in good faith. You say "Those are not rights. Those were special treatments that were taken away that non-trans whatever didn't get." Which means you either failed to read any of the links I provided or you are lying. The very first link is about how the U.S. Military is firing trans people out of the military because they are trans and denying them retirement benefits. What other groups does the military treat this way that would support your assertion that they had been treated as special previously? Does the miliary routinely fire large numbers of its members and deny them retirement and was heretofore not doing that to trans people? I fail to see the logic in your argument.
    • Dell's Tower Plus Windows 11 desktop brings good all round performance at a big discount by Paul Hill Are you looking for a powerful tower desktop PC? If so, Dell’s Tower Plus EBT2250 is available for $1,099.99 right now, discounted down 25% from its typical price of $1,460.64, making it its lowest price in 30 days, and indeed, of all time (purchase link towards the bottom of the article). It’s powered by an Intel Core Ultra 7 265 processor and an NVIDIA GeForce RTX 4060 GPU. It also features an NPU which achieves 13 TOPs, but it is not a Copilot+ PC which demand 40 TOPs. Nonetheless, Dell also claimed a 26% performance boost in multi-core applications compared to the previous generation XPS Desktop. It also comes with a 1TB NVMe SSD for speedy boots and app launches and there is 1x 16GB DDR5-5200 RAM which should help to cut through all of your tasks, though, it may not be enough for very demanding tasks. Dell has made this tower PC with upgrades in mind with available memory, storage, and expansion slots. It also features a new thermal design with 120mm fan, and the company claims this makes it up to 22% quieter while maintaining cooling performance. Here's more about the expansion options: The system supports dual 4K monitors through an HDMI 2.0 port and a Thunderbolt 4 Type-C port. It also has a built-in media card reader for quick import of RAW images. Another nice feature with this tower is that it’s equipped with Wi-Fi 7, which promises “4.8x faster throughput, lower latency and greater capacity” for seamless online experiences. This Dell comes with Windows 11 Home and 6-months of Dell Migrate to help users move files and settings to their new computer. If you are interested in this deal, check out the buying link below. Dell Tower Plus EBT2250: $1,099.99 (Amazon US) / MSRP $1,460.64 This Amazon deal is US-specific and not available in other regions unless specified. If you don't like it or want to look at more options, check out the Amazon US deals page here. Get Prime (SNAP), Prime Video, Audible Plus or Kindle / Music Unlimited. Free for 30 days. As an Amazon Associate, we earn from qualifying purchases.
    • The first stars in the universe may have been much smaller than we thought, new research hints — possibly explaining why it's so hard to find evidence they ever existed. According to the new research, the earliest generation of stars had a difficult history. These stars came to be in a violent environment: inside a huge gas cloud whipping with supersonic-speed turbulence at velocities five times the speed of sound (as measured in Earth's atmosphere). A simulation underpinning the new research also showed gases clustering into lumps and bumps that appeared to herald a coming starbirth. The cloud broke apart, creating pieces from which clusters of stars seemed poised to emerge. One gas cloud eventually settled into the right conditions to form a star eight times the mass of our sun — much smaller than the 100-solar-mass behemoths researchers previously imagined in our early universe. "With the presence of supersonic turbulence, the cloud becomes fragmented into multiple smaller clumps, leading to the formation of several less massive stars instead," principal researcher Ke-Jung Chen, a research fellow at the Academia Sinica Institute of Astronomy and Astrophysics in Taiwan https://www.livescience.com/space/astronomy/scientists-may-finally-know-why-the-first-stars-in-the-universe-left-no-trace  
  • Recent Achievements

    • One Month Later
      Jaclidio hoy earned a badge
      One Month Later
    • Week One Done
      Yawdee earned a badge
      Week One Done
    • Week One Done
      eugwalker earned a badge
      Week One Done
    • First Post
      Ben Gross earned a badge
      First Post
    • One Month Later
      chiptuning earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      640
    2. 2
      +FloatingFatMan
      183
    3. 3
      ATLien_0
      146
    4. 4
      Xenon
      123
    5. 5
      wakjak
      107
  • Tell a friend

    Love Neowin? Tell a friend!