DHCP not serving non static leases 1.5 rolling

Hi,

I’m currently on 1.4 rolling but with the changes to 1.4 / build I am trying the waters with 1.5.

Post upgrade I noticed some clients were no longer receiving DHCPv4 leases. Output though of ‘show dhcp server leases’ was showing some leases, yet only clients with static leases were appearing.

Has anyone else been having or has had similar issues with 1.5 or is it just me?

I’ve rolled back to 1.4 rolling built 20240419 and all is fine again.

Post boot into 1.5 compare, a couple of things to work through yet on the whole things appear like they should be fine:

# compare commands 0
delete service dhcp-server host-decl-name
delete service dhcp-server shared-network-name LAN1 subnet xx.xx.xx.xx/xx static-mapping <removed> static-mapping-parameters 'option domain-name-servers xx.xx.xx.xx
delete service dhcp-server shared-network-name LAN1 subnet xx.xx.xx.xx/xx static-mapping <removed> static-mapping-parameters 'option domain-name-servers xx.xx.xx.xx
delete service dhcp-server shared-network-name LAN1 subnet xx.xx.xx.xx/xx static-mapping <removed> static-mapping-parameters 'option domain-name-servers xx.xx.xx.xx

1.5 dhcp logs:

$ show log dhcp server
Apr 27 18:30:34 systemd[1]: Started kea-dhcp4-server.service - Kea IPv4 DHCP daemon.
Apr 27 18:30:35 kea-dhcp4[8509]: 2024-04-27 18:30:35.212 INFO  [kea-dhcp4.dhcp4/8509.140069573943808] DHCP4_STARTING Kea DHCPv4 server version 2.4.1 (stable) starting
Apr 27 18:30:35 kea-dhcp4[8509]: 2024-04-27 18:30:35.228 INFO  [kea-dhcp4.hosts/8509.140069573943808] HOSTS_BACKENDS_REGISTERED the following host backend types are available: mysql postgresql
Apr 27 18:30:35 kea-dhcp4[8509]: 2024-04-27 18:30:35.228 WARN  [kea-dhcp4.dhcpsrv/8509.140069573943808] DHCPSRV_MT_DISABLED_QUEUE_CONTROL disabling dhcp queue control when multi-threading is enabled.
Apr 27 18:30:35 kea-dhcp4[8509]: 2024-04-27 18:30:35.228 WARN  [kea-dhcp4.dhcp4/8509.140069573943808] DHCP4_RESERVATIONS_LOOKUP_FIRST_ENABLED Multi-threading is enabled and host reservations lookup is always performed first.
Apr 27 18:30:35 kea-dhcp4[8509]: 2024-04-27 18:30:35.251 INFO  [kea-dhcp4.hooks/8509.140069573943808] HOOKS_LIBRARY_CLOSED hooks library /usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_run_script.so successfully closed
Apr 27 18:30:35 kea-dhcp4[8509]: 2024-04-27 18:30:35.271 INFO  [kea-dhcp4.hooks/8509.140069573943808] HOOKS_LIBRARY_CLOSED hooks library /usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_lease_cmds.so successfully closed
Apr 27 18:30:35 kea-dhcp4[8509]: 2024-04-27 18:30:35.271 INFO  [kea-dhcp4.dhcpsrv/8509.140069573943808] DHCPSRV_CFGMGR_NEW_SUBNET4 a new subnet has been added to configuration: xxx.xxx.15.0/24 with params: valid-lifetime=86400
Apr 27 18:30:35 kea-dhcp4[8509]: 2024-04-27 18:30:35.272 INFO  [kea-dhcp4.dhcpsrv/8509.140069573943808] DHCPSRV_CFGMGR_NEW_SUBNET4 a new subnet has been added to configuration: xxx.xxx.16.0/24 with params: valid-lifetime=86400
Apr 27 18:30:35 kea-dhcp4[8509]: 2024-04-27 18:30:35.272 INFO  [kea-dhcp4.dhcpsrv/8509.140069573943808] DHCPSRV_CFGMGR_NEW_SUBNET4 a new subnet has been added to configuration: xxx.xxx.100.0/24 with params: valid-lifetime=86400
Apr 27 18:30:35 kea-dhcp4[8509]: 2024-04-27 18:30:35.273 INFO  [kea-dhcp4.dhcpsrv/8509.140069573943808] DHCPSRV_CFGMGR_NEW_SUBNET4 a new subnet has been added to configuration: xxx.xxx.88.0/24 with params: valid-lifetime=86400
Apr 27 18:30:35 kea-dhcp4[8509]: 2024-04-27 18:30:35.274 INFO  [kea-dhcp4.dhcpsrv/8509.140069573943808] DHCPSRV_CFGMGR_SOCKET_TYPE_SELECT using socket type raw
Apr 27 18:30:35 kea-dhcp4[8509]: 2024-04-27 18:30:35.275 INFO  [kea-dhcp4.dhcpsrv/8509.140069573943808] DHCPSRV_CFGMGR_SOCKET_TYPE_SELECT using socket type udp
Apr 27 18:30:35 kea-dhcp4[8509]: 2024-04-27 18:30:35.276 INFO  [kea-dhcp4.dhcpsrv/8509.140069573943808] DHCPSRV_CFGMGR_USE_ADDRESS listening on address xxx.xxx.100.254, on interface eth5
Apr 27 18:30:35 kea-dhcp4[8509]: 2024-04-27 18:30:35.276 INFO  [kea-dhcp4.dhcpsrv/8509.140069573943808] DHCPSRV_CFGMGR_USE_ADDRESS listening on address xxx.xxx.88.254, on interface eth1
Apr 27 18:30:35 kea-dhcp4[8509]: 2024-04-27 18:30:35.276 INFO  [kea-dhcp4.dhcpsrv/8509.140069573943808] DHCPSRV_CFGMGR_USE_ADDRESS listening on address xxx.xxx.16.254, on interface eth6
Apr 27 18:30:35 kea-dhcp4[8509]: 2024-04-27 18:30:35.276 INFO  [kea-dhcp4.dhcpsrv/8509.140069573943808] DHCPSRV_CFGMGR_USE_ADDRESS listening on address xxx.xxx.15.254, on interface eth4
Apr 27 18:30:35 kea-dhcp4[8509]: 2024-04-27 18:30:35.276 INFO  [kea-dhcp4.commands/8509.140069573943808] COMMAND_ACCEPTOR_START Starting to accept connections via unix domain socket bound to /run/kea/dhcp4-ctrl-socket
Apr 27 18:30:35 kea-dhcp4[8509]: 2024-04-27 18:30:35.278 INFO  [kea-dhcp4.run-script-hooks/8509.140069573943808] RUN_SCRIPT_LOAD Run Script hooks library has been loaded
Apr 27 18:30:35 kea-dhcp4[8509]: 2024-04-27 18:30:35.278 INFO  [kea-dhcp4.hooks/8509.140069573943808] HOOKS_LIBRARY_LOADED hooks library /usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_run_script.so successfully loaded
Apr 27 18:30:35 kea-dhcp4[8509]: 2024-04-27 18:30:35.279 INFO  [kea-dhcp4.lease-cmds-hooks/8509.140069573943808] LEASE_CMDS_INIT_OK loading Lease Commands hooks library successful
Apr 27 18:30:35 kea-dhcp4[8509]: 2024-04-27 18:30:35.279 INFO  [kea-dhcp4.hooks/8509.140069573943808] HOOKS_LIBRARY_LOADED hooks library /usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_lease_cmds.so successfully loaded
Apr 27 18:30:35 kea-dhcp4[8509]: 2024-04-27 18:30:35.279 INFO  [kea-dhcp4.dhcp4/8509.140069573943808] DHCP4_CONFIG_COMPLETE DHCPv4 server has completed configuration: added IPv4 subnets: 4; DDNS: disabled
Apr 27 18:30:35 kea-dhcp4[8509]: 2024-04-27 18:30:35.282 INFO  [kea-dhcp4.dhcpsrv/8509.140069573943808] DHCPSRV_MEMFILE_DB opening memory file lease database: name=/config/dhcp/dhcp4-leases.csv persist=true type=memfile universe=4
Apr 27 18:30:35 kea-dhcp4[8509]: 2024-04-27 18:30:35.282 INFO  [kea-dhcp4.dhcpsrv/8509.140069573943808] DHCPSRV_MEMFILE_LEASE_FILE_LOAD loading leases from file /config/dhcp/dhcp4-leases.csv
Apr 27 18:30:35 kea-dhcp4[8509]: 2024-04-27 18:30:35.282 INFO  [kea-dhcp4.dhcpsrv/8509.140069573943808] DHCPSRV_MEMFILE_EXTRACT_EXTENDED_INFO4 extracting extended info saw 0 leases, extended info sanity checks modified 0 / updated 0 leases and 0 leases have relay or remote id
Apr 27 18:30:35 kea-dhcp4[8509]: 2024-04-27 18:30:35.282 INFO  [kea-dhcp4.dhcpsrv/8509.140069573943808] DHCPSRV_MEMFILE_LFC_SETUP setting up the Lease File Cleanup interval to 3600 sec
Apr 27 18:30:35 kea-dhcp4[8509]: 2024-04-27 18:30:35.283 INFO  [kea-dhcp4.dhcpsrv/8509.140069573943808] DHCPSRV_CFGMGR_USE_ALLOCATOR using the iterative allocator for V4 leases in subnet xxx.xxx.15.0/24
Apr 27 18:30:35 kea-dhcp4[8509]: 2024-04-27 18:30:35.283 INFO  [kea-dhcp4.dhcpsrv/8509.140069573943808] DHCPSRV_CFGMGR_USE_ALLOCATOR using the iterative allocator for V4 leases in subnet xxx.xxx.16.0/24
Apr 27 18:30:35 kea-dhcp4[8509]: 2024-04-27 18:30:35.283 INFO  [kea-dhcp4.dhcpsrv/8509.140069573943808] DHCPSRV_CFGMGR_USE_ALLOCATOR using the iterative allocator for V4 leases in subnet xxx.xxx.100.0/24
Apr 27 18:30:35 kea-dhcp4[8509]: 2024-04-27 18:30:35.283 INFO  [kea-dhcp4.dhcpsrv/8509.140069573943808] DHCPSRV_CFGMGR_USE_ALLOCATOR using the iterative allocator for V4 leases in subnet xxx.xxx.88.0/24
Apr 27 18:30:35 kea-dhcp4[8509]: 2024-04-27 18:30:35.283 WARN  [kea-dhcp4.dhcp4/8509.140069573943808] DHCP4_MULTI_THREADING_INFO enabled: yes, number of threads: 2, queue size: 64
Apr 27 18:30:35 kea-dhcp4[8509]: 2024-04-27 18:30:35.283 INFO  [kea-dhcp4.dhcp4/8509.140069573943808] DHCP4_STARTED Kea DHCPv4 server version 2.4.1 started
Apr 27 18:43:37 kea-dhcp4[8509]: 2024-04-27 18:43:37.271 INFO  [kea-dhcp4.leases/8509.140069531399872] DHCP4_LEASE_ALLOC [hwtype=1 xx:xx:xx:9f:38:6f], cid=[no info], tid=0x6d347259: lease
 xxx.xxx.100.104 has been allocated for 86400 seconds
Apr 27 18:43:37 sudo[9588]: pam_unix(sudo:auth): conversation failed
Apr 27 18:43:37 sudo[9588]: pam_unix(sudo:auth): auth could not identify password for [_kea]
Apr 27 18:43:37 sudo[9588]:     _kea : command not allowed ; PWD=/ ; USER=root ; COMMAND=/usr/bin/chmod 775 /run/kea/dhcp4-ctrl-socket
Apr 27 18:43:37 kea-dhcp4[8509]: 2024-04-27 18:43:37.450 INFO  [kea-dhcp4.commands/8509.140069573943808] COMMAND_RECEIVED Received command 'config-get'
Apr 27 18:57:10 kea-dhcp4[8509]: 2024-04-27 18:57:10.671 INFO  [kea-dhcp4.leases/8509.140069539792576] DHCP4_LEASE_ALLOC [hwtype=1 xx:xx:xx:9f:39:53], cid=[no info], tid=0x14df1c7a: lease xxx.xxx.100.128 has been allocated for 86400 seconds
Apr 27 18:57:10 sudo[10046]: pam_unix(sudo:auth): conversation failed
Apr 27 18:57:10 sudo[10046]: pam_unix(sudo:auth): auth could not identify password for [_kea]
Apr 27 18:57:10 sudo[10046]:     _kea : command not allowed ; PWD=/ ; USER=root ; COMMAND=/usr/bin/chmod 775 /run/kea/dhcp4-ctrl-socket
Apr 27 18:57:10 kea-dhcp4[8509]: 2024-04-27 18:57:10.851 INFO  [kea-dhcp4.commands/8509.140069573943808] COMMAND_RECEIVED Received command 'config-get'
Apr 27 19:00:29 kea-dhcp4[8509]: 2024-04-27 19:00:29.586 INFO  [kea-dhcp4.leases/8509.140069531399872] DHCP4_LEASE_ALLOC [hwtype=1 xx:xx:xx:f6:ea:fa], cid=[01:xx:xx:xx:f6:ea:fa], tid=0x6bdb316d: lease xxx.xxx.100.152 has been allocated for 86400 seconds
Apr 27 19:00:29 sudo[10118]: pam_unix(sudo:auth): conversation failed
Apr 27 19:00:29 sudo[10118]: pam_unix(sudo:auth): auth could not identify password for [_kea]
Apr 27 19:00:29 sudo[10118]:     _kea : command not allowed ; PWD=/ ; USER=root ; COMMAND=/usr/bin/chmod 775 /run/kea/dhcp4-ctrl-socket
Apr 27 19:00:29 kea-dhcp4[8509]: 2024-04-27 19:00:29.769 INFO  [kea-dhcp4.commands/8509.140069573943808] COMMAND_RECEIVED Received command 'config-get'
Apr 27 19:30:35 kea-dhcp4[8509]: 2024-04-27 19:30:35.790 INFO  [kea-dhcp4.dhcpsrv/8509.140069573943808] DHCPSRV_MEMFILE_LFC_START starting Lease File Cleanup
Apr 27 19:30:35 kea-dhcp4[8509]: 2024-04-27 19:30:35.791 INFO  [kea-dhcp4.dhcpsrv/8509.140069573943808] DHCPSRV_MEMFILE_LFC_EXECUTE executing Lease File Cleanup using: /usr/sbin/kea-lfc -4 -x /config/dhcp/dhcp4-leases.csv.2 -i /config/dhcp/dhcp4-leases.csv.1 -o /config/dhcp/dhcp4-leases.csv.output -f /config/dhcp/dhcp4-leases.csv.completed -p /config/dhcp/dhcp4-leases.csv.pid -c ignored-path
Apr 27 19:30:35 DhcpLFC[10967]: INFO  [DhcpLFC.140497292301376] LFC_START Starting lease file cleanup
Apr 27 19:30:35 DhcpLFC[10967]: INFO  [DhcpLFC.140497292301376] LFC_PROCESSING Previous file: /config/dhcp/dhcp4-leases.csv.2, copy file: /config/dhcp/dhcp4-leases.csv.1
Apr 27 19:30:35 DhcpLFC[10967]: INFO  [DhcpLFC.dhcpsrv.140497292301376] DHCPSRV_MEMFILE_LEASE_FILE_LOAD loading leases from file /config/dhcp/dhcp4-leases.csv.1
Apr 27 19:30:35 DhcpLFC[10967]: INFO  [DhcpLFC.140497292301376] LFC_READ_STATS Leases: 3, attempts: 4, errors: 0.
Apr 27 19:30:35 DhcpLFC[10967]: INFO  [DhcpLFC.140497292301376] LFC_WRITE_STATS Leases: 3, attempts: 3, errors: 0.
Apr 27 19:30:35 DhcpLFC[10967]: INFO  [DhcpLFC.140497292301376] LFC_ROTATING LFC rotating files
Apr 27 19:30:35 DhcpLFC[10967]: INFO  [DhcpLFC.140497292301376] LFC_TERMINATE LFC finished processing
Apr 27 19:45:17 kea-dhcp4[8509]: 2024-04-27 19:45:17.436 INFO  [kea-dhcp4.leases/8509.140069531399872] DHCP4_LEASE_ALLOC [hwtype=1 xx:xx:xx:e4:64:75], cid=[01:xx:xx:xx:e4:64:75], tid=0x6bc9bfe2: lease xxx.xxx.100.151 has been allocated for 86400 seconds
Apr 27 19:45:17 sudo[11263]: pam_unix(sudo:auth): conversation failed
Apr 27 19:45:17 sudo[11263]: pam_unix(sudo:auth): auth could not identify password for [_kea]
Apr 27 19:45:17 sudo[11263]:     _kea : command not allowed ; PWD=/ ; USER=root ; COMMAND=/usr/bin/chmod 775 /run/kea/dhcp4-ctrl-socket
Apr 27 19:45:17 kea-dhcp4[8509]: 2024-04-27 19:45:17.615 INFO  [kea-dhcp4.commands/8509.140069573943808] COMMAND_RECEIVED Received command 'config-get'
Apr 27 19:45:25 kea-dhcp4[8509]: 2024-04-27 19:45:25.813 INFO  [kea-dhcp4.leases/8509.140069539792576] DHCP4_LEASE_ALLOC [hwtype=1 xx:xx:xx:d6:db:5e], cid=[01:xx:xx:xx:d6:db:5e], tid=0x6bfb00c9: lease xxx.xxx.100.155 has been allocated for 86400 seconds
Apr 27 19:45:25 sudo[11275]: pam_unix(sudo:auth): conversation failed
Apr 27 19:45:25 sudo[11275]: pam_unix(sudo:auth): auth could not identify password for [_kea]
Apr 27 19:45:25 sudo[11275]:     _kea : command not allowed ; PWD=/ ; USER=root ; COMMAND=/usr/bin/chmod 775 /run/kea/dhcp4-ctrl-socket
Apr 27 19:45:25 kea-dhcp4[8509]: 2024-04-27 19:45:25.996 INFO  [kea-dhcp4.commands/8509.140069573943808] COMMAND_RECEIVED Received command 'config-get'
Apr 27 19:47:25 kea-dhcp4[8509]: 2024-04-27 19:47:25.342 INFO  [kea-dhcp4.leases/8509.140069531399872] DHCP4_LEASE_ALLOC [hwtype=1 xx:xx:xx:00:6a:33], cid=[no info], tid=0x394f476: lease xxx.xxx.16.127 has been allocated for 86400 seconds
Apr 27 19:47:25 sudo[11321]: pam_unix(sudo:auth): conversation failed
Apr 27 19:47:25 sudo[11321]: pam_unix(sudo:auth): auth could not identify password for [_kea]
Apr 27 19:47:25 sudo[11321]:     _kea : command not allowed ; PWD=/ ; USER=root ; COMMAND=/usr/bin/chmod 775 /run/kea/dhcp4-ctrl-socket
Apr 27 19:47:25 kea-dhcp4[8509]: 2024-04-27 19:47:25.517 INFO  [kea-dhcp4.commands/8509.140069573943808] COMMAND_RECEIVED Received command 'config-get'
Apr 27 20:30:36 kea-dhcp4[8509]: 2024-04-27 20:30:36.322 INFO  [kea-dhcp4.dhcpsrv/8509.140069573943808] DHCPSRV_MEMFILE_LFC_START starting Lease File Cleanup
Apr 27 20:30:36 kea-dhcp4[8509]: 2024-04-27 20:30:36.322 INFO  [kea-dhcp4.dhcpsrv/8509.140069573943808] DHCPSRV_MEMFILE_LFC_EXECUTE executing Lease File Cleanup using: /usr/sbin/kea-lfc -4 -x /config/dhcp/dhcp4-leases.csv.2 -i /config/dhcp/dhcp4-leases.csv.1 -o /config/dhcp/dhcp4-leases.csv.output -f /config/dhcp/dhcp4-leases.csv.completed -p /config/dhcp/dhcp4-leases.csv.pid -c ignored-path
Apr 27 20:30:36 DhcpLFC[12411]: INFO  [DhcpLFC.139970121385024] LFC_START Starting lease file cleanup
Apr 27 20:30:36 DhcpLFC[12411]: INFO  [DhcpLFC.139970121385024] LFC_PROCESSING Previous file: /config/dhcp/dhcp4-leases.csv.2, copy file: /config/dhcp/dhcp4-leases.csv.1
Apr 27 20:30:36 DhcpLFC[12411]: INFO  [DhcpLFC.dhcpsrv.139970121385024] DHCPSRV_MEMFILE_LEASE_FILE_LOAD loading leases from file /config/dhcp/dhcp4-leases.csv.2
Apr 27 20:30:36 DhcpLFC[12411]: INFO  [DhcpLFC.dhcpsrv.139970121385024] DHCPSRV_MEMFILE_LEASE_FILE_LOAD loading leases from file /config/dhcp/dhcp4-leases.csv.1
Apr 27 20:30:36 DhcpLFC[12411]: INFO  [DhcpLFC.139970121385024] LFC_READ_STATS Leases: 6, attempts: 8, errors: 0.
Apr 27 20:30:36 DhcpLFC[12411]: INFO  [DhcpLFC.139970121385024] LFC_WRITE_STATS Leases: 6, attempts: 6, errors: 0.
Apr 27 20:30:36 DhcpLFC[12411]: INFO  [DhcpLFC.139970121385024] LFC_ROTATING LFC rotating files
Apr 27 20:30:36 DhcpLFC[12411]: INFO  [DhcpLFC.139970121385024] LFC_TERMINATE LFC finished processing
Apr 27 20:39:42 kea-dhcp4[8509]: 2024-04-27 20:39:42.986 INFO  [kea-dhcp4.commands/8509.140069573943808] COMMAND_RECEIVED Received command 'lease4-get-all'
Apr 27 20:39:42 kea-dhcp4[8509]: 2024-04-27 20:39:42.987 INFO  [kea-dhcp4.commands/8509.140069573943808] COMMAND_RECEIVED Received command 'config-get'
Apr 27 20:41:28 kea-dhcp4[8509]: 2024-04-27 20:41:28.798 INFO  [kea-dhcp4.commands/8509.140069573943808] COMMAND_RECEIVED Received command 'lease4-get-all'
Apr 27 20:41:28 kea-dhcp4[8509]: 2024-04-27 20:41:28.798 INFO  [kea-dhcp4.commands/8509.140069573943808] COMMAND_RECEIVED Received command 'config-get'

My 1.4 configuration

set service dhcp-server host-decl-name
set service dhcp-server hostfile-update
set service dhcp-server listen-address 'xxx.xxx.100.254'
set service dhcp-server listen-address 'xxx.xxx.88.254'
set service dhcp-server listen-address 'xxx.xxx.16.254'
set service dhcp-server listen-address 'xxx.xxx.15.254'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.15.0/24 default-router 'xxx.xxx.15.1'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.15.0/24 domain-name xxxxxx
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.15.0/24 name-server 'xxx.xxx.15.9'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.15.0/24 ntp-server 'xxx.xxx.15.2'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.15.0/24 range 0 start 'xxx.xxx.15.32'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.15.0/24 range 0 stop 'xxx.xxx.15.47'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.15.0/24 range 1 start 'xxx.xxx.15.160'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.15.0/24 range 1 stop 'xxx.xxx.15.191'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.16.0/24 default-router 'xxx.xxx.16.1'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.16.0/24 domain-name xxxxxx
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.16.0/24 name-server 'xxx.xxx.15.9'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.16.0/24 ntp-server 'xxx.xxx.15.2'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.16.0/24 range 0 start 'xxx.xxx.16.32'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.16.0/24 range 0 stop 'xxx.xxx.16.47'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.16.0/24 range 1 start 'xxx.xxx.16.160'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.16.0/24 range 1 stop 'xxx.xxx.16.191'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.16.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.16.127'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.16.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:33'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 default-router 'xxx.xxx.100.1'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 domain-name xxxxxx
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 name-server 'xxx.xxx.15.8'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 ntp-server 'xxx.xxx.15.2'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 range 0 start 'xxx.xxx.100.32'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 range 0 stop 'xxx.xxx.100.47'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 range 1 start 'xxx.xxx.100.160'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 range 1 stop 'xxx.xxx.100.191'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.48'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:4e'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.96'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:89'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.64'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:20'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.101'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:81'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.147'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:85'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.151'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:75'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.131'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:b8'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.152'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:fa'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.129'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:60'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.155'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:5e'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.153'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:78'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.99'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:df'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.130'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:ee'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.128'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:53'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.104'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:6f'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.103'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:53'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.75'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:37'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.97'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:aa'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.14'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:b9'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.102'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:77'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.139'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:58'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.203'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:f4'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.204'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:b3'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.98'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:22'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.78'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:1f'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.145'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:11'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.146'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:5f'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 default-router 'xxx.xxx.88.1'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 domain-name xxxxxx
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 name-server 'xxx.xxx.15.8'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 ntp-server 'xxx.xxx.15.2'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 range 0 start 'xxx.xxx.88.32'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 range 0 stop 'xxx.xxx.88.47'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 range 1 start 'xxx.xxx.88.160'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 range 1 stop 'xxx.xxx.88.191'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.50'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:d7'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx static-mapping-parameters 'option domain-name-servers xxx.xxx.15.9;'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.48'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:ab'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx static-mapping-parameters 'option domain-name-servers xxx.xxx.15.9;'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.49'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:75'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx static-mapping-parameters 'option domain-name-servers xxx.xxx.15.9;'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.198'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:e8'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.56'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:09'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.68'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:a0'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.73'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:be'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.72'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:b8'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.69'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:c6'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.133'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:ef'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.74'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:68'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.83'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:5b'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.88'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:95'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.126'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:e1'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.96'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:31'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.57'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:5e'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.82'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:58'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.146'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:97'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.197'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:73'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.147'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:22'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.81'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:8f'

Which version of 1.5 were you using?

Have you tried to remove all DHCP-related config and start small?

Like remove all static mapping and the range definition - does it work now?

If you add just the range definition, does it work this time?

And so on…

KEA is new for 1.4 (and 1.5) and previously there were some lease files with incorrect permissions that affected the performance of the KEA DHCP-server.

Can you provide an output of
show version
for 1.5
If I understood correctly, you upgraded from 1.4 to 1.5 via add image command
Or are you just setting up fresh 1.5 and trying to migrate manually?

had the same problem with yesterday build going from 1.5-rolling-202312130023 to 1.5-rolling-202404250020… rolled back to 20231213 build and it started to work again.

Hi and thanks,

Yes, was 1.4 to 1.5 via add system image.

Via this same method, I tried three variants of 1.5 20240427 initially thinking it was perhaps my build:

  • docker vyos-build + vyos-1x compile debs
  • docker vyos-build + upstream debs
  • published/official vyos rolling

Show version from the published/official vyos rolling below:

$ show version | strip-private
Version:          VyOS 1.5-rolling-202404270018
Release train:    current

Built by:         autobuild@vyos.net
Built on:         Sat 27 Apr 2024 02:46 UTC
Build UUID:       c17bdd3c-308a-4fbc-8d0f-12978c18bdb9
Build commit ID:  53c3486d46e247

Architecture:     x86_64
Boot via:         installed image
System type:      KVM guest

Hardware vendor:  QEMU
Hardware model:   Standard PC (i440FX + PIIX, 1996)
Hardware S/N:
Hardware UUID:    416be707-c765-4848-8fc9-4beb4df6eb36

Copyright:        VyOS maintainers and contributors

Hi and thanks,

I’ve just now given that a go this morning, with no luck.

  • Remove all and bulk re-add, no change.
  • Remove all and starting small / just the range definition, no change

Start small config:

set service dhcp-server listen-address 'xxx.xxx.88.254'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 option default-router 'xxx.xxx.88.1'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 option domain-name xxxxxx
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 option name-server 'xxx.xxx.15.8'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 range 0 start 'xxx.xxx.88.32'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 range 0 stop 'xxx.xxx.88.47'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 subnet-id '4'

That looks correct when comparing to the reference config (assuming that is properly updated for KEA used in 1.5-rolling):

https://docs.vyos.io/en/latest/configuration/service/dhcp-server.html

https://docs.vyos.io/en/latest/quick-start.html#dhcp-dns-quick-start

set service dhcp-server shared-network-name LAN subnet 192.168.0.0/24 option default-router '192.168.0.1'
set service dhcp-server shared-network-name LAN subnet 192.168.0.0/24 option name-server '192.168.0.1'
set service dhcp-server shared-network-name LAN subnet 192.168.0.0/24 option domain-name 'vyos.net'
set service dhcp-server shared-network-name LAN subnet 192.168.0.0/24 lease '86400'
set service dhcp-server shared-network-name LAN subnet 192.168.0.0/24 range 0 start '192.168.0.9'
set service dhcp-server shared-network-name LAN subnet 192.168.0.0/24 range 0 stop '192.168.0.254'
set service dhcp-server shared-network-name LAN subnet 192.168.0.0/24 subnet-id '1'

So in your case I would suggest to remove that line with listen-address and then only have something like this:

set service dhcp-server shared-network-name LAN subnet xxx.xxx.88.0/24 option default-router 'xxx.xxx.88.1'
set service dhcp-server shared-network-name LAN subnet xxx.xxx.88.0/24 option name-server 'xxx.xxx.15.8'
set service dhcp-server shared-network-name LAN subnet xxx.xxx.88.0/24 option domain-name 'example.com'
set service dhcp-server shared-network-name LAN subnet xxx.xxx.88.0/24 lease '86400'
set service dhcp-server shared-network-name LAN subnet xxx.xxx.88.0/24 range 0 start 'xxx.xxx.88.32'
set service dhcp-server shared-network-name LAN subnet xxx.xxx.88.0/24 range 0 stop 'xxx.xxx.88.47'
set service dhcp-server shared-network-name LAN subnet xxx.xxx.88.0/24 subnet-id '1'

Make sure that any other dhcp-server config is removed, commit, save and reboot and see how it behaves?

we will still need correct migration script from 1.4 to 1.5

In this particular case Im thinking if that “listen-address” could be the root cause of the issue the OP is experiencing?

2 Likes

Thanks @Apachez,

I think you may have hit the nail on the head.

I’ve re-tried tonight via add system image from 1.4 to 1.5 rolling, removing only listen-address post boot and all appears to be working :crossed_fingers:

Post reboot testing across different vlans/subnets with dynamic pool and a static (100.98):

$ show dhcp server leases | strip-private
IP Address      MAC address        State    Lease start          Lease expiration     Remaining    Pool    Hostname       Origin
--------------  -----------------  -------  -------------------  -------------------  -----------  ------  -------------  --------
xxx.xxx.88.32   xx:xx:xx:xx:xx:8d  active   2024/04/30 20:05:43  2024/05/01 20:05:43  23:45:04     LAN1    xxxxx-xx       local
xxx.xxx.88.69   xx:xx:xx:xx:xx:c6  active   2024/04/30 20:05:28  2024/05/01 20:05:28  23:44:49     LAN1    xxxxxx-xxxxxx  local
xxx.xxx.88.96   xx:xx:xx:xx:xx:31  active   2024/04/30 20:08:01  2024/05/01 20:08:01  23:47:22     LAN1    xxxxxxxx       local
xxx.xxx.100.32  xx:xx:xx:xx:xx:fc  active   2024/04/30 20:20:33  2024/05/01 20:20:33  23:59:54     IOT10   xxxxx-xx       local
xxx.xxx.100.98  xx:xx:xx:xx:xx:22  active   2024/04/30 20:24:59  2024/05/01 20:24:59  23:59:34     IOT10   xxxxx          local

Post reboot diff from 1.4 into 1.5-rolling-202404290019 including what vyos removed and the manually deleted listen-address:

# compare commands 1
delete service dhcp-server host-decl-name
delete service dhcp-server listen-address 'xxx.xxx.100.254'
delete service dhcp-server listen-address 'xxx.xxx.88.254'
delete service dhcp-server listen-address 'xxx.xxx.16.254'
delete service dhcp-server listen-address 'xxx.xxx.15.254'
delete service dhcp-server shared-network-name LAN1 subnet xxx-xxx.88.0/24 static-mapping xxxx-xxxxx static-mapping-parameters 'option domain-name-servers xxx-xxx.15.9;'
delete service dhcp-server shared-network-name LAN1 subnet xxx-xxx.88.0/24 static-mapping xxxx-xx-xxxxxxxxxxxx static-mapping-parameters 'option domain-name-servers xxx-xxx.15.9;'
delete service dhcp-server shared-network-name LAN1 subnet xxx-xxx.88.0/24 static-mapping xxxx-xxxxx static-mapping-parameters 'option domain-name-servers xxx-xxx.15.9;'

Resulting config in full:

set service dhcp-server hostfile-update
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.15.0/24 option default-router 'xxx.xxx.15.1'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.15.0/24 option domain-name xxxxxx
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.15.0/24 option name-server 'xxx.xxx.15.9'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.15.0/24 option ntp-server 'xxx.xxx.15.2'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.15.0/24 range 0 start 'xxx.xxx.15.32'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.15.0/24 range 0 stop 'xxx.xxx.15.47'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.15.0/24 range 1 start 'xxx.xxx.15.160'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.15.0/24 range 1 stop 'xxx.xxx.15.191'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.15.0/24 subnet-id '1'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.16.0/24 option default-router 'xxx.xxx.16.1'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.16.0/24 option domain-name xxxxxx
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.16.0/24 option name-server 'xxx.xxx.15.9'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.16.0/24 option ntp-server 'xxx.xxx.15.2'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.16.0/24 range 0 start 'xxx.xxx.16.32'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.16.0/24 range 0 stop 'xxx.xxx.16.47'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.16.0/24 range 1 start 'xxx.xxx.16.160'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.16.0/24 range 1 stop 'xxx.xxx.16.191'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.16.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.16.127'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.16.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:33'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.16.0/24 subnet-id '2'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 option default-router 'xxx.xxx.100.1'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 option domain-name xxxxxx
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 option name-server 'xxx.xxx.15.8'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 option ntp-server 'xxx.xxx.15.2'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 range 0 start 'xxx.xxx.100.32'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 range 0 stop 'xxx.xxx.100.47'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 range 1 start 'xxx.xxx.100.160'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 range 1 stop 'xxx.xxx.100.191'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.48'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:4e'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.96'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:89'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.64'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:20'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.101'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:81'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.147'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:85'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.151'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:75'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.131'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:b8'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.152'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:fa'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.129'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:60'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.155'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:5e'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.153'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:78'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.99'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:df'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.130'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:ee'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.128'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:53'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.104'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:6f'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.103'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:53'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.75'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:37'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.97'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:aa'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.14'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:b9'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.102'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:77'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.139'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:58'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.203'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:f4'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.204'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:b3'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.98'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:22'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.78'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:1f'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.145'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:11'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.100.146'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:5f'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.100.0/24 subnet-id '3'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 option default-router 'xxx.xxx.88.1'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 option domain-name xxxxxx
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 option name-server 'xxx.xxx.15.8'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 option ntp-server 'xxx.xxx.15.2'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 range 0 start 'xxx.xxx.88.32'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 range 0 stop 'xxx.xxx.88.47'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 range 1 start 'xxx.xxx.88.160'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 range 1 stop 'xxx.xxx.88.191'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.50'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:d7'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.48'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:ab'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.49'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:75'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.198'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:e8'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.56'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:09'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.68'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:a0'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.73'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:be'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.72'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:b8'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.69'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:c6'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.133'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:ef'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.74'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:68'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.83'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:5b'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.88'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:95'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.126'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:e1'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.96'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:31'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.57'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:5e'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.82'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:58'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.146'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:97'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.197'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:73'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.147'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:22'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.88.81'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 static-mapping xxxxxx mac 'xx:xx:xx:xx:xx:8f'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.88.0/24 subnet-id '4'

Boot version for reference:

$ show version
Version:          VyOS 1.5-rolling-202404290019
Release train:    current

Built by:         autobuild@vyos.net
Built on:         Mon 29 Apr 2024 02:46 UTC
Build UUID:       10b95315-2770-4705-aea6-d159b78910a8
Build commit ID:  471ac04b050b24

Architecture:     x86_64
Boot via:         installed image
System type:      KVM guest

Hardware vendor:  QEMU
Hardware model:   Standard PC (i440FX + PIIX, 1996)
Hardware S/N:
Hardware UUID:    416be707-c765-4848-8fc9-4beb4df6eb36

Copyright:        VyOS maintainers and contributors

Thanks for the followup!

Im not sure if that listen-address is correct use in 1.4 or 1.5 but eitherway I think the maintainers should take a look at this regarding migration scripts since others will probably fall into the same hole in case listen-address was working previously in 1.4 but not the same way in 1.5.

I have created this task regarding this issue:

https://vyos.dev/T6285

4 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.