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

    Pfsense with Gateway Monitoring causeing packet loss

    Scheduled Pinned Locked Moved General pfSense Questions
    11 Posts 4 Posters 5.2k 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.
    • Z
      zibiam
      last edited by

      So useing 2.4.0-RELEASE (amd64) just installed evrtything im new to useing pfsense been useing smoothwall for long time. But once i had evrything up and running noticed kept getting packet loss of voice like teamspeak etc, couldnt figure out cause right away. Manged to track it down. If is disable Gateway Monitoring and Gateway Action this sems to turn off ( dpinger ) evrything is fine no packet loss or anything. Running thit simple wan/lan setup with wan being contected to a cabel modem that just brigde no router fuction. By default sems to try and ping my isp gateway. My quastion am i doing something wrong or it this a bug or whats going on here, sems realy wierd default function like this should cause something as major as packet loss, and as said its not matter of just ping timing out it also causes the thigns like teamspeak and other things to notice this effect. Any information on this would be helpfull as i have tryd to google it but not found anything directly related to this.

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        Do you have it set to reset states on gateway down?

        Advanced, Misc (see attached)

        If you have that set and your gateway monitoring is having problems - like the IP your monitoring is not answering pings are they are very long response time.. Then sure its possible your states are getting reset, etc.  The pings to your gateway are zero byte in size pings.  They should not cause any issues unless the IP your pinging is really bad in responding.. Try picking a different IP than your isp gateway if it sucks in responding to pings.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

        1 Reply Last reply Reply Quote 0
        • maxxerM
          maxxer
          last edited by

          Hi.
          Sorry for revamping an old thread but I'm on 2.4.4 and I have a very similar problem: I have two WANs, an ADSL line and a 4G one. The latter works perfectly, while the first is often reported as down with high packetloss.

          I've set 1.0.0.1 as monitor for DSL and 8.8.4.4 for the 4G, but I've previously tried with OpenDNS' IPs and the behavior is exactly the same.

          In firewall I've configured LAN rules to force the two monitoring IPs to go to the associated GW.
          If I ping from a PC in the LAN to 1.0.0.1 all packets goes through without any single loss. If I do the same from pfSense I get the loss reported by gateway monitoring.

          I also found a quite strange behavior: if I keep ping open on a LAN PC to 1.0.0.1 it stops receiving responses while pfSense's ping check runs. It also behaves differently if in the ping tester I choose an interface over another: if I set to auto the ping is interrupted on the LAN client.

          Pinging from the ADSL modem itself works perfectly.

          @johnpoz I cannot see the attachment, are the ones below the settings you were referring to?
          thanks

          0_1543228541868_screenshot-www.netgate.com-2018.11.26-11-32-36.png

          1 Reply Last reply Reply Quote 0
          • T
            tim.mcmanus
            last edited by

            Don't use Google's name servers as a monitoring IP address. They will drop your packets and you'll generate false-positives.

            1.0.0.1 is (in theory) located in Australia. Are you geographically close to Australia? Long routes can time out frequently, so you may want to consider a closer address to check.

            maxxerM 1 Reply Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator
              last edited by

              Yeah those are it - old pictures had some issues coming over to the new forum software.

              As to 1.0.0.1 being in AU... You sure about that - its an anycast address.. Thought cloudflare had locations all over the globe, etc.

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.7.2, 24.11

              T 1 Reply Last reply Reply Quote 1
              • maxxerM
                maxxer @tim.mcmanus
                last edited by

                @tim-mcmanus I tried with OpenDNS, GoogleDNS and Cloudflare... They apparently all behave the same.

                T 1 Reply Last reply Reply Quote 0
                • T
                  tim.mcmanus @johnpoz
                  last edited by

                  @johnpoz said in Pfsense with Gateway Monitoring causeing packet loss:

                  Yeah those are it - old pictures had some issues coming over to the new forum software.

                  As to 1.0.0.1 being in AU... You sure about that - its an anycast address.. Thought cloudflare had locations all over the globe, etc.

                  Not sure at all. Did a quick GeoIP lookup, which I generally don't trust as fact, but was curious.

                  1 Reply Last reply Reply Quote 0
                  • T
                    tim.mcmanus @maxxer
                    last edited by

                    @maxxer said in Pfsense with Gateway Monitoring causeing packet loss:

                    @tim-mcmanus I tried with OpenDNS, GoogleDNS and Cloudflare... They apparently all behave the same.

                    I generally stay away from DNS providers IP addresses. I am spoiled, I have a client about 120 miles from me and use their IP address as my check point.

                    1 Reply Last reply Reply Quote 0
                    • johnpozJ
                      johnpoz LAYER 8 Global Moderator
                      last edited by johnpoz

                      well with a response time of 30ms from chicagoland

                      user@uc:~$ ping 1.0.0.1
                      PING 1.0.0.1 (1.0.0.1) 56(84) bytes of data.
                      64 bytes from 1.0.0.1: icmp_seq=1 ttl=51 time=31.6 ms
                      64 bytes from 1.0.0.1: icmp_seq=2 ttl=51 time=33.0 ms

                      Its clearly not in AU ;) hehehe

                      Unless my pings are breaking physics...
                      Here is their anycast map
                      https://www.cloudflare.com/network/
                      155 DC worldwide.

                      Why can you not just use your isp gateway as monitor?

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                      1 Reply Last reply Reply Quote 0
                      • maxxerM
                        maxxer
                        last edited by

                        @johnpoz said in Pfsense with Gateway Monitoring causeing packet loss:

                        Yeah those are it - old pictures had some issues coming over to the new forum software.

                        but the settings are correct as unchecked, right?

                        I don't think the IP itself is being a problem, as I've used GDNS and ODNS in the past happily. It seems something related to 2.4.4, or with my config...

                        1 Reply Last reply Reply Quote 0
                        • maxxerM
                          maxxer
                          last edited by

                          Just to report back, in our situation the upstream Zyxel modem had features to block ping, probably to mitigte DoS:

                          0_1551958166307_problemi_monitor.png

                          Disabling this stuff fixed gateway monitoring

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