Re: dhcpd synchronization: leases recovery after downtime

2020-07-19 Thread Guy Godfroy
Hello Edgar, Le 19/07/2020 à 00:35, ed...@pettijohn-web.com a écrit : > Not sure how to integrate it properly but this sounds like a job for > ifstated(8). Triggering a sync at interface up status change wouldn't be enough: for instance if only dhcpd crashes and recovers later, there is no

Re: dhcpd synchronization: leases recovery after downtime

2020-07-19 Thread Guy Godfroy
Hello Janne, Le 19/07/2020 à 10:21, Janne Johansson a écrit : > 2) dhcpd checks that ip's don't reply to ping (or exist in arp?) before > handing out an ip from a dynamic range How did you check that? I'm not as sure as you about that. For instance if you define a static lease for a given

Re: dhcpd synchronization: leases recovery after downtime

2020-07-19 Thread Janne Johansson
Den lör 18 juli 2020 kl 23:28 skrev Guy Godfroy : > Hello, > > I am using two routers on OpenBSD (called mulder and scully), and I wish > to make dhcpd listen on a carp interface between both of them. I am > using the synchronization mechanism: > I noticed the same issue long time ago, but

Re: dhcpd synchronization: leases recovery after downtime

2020-07-18 Thread edgar
On Jul 18, 2020 3:25 PM, Guy Godfroy wrote: Hello, I am using two routers on OpenBSD (called mulder and scully), and I wish to make dhcpd listen on a carp interface between both of them. I am using the synchronization mechanism: mulder# rcctl get dhcpd flags -y em2 -Y em2 carp0

dhcpd synchronization: leases recovery after downtime

2020-07-18 Thread Guy Godfroy
Hello, I am using two routers on OpenBSD (called mulder and scully), and I wish to make dhcpd listen on a carp interface between both of them. I am using the synchronization mechanism: mulder# rcctl get dhcpd flags -y em2 -Y em2 carp0 scully# rcctl get dhcpd flags -y em2 -Y em2