this post was submitted on 08 Aug 2023
2 points (100.0% liked)

homelab

6602 readers
2 users here now

founded 4 years ago
MODERATORS
 

Hi all, first time posting for tech support on lemmy!

I've recently switched ISPs to now have a gigabit connection at my home, but we've been experiencing some weird issues with it. When i run a speedtest, I get my full gigabit (or close enough) speeds and most of the time it works perfectly. But ever so often, it just completly drops all packets. When downloading a file for example it can randomly drop the speed to 0 b/sec and you have to restart the download in order to get it working again. Same with website loading, when it happens when loading a website, just half of the website gets loaded and I am missing images/styling/etc.

Now I run my own EdgeRouter X behind my ISP provided router. I have a nagging feeling this could be causing my issues, but with my previous ISP I was running the same setup and it worked flawlessly (albeit with a different ISP provided router).

Have any of you experienced something like this before?

Edit: thanks for all the quick responses everyone! I will look into your suggestions and update the post if/when I've found my solution.

Edit 2: Fixed the problem. As always, when in doubt, it's the DNS. My ISP router did not come with any DNS settings preset. I set it to the same DNS as my EdgeRouter and my problems went away. I hope this helps some of you facing the same issue. Thanks for your responses!

top 6 comments
sorted by: hot top controversial new old
[–] GregoryTheGreat@programming.dev 2 points 1 year ago (1 children)

Conflicting IP addresses on your LAN perhaps?

Can you run a long term ping from your EdgeRouter and see if it has issues too or if it is just things behind it?

[–] Faalangst_26@feddit.nl 1 points 1 year ago (2 children)

I'm sorry, what do you mean with conflicting IP addresses? I've made sure to run the ISP router -> EdgeRouter connection on a different Subnet, and the EdgeRouter is the only device connected to the ISP router.

I've run a ping test for a while from the EdgeRouter, but I can't seem to be able to replicate my issues during a ping test unfortunatly. It's really quite puzzeling me

[–] qprimed@lemmy.ml 1 points 1 year ago* (last edited 1 year ago)

if two devices in the same LAN have the same IP address, the sending host or switch gets confused and tries to sent packets to the wrong receiving device. this can cause long periods where devices seem to "drop off" the network, or only get some of the packets they are expecting.

if you have no issues with device-to- device connectivity (e.g. large, long lived files transfers between your PCs are fine), then its likely not the problem.

Conflicting IPs on your LAN can cause things to stop working but fix itself fast enough you don’t catch what is going on. I mention it because it just happened to me. I had a static IP set but didn’t realize it was within my DHCP range.

However I was able to eventually catch it with a long running ping test.

[–] GreatAlbatross@feddit.uk 2 points 1 year ago

It could be something silly, like DNS on the edgerouterx still being set to the old ISP's.
It could be that the ISP is still stabilising your line.
It could be that whenever the connection drops and reconnects upstream from the ERX, the ERX takes a few minutes to re-establish (or if your provider does not give you a static IP, recover from the external IP change).
Make sure you haven't done something crazy like set the external port of the ERX to the same IP as the ISP equipment.

If you don't have anything very complex, you could nuke the ERX and restart everything.
Or if your ISP runs on PPPOE, you could try bypassing the ISP router. (And also, if you're using pppoe, make sure your MTU isn't too high)

[–] qprimed@lemmy.ml 2 points 1 year ago

is your ISP double NATing you? specifcally, are they providing a public IP address to your EdgeRouter? ISPs will often provide a residential router/modem combo and their router will distribute a private IP to your router - a double NAT. double NAT is usually not a huge issue, but its not nice to live behind one. if the ISP confirms that their equipment is bridging (and not routing), then the double NAT issue goes away.

all of the symptoms you describe sound like intermittent packet loss and there are lots of possible reasons for this including poor signalling from your ISP and misconfigured routers (possibly your ISP customer premesis equipment)

as long as your have verified good LAN cabling, including the ISP CPE to your router (you indicated a switch to GigE+ speeds - that needs good copper), the fact that you get this possible packet loss from devices behind your router but not between your router and the ISP CPE may mean your router and the ISP CPE are not playing well together due to double NAT.

hope that helps.