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

    dpinger error codes

    Scheduled Pinned Locked Moved DHCP and DNS
    5 Posts 3 Posters 3.5k 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.
    • C
      cybis
      last edited by cybis

      Hi,

      I'm looking for a documention of the dpinger error codes. Unforunately not all error codes are listed at https://docs.netgate.com/pfsense/en/latest/troubleshooting/gateway-errors.html

      For example, what's the meaning of error code 50?

      dpinger 	9302 	WAN_DHCP xxx.xxx.xxx.xxx: sendto error: 50
      

      BR

      cmcdonaldC 1 Reply Last reply Reply Quote 0
      • cmcdonaldC
        cmcdonald Netgate Developer @cybis
        last edited by

        @cybis sendto error 50 usually indicates that the interface is down. Are you sure the interface is up?

        Need help fast? https://www.netgate.com/support

        1 Reply Last reply Reply Quote 0
        • C
          cybis
          last edited by

          @cmcdonald Thanks a lot for your input.

          I have a site-to-site OpenVPN connection between siteA (server with WAN IP xxx.xxx.xxx.xxx) and siteB (client with WAN IP yyy.yyy.yyy.yyy) on the tunnel network ccc.ccc.ccc.0 which drops and re-establishes at least once every one to two weeks unfortunately. I have a lot of those dpinger error messages when this happens.

          Sometimes the WAN interface seems to get a link-local address temporarily, i.e. the interface seems to go down and up again (on 2021-07-21 at 14:20:14 for example). However, this is not always the case. The last time my VPN connection was "renewed" was on 2021-07-22 09:20:15 where only siteB reported a lot of dpinger errors without any interface messages at neither of the sites.

          Here are the gateway and OpenVPN logs for both sites:
          gateways_siteA.txt
          openvpn_siteA.txt
          gateways_siteB.txt
          openvpn_siteB.txt

          I'm not sure how to further debug this issue. I was hoping to get more insight with a proper dpinger error code documentation as I'm not sure whether this is an ISP issue (both sites have the same ISP), a pfsense configuration issue or even a firewall hardware issue (both sites have the same type/model of a Protectli box).

          DerelictD 1 Reply Last reply Reply Quote 0
          • DerelictD
            Derelict LAYER 8 Netgate @cybis
            last edited by

            @cybis It's not a dpinger error code. It's a standard error code.

            This lists the ones people typically encounter:

            https://docs.netgate.com/pfsense/en/latest/troubleshooting/gateway-errors.html

            Error 50 isn't included there so:

            https://www.freebsd.org/cgi/man.cgi?query=errno&apropos=0&sektion=2&manpath=FreeBSD+12.2-stable&arch=default&format=html

            50 ENETDOWN Network is down. A socket operation encountered a dead network.

            You can look at the system log, etc and look for link down messages, etc. Or examine the network while the problem is occurring.

            Chattanooga, Tennessee, USA
            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
            Do Not Chat For Help! NO_WAN_EGRESS(TM)

            C 1 Reply Last reply Reply Quote 1
            • C
              cybis @Derelict
              last edited by

              @derelict Thanks for the clarification an the FreeBSD link.

              1 Reply Last reply Reply Quote 1
              • R rcoleman-netgate referenced this topic on
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.