dpinger error codes
-
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.htmlFor example, what's the meaning of error code 50?
dpinger 9302 WAN_DHCP xxx.xxx.xxx.xxx: sendto error: 50
BR
-
@cybis sendto error 50 usually indicates that the interface is down. Are you sure the interface is up?
-
@cmcdonald Thanks a lot for your input.
I have a site-to-site OpenVPN connection between
siteA
(server with WAN IPxxx.xxx.xxx.xxx
) andsiteB
(client with WAN IPyyy.yyy.yyy.yyy
) on the tunnel networkccc.ccc.ccc.0
which drops and re-establishes at least once every one to two weeks unfortunately. I have a lot of thosedpinger
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 ofdpinger
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.txtI'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). -
@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:
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.
-
@derelict Thanks for the clarification an the FreeBSD link.
-