Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Gateway WAN keeps on having packet lost

    Scheduled Pinned Locked Moved General pfSense Questions
    55 Posts 6 Posters 7.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      If you change the monitoring IP does it make any difference?

      Do you see errors on the WAN in Status > Interfaces? What is it linked to? At what speed/duplex?

      Steve

      C 1 Reply Last reply Reply Quote 0
      • C
        cheapie408 @stephenw10
        last edited by

        @stephenw10 said in Gateway WAN keeps on having packet lost:

        If you change the monitoring IP does it make any difference?

        Do you see errors on the WAN in Status > Interfaces? What is it linked to? At what speed/duplex?

        Steve

        Hre's what it looks like in there. doesn't seem to show any errors in/out. See how bad my ping is? But my internet doesn't seem to be affected as it's timing out I'm still surfing and do things as normal.

        alt text
        alt text

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          Something upstream blocking pings because of the gateway monitoring perhaps?

          If you ping a different IP from a client on LAN is that also losing packets?

          If you were seeing 63% loss on all traffic I would expect the general browsing experience to be very bad. But I would also try running some packet captures on WAN to confirm that. You may just have a bad NIC or cable or switch port.

          Steve

          C 1 Reply Last reply Reply Quote 0
          • C
            cheapie408 @stephenw10
            last edited by

            @stephenw10 said in Gateway WAN keeps on having packet lost:

            were seeing 63% loss on all traffic I would expect the general browsing experience to be very bad. But I would also try running some packet captures on WAN to confirm that. You may just have a bad NIC or cable or switch port.

            I'm responding to you ATM with the model directly connected to this PC and pinging with zero ping lost for the last few minutes and the browsing experience is zippier, I'm on GB internet and is actually getting over 900Mbps vs when I'm going through the PFSense box I max out at 500-600.

            I'm going to switch back and ping something local to see if I get any packet loss and repot back.

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              Mmm, I would be looking a possible bad port somewhere.

              Can you re-assign the WAN to a different port?

              C 2 Replies Last reply Reply Quote 0
              • C
                cheapie408 @stephenw10
                last edited by

                @stephenw10
                Here's a side by side comparison of my pings, 2 left window are local addresses 192.168.1.1 is the PFsense box itself, the two left windows are public IPs.

                Definitely something's up with that. Let me see if i can assign the WAN port to something else and how how it goes.

                alt text

                1 Reply Last reply Reply Quote 0
                • C
                  cheapie408 @stephenw10
                  last edited by

                  Went through all 4 available interfaces and all yield the same result. The onboard interface was the worse of it all.

                  Tempted to do a factory default and see how an out of the box configuration performs.

                  1 Reply Last reply Reply Quote 0
                  • GertjanG
                    Gertjan @cheapie408
                    last edited by Gertjan

                    @cheapie408 said in Gateway WAN keeps on having packet lost:

                    When I ping a public dns there are lot of time outs.

                    What if that public dns is doing what it should do : answering DNS requests, and what if it has less free time to answer to reply on ping requests ?
                    What if the peering of your ISP to this dns is overloaded ? Guess what protocol gets dropped first ?
                    If 8.8.8.8 misses some ICMP replies, you will start to think your connection is bad.

                    As @stephenw10 already proposed : use another motoring IP much -way more - closer to you.
                    You only to monitoring your access to the Internet, not the entire road to 8.8.8.8.

                    No "help me" PM's please. Use the forum, the community will thank you.
                    Edit : and where are the logs ??

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      How is the client connected to those things you are pinging locally? 192.168.1.1 and 192.168.1.100?

                      Because although there is no packet loss shown there they are spiking latency up to 26ms which is ridiculously high for a local device. And that appears to be at the same time you are seeing loss to the external IPs.

                      Which links are common to all 4 of those pings?

                      Steve

                      ? C 2 Replies Last reply Reply Quote 0
                      • ?
                        A Former User @stephenw10
                        last edited by

                        @stephenw10 said in Gateway WAN keeps on having packet lost:

                        Which links are common to all 4 of those pings?

                        @cheapie408 here's the problem, pay attention. to the common factor

                        1 Reply Last reply Reply Quote 0
                        • C
                          cheapie408 @stephenw10
                          last edited by

                          @Gertjan I did change the monitoring IP to another with no success.

                          @stephenw10 All of the equipment are connected to the same switch in my office with cables no longer than 15ft.

                          Which links are common to all 4 of those pings?
                          Can you elaborate?

                          1 Reply Last reply Reply Quote 0
                          • stephenw10S
                            stephenw10 Netgate Administrator
                            last edited by

                            You are seeing issues with pings to all 4 of those targets so what is shared?

                            It's the same client machine so same NIC, same cable, same switch port.

                            Then pfSense at 192.168.1.1 is on another switch port I assume and 192.168.1.100 is on a different port?

                            So the switch is common but pings to 192.168.1.100 probably do not go through pfSense at all yet are still jumping up to 26ms.....

                            C 1 Reply Last reply Reply Quote 0
                            • C
                              cheapie408 @stephenw10
                              last edited by cheapie408

                              @stephenw10 said in Gateway WAN keeps on having packet lost:

                              n pfSense at 192.168.1.1 is on another switch port I assume and 192.168.1.100 is on a different port?
                              So the switch is common but pings to 192.168.1.100 probably do not go through pfSense at all yet are still jumping up to 26ms

                              192.168.1.100 is my NAS that is LAG enabled maybe why?

                              Something just came to mind, I was performing speed tests while it was pinging which may be the reason for the increase ping time

                              1 Reply Last reply Reply Quote 0
                              • stephenw10S
                                stephenw10 Netgate Administrator
                                last edited by

                                Is the client you are pinging from in the same 192.168.1.X subnet?

                                If so pings between there and the NAS don't go through pfSense at all but are still spiking up to 26ms at the same time. That implies some issue locally. Or maybe something flooding the switch?
                                A loop at the switch that it blocks and then re-enables could behave like this. The lagg incorrectly configured could do that. Try disconnecting one of the links.

                                Steve

                                C 1 Reply Last reply Reply Quote 0
                                • C
                                  cheapie408 @stephenw10
                                  last edited by

                                  @stephanw10

                                  I run everything on a 24 ports POE switch that also powers 16 IP cameras and the PC that I'm doing all this on is also the one Blue Iris resides.

                                  I just factory reset the Pfsense box. As I'm typing this, with no additional configuration. Took the switch out of the equation, basically this PC directly into the Pfsense box and nothing else attached to the pfsense box. This is what I'm getting while it's timing out and while it's responding

                                  alt text

                                  alt text

                                  1 Reply Last reply Reply Quote 0
                                  • stephenw10S
                                    stephenw10 Netgate Administrator
                                    last edited by

                                    What hardware are you running pfSense on?

                                    C 1 Reply Last reply Reply Quote 0
                                    • C
                                      cheapie408 @stephenw10
                                      last edited by

                                      @stephenw10 said in Gateway WAN keeps on having packet lost:

                                      What hardware are you running pfSense on?

                                      T620 (i think)
                                      AMD GX-420CA SOC with Radeon(tm) HD Graphics
                                      16Gb ram

                                      Intel 4x NIC card don't remember the exact model

                                      1 Reply Last reply Reply Quote 0
                                      • stephenw10S
                                        stephenw10 Netgate Administrator
                                        last edited by

                                        Hmm, and you're running 2.5.2?

                                        And this just started happening? It was running without loss previously?

                                        C 1 Reply Last reply Reply Quote 0
                                        • C
                                          cheapie408 @stephenw10
                                          last edited by

                                          @stephenw10 said in Gateway WAN keeps on having packet lost:

                                          Hmm, and you're running 2.5.2?

                                          And this just started happening? It was running without loss previously?

                                          Yes on 2.5.2. I can't say how long has this been going on. In fact for many months I don't log onto PFsense. I recently tried to add a MyQ garage opener and realised that it won't report online (I have another thread here on this subject). which triggered me to look at PFSense.

                                          Now that I'm thinking of it, my kids play Roblox and they are constantly kicked out of their games. It's been quite some time now.

                                          1 Reply Last reply Reply Quote 0
                                          • stephenw10S
                                            stephenw10 Netgate Administrator
                                            last edited by

                                            Ok can we assume that without any other traffic using the connection the WAN gateways show as up and without packet loss?

                                            If you connect via ssh and run top -aSH and the command line do you see any CPU cores being run at 100%? (idle processes at or close to 0%).

                                            That CPU appears to be well capable of 1Gbps but it's single thread performance is not fantastic and em NICs run with 1 queue. I still wouldn't expect anything like this though.

                                            C 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.