core icon indicating copy to clipboard operation
core copied to clipboard

system: allow polling when gateway monitor reports a gateway as down

Open fichtner opened this issue 6 years ago • 4 comments

To fix cases where DHCP on WAN is not recovering due to modem being stubborn.

via: https://forum.opnsense.org/index.php?topic=9050.0 via: https://forum.opnsense.org/index.php?topic=9030.0

fichtner avatar Jul 05 '18 06:07 fichtner

+1 to this issue. Would like to know if there is a workaround that I can implement before the feature is included.

Cheers!

saffrey avatar Nov 26 '19 22:11 saffrey

As far as #5956 is concerned 2de4658ef0ccd6c05 teaches us that dhclient desperately needs a wrapper script to remove the cached IP and/or bring down the interface in order for it to be reconfigured later. Right now when dhclient exits and the link does not go down/up we don't have the chance to run any sort of post-dhcp hook to bring it back up.

fichtner avatar Aug 24 '22 06:08 fichtner

I am experiencing flapping after getting disconnected and reconnected to Wan. ( I have to reboot opnsense to fix it)

Can you confirm it's one of the symptoms that should is included in this issue?

From what I gathered a lot of people are experiencing this and it was a "long time issue"

Thank's for the hard work!

francois-pasquier avatar Aug 25 '22 00:08 francois-pasquier

Flapping is the exact opposite of this problem. Here we never have flapping but dhclient exist at some point and we have no way of knowing. Link down/up actually correctly cycles dhclient.

fichtner avatar Aug 25 '22 04:08 fichtner

This might just work starting with 23.7.2 when default gateway switching is enabled, for details see #6728

fichtner avatar Aug 14 '23 10:08 fichtner

Situation doesn't appear to happen as often anymore, so closing the issue.

swhite2 avatar Feb 15 '24 09:02 swhite2