pfSense 2.6.0 High latency and packet loss.
-
Mmm, those latency spikes are up to 30s! Which is so high it cannot be real.
What is your WAN connection there? How is it physically connected?
What is the WAN gateway monitoring? The labels on the gateway graphs are unclear.
Steve
-
@stephenw10 from my Cable modem I have a cat7 cable to my 2x rj45 wall sockets. From the wall sockets I run 2x cat7 cables to the patchpanel in my computer room. From the patchpanel I have another cat7 cable to the igc0 port of the micro firewall appliance system,
I tested all cables with my network cable tester and all cables are oke.
With the HP T730 the problems were because of the Broadcom nics not working with pfSense 2.6.0 so i bought this new system with intel i225 nics and i still have WAN problems.
I don't know what you mean with:
"What is the WAN gateway monitoring? The labels on the gateway graphs are unclear."I have a constant pinger running on the ISP gateway ipv4 (dpinger) & ipv6 and I have a pinger running on 9.9.9.9 (quad9 dns server)
All give high ping times.
-
I meant what IP are you using for gateway monitoring but I assume now you are using the default, the actual gateway IP, and you have added 9.9.9.9 as an additional gateway to get monitoring data?
Have you tested the pfSense WAN connected directly to the cable modem?
Have you tested a laptop directly on the cable modem to be sure it's clean at that point?
Steve
-
@gerard64 Who is your ISP and what model cable modem are you using? Cable companies have been known to move to the next DOCSIS version without telling their base.. especially the ones that do not rent equipment from them.
-
@stephenw10 Yes i am using the default for ipv4 and ipv6 and added quad9 thats right.
I have not yet tested the pfSense directly to the WAN yet. I was planning to do that this afternoon to go thru my backyard with a 20 meter long network cable i have.I did test with a laptop directly connected to the modem and connection is then bad too but the ISP Ziggo tells me there is nothing wrong with the modem or connection.
This laptop directly to the modem test is a bit longer ago and in the mean time i got a new modem so will test that again also today and let you know.
@chpalmer My isp is Ziggo (The Netherlands) with 350mbps down and 35 mbps up.
The modem is a so called connectbox https://www.ziggo.nl/klantenservice/apparaten/wifi-modems/connect-boxI belief this is a DOCSIS 3.0 few weeks ago i had a very old UBEE with only ipv4. With the new Connectbox i have dual stack ipv4 and ipv6 and both work besides the high ping and stuttering.
Before i got this new modem i got a letter from my isp telling me that my modem is going to be swapped to a new more modern moden and they did and from then on i could do dual stack wich is pretty nice well besides the problems i also had with the old ubee modem.
Ubee modem was a modem only not a router.
This new Connectbox is a router switched to bridge mode. -
@gerard64 said in pfSense 2.6.0 High latency and packet loss.:
This laptop directly to the modem test is a bit longer ago and in the mean time i got a new modem so will test that again also today and let you know.
Ah, definitely confirm that first then. We have seen modems that introduce bad latency before. Though never this bad....
-
@gerard64 You'd need to check the exact model number, but it looks like the Ziggo modem may be a Puma 6 modem which are subject to enormous ping spikes:
https://pypi.org/project/compal/ -
-
-
@gerard64 Yeah from everything I can tell, that's a Puma 6 modem:
-
Yup 600ms is still very high. That's above the default 500ms that pfSense uses for gateway monitoring to indicate the gateway is down.
If you're seeing that with a laptop on the modem directly pfSense isn't going to be able to improve that much. FQ-Codel can only do so much.
However you should either set the gateway monitoring latency value to something much higher or disable monitoring for now. That will prevent pfSense restarting services repeatedly which is probably what was causing the extreme latency you saw earlier.Steve
-
@TheNarc Interesting. I am going to communicate that with my provider maybe they have a fix or i can get a other modem. I still have to read all the links in your reply but wanted to thank you first for this information. Thank you!
@stephenw10 Very helpful information. I wasn't aware of pfSense used the gateway latency to restart surten services wen it is above 500ms. That explains a lot. And nice new information about the behavior of pfSense i didn't know. Thank you!
-
-
@stephenw10 This is very helpful for me. Why didn't i think of this
Thank you again! -
I contacted my ISP and we talked about the know modem latency problems. They are sending me a other (Ubee) modem to test. So fingers crossed this Ubee modem works better
-
@gerard64 Great news! I'll be very surprised if that does not fix it. Those Puma 6 modems were a rather large scandal, largely because ISPs have not been proactive about replacing them (from what I can tell they usually only will when people complain, even though they know that they're fundamentally flawed). Good luck!
-
@thenarc yeah I noticed that i had to write and prove several times what the problems exactly was. After i posted your story about the known puma chipset latency problems a other community user pointed out to trade my modem for a Ubee type. This morning a ziggo worker confirmed the problem and offered to send me a Ubee modem. Tomorrow or the day after tomorrow i will receive the new modem. I will let you know how it goes.
-
Yessterday i recieved the new UBEE modem (UBC1318ZG).
I tested it right away. Ping peaks were still as high as before ~ 650-1000ms.A ziggo community user suggested to test again with a computer connected directly to the modem. Today i did that and ping times are way lower ipv4 was ~ 45ms and ipv6 102ms.
Then I connected the modem to my pfSense devide again and run two ping test from the pfsense device with wan source and ipv4 gateway and ipv6 from the isp. Ping was high again. so it is save to say i think this high ping is the pfsense wan problem.
Al tests are don't while running a dslreports.com/speedtest.
My pfSense device has 4x Intel i225 B3 2.5 mbps Interfaces.
Do you guys have idea's what could be the problem?
Are the network interfaces settings below correct?
-
@gerard64 Sorry to hear it, I was optimistic about the modem being the problem. Your settings look good as far as I'm aware. I don't have any experience with the Intel i225 NICs on pfsense but as luck would have it I have hardware on the way intended to replace an aging pfsense machine of mine. So I might have a point of comparison at some point, but it could still be a while before it arrives. I apologize but I don't have any other immediate ideas for diagnosis, but if I think of anything I'll certainly let you know.
-
@thenarc Well the modem seems to work well ping times are way lower wen i connect a pc directly onto it but with the modem connected to the pfSense wan ping times are high again.
That would be interesting to know how your new hardware will work out at your place with the i225 nic(s).
Thank you for your help this far.