Re: Notification of change of IP address/Routing etc

From: Peter Jeremy <peterj_at_freebsd.org>
Date: Wed, 31 Aug 2022 09:00:03 UTC
On 2022-Aug-31 10:18:44 +0200, Martin Stiemerling <mls.ietf@gmail.com> wrote:
>I am looking for a mechanism to get a notification from the OS when, for instance, an IP address on an interface or a routing entry is being changed. 

Assuming you are using the base OS version of dhclient, you could use
/etc/dhclient-exit-hooks, which is a shellscript documented in
dhclient-script(8).

-- 
Peter Jeremy