I am experiencing an issue with my service provider whereby during the lifetime of a DHCP lease - i.e. before a renewal is initiated by dhclient - they block all IP access from my leased IP until a renewal occurs. This occurs several times per week, with DHCP renewals working ok the rest of the time. dpinger identifies this immedietly as it no longer gets ICMP Echo Reply responses from the service provider gateway.
My question is: Would it be possible for a script - as I see no in-built capability in pfSense - to initiate a DHCP Release/Renew cycle when dpinger stops getting ICMP Echo Reply responses? Clearly some controls would be needed around this such as - the number of times and frequency at which its attempted.
Anyone know if this may be possible or whether anyone has used dpinger to trigger scripts previously? It sounds like an issue with the service provider but getting past their 1st line support and speaking with a knowledgeable person is expected to be hell so I'm seeking work-arounds ;-)
Thanks
Andrew