On 2020-11-15, Joel Carnat <j...@carnat.net> wrote: > Hello, > > I have linked dhcpd(8) and pf(4) using -A, -C and -L dhcpd flags. > It seems dhcpd only adds IP for dynamic leases and not for leases > configured using fixed-address. > > Is this expected or is there something I misconfigured?
To my mind it's expected, I think of the fixed-address ones more like assignments rather than leases. > Thanks, > Jo > > PS: configuration extracts > > rc.conf.local: > dhcpd_flags=-A abandoned_ip_table -C changed_ip_table -L leased_ip_table em1 > > pf.conf: > table <abandoned_ip_table> persist > table <changed_ip_table> persist > table <leased_ip_table> persist > > dhcpd.conf: > (...) > subnet 192.168.2.0 netmask 255.255.255.0 { > range 192.168.2.20 192.168.2.50; > (...) > host Raspberry-Pi-4 { > hardware ethernet xx:xx:xx:xx:xx:xx; > fixed-address 192.168.2.250; > } > (...) > >