ypanier@OPNsenseMaster:~ % cat /var/dhcpd/etc/dhcpd.confoption domain-name "localdomain";option ldap-server code 95 = text;option domain-search-list code 119 = text;option arch code 93 = unsigned integer 16; # RFC4578default-lease-time 7200;max-lease-time 86400;log-facility local7;one-lease-per-client true;deny duplicates;ping-check true;update-conflict-detection false;authoritative;failover peer "dhcp_lan" { primary; address 172.16.16.1; port 519; peer address 172.16.16.2; peer port 520; max-response-delay 10; max-unacked-updates 10; split 128; mclt 600; load balance max seconds 3;}subnet 172.16.16.0 netmask 255.255.240.0 { pool { option domain-name-servers 172.16.31.254; deny dynamic bootp clients; failover peer "dhcp_lan"; range 172.16.16.10 172.16.31.253; } option routers 172.16.31.254; option domain-name-servers 172.16.31.254;}
ypanier@OPNsenseSlave:~ % cat /var/dhcpd/etc/dhcpd.confoption domain-name "localdomain";option ldap-server code 95 = text;option domain-search-list code 119 = text;option arch code 93 = unsigned integer 16; # RFC4578default-lease-time 7200;max-lease-time 86400;log-facility local7;one-lease-per-client true;deny duplicates;ping-check true;update-conflict-detection false;authoritative;failover peer "dhcp_lan" { secondary; address 172.16.16.2; port 520; peer address 172.16.16.1; peer port 519; max-response-delay 10; max-unacked-updates 10; load balance max seconds 3;}subnet 172.16.16.0 netmask 255.255.240.0 { pool { option domain-name-servers 172.16.31.254; deny dynamic bootp clients; failover peer "dhcp_lan"; range 172.16.16.10 172.16.31.253; } option routers 172.16.31.254; option domain-name-servers 172.16.31.254;}
<vip> <type>single</type> <subnet_bits>20</subnet_bits> <mode>carp</mode> <interface>lan</interface> <descr>VIP TOOLS</descr> <subnet>172.16.31.254</subnet> <vhid>4</vhid> <advskew>0</advskew> <advbase>1</advbase> <password>172.16.31.254</password> </vip>
<vip> <type>single</type> <subnet_bits>20</subnet_bits> <mode>carp</mode> <interface>lan</interface> <descr>VIP TOOLS</descr> <subnet>172.16.31.254</subnet> <vhid>4</vhid> <advskew>100</advskew> <advbase>1</advbase> <password>172.16.31.254</password> </vip>
<rule> <type>pass</type> <ipprotocol>inet</ipprotocol> <descr>Default allow LAN to any rule</descr> <interface>lan</interface> <source> <network>lan</network> </source> <destination> <any/> </destination> </rule>
- Leases are now scrubbed of certain prior use information when pool re-balancing reassigns them from one FO peer to the other. This corrects an issue where leases that were offered but ignored retained the client hostname from the original client. Thanks to Pavel Polacek, Jan Evangelista Purkyne University for reporting the issue. [ISC-Bugs #42008]
ypanier@OPNsenseMaster:~ % /usr/local/sbin/dhcpd --versionisc-dhcpd-4.3.5