Page MenuHomeVyOS Platform

DHCP breaks when `hostfile-update` set
Closed, InvalidPublicBUG

Description

DHCP fails to reliably issue addresses when hostfile-update set

set service dhcp-server global-parameters 'allow bootp;'
set service dhcp-server hostfile-update
set service dhcp-server host-decl-name
set service dhcp-server shared-network-name CLIENTS subnet 10.0.10.0/23 default-router '10.0.10.1'
set service dhcp-server shared-network-name CLIENTS subnet 10.0.10.0/23 dns-server '10.0.10.1'
set service dhcp-server shared-network-name CLIENTS subnet 10.0.10.0/23 domain-name 'int.example.org'
set service dhcp-server shared-network-name CLIENTS subnet 10.0.10.0/23 domain-search 'int.example.org'
set service dhcp-server shared-network-name CLIENTS subnet 10.0.10.0/23 domain-search 'lab.example.org'
set service dhcp-server shared-network-name CLIENTS subnet 10.0.10.0/23 domain-search 'example.org'
set service dhcp-server shared-network-name CLIENTS subnet 10.0.10.0/23 lease '1800'
set service dhcp-server shared-network-name CLIENTS subnet 10.0.10.0/23 ntp-server '10.0.2.123'
set service dhcp-server shared-network-name CLIENTS subnet 10.0.10.0/23 range 0 start '10.0.11.11'
set service dhcp-server shared-network-name CLIENTS subnet 10.0.10.0/23 range 0 stop '10.0.11.254'
set service dhcp-server shared-network-name GUESTS subnet 10.0.20.0/24 default-router '10.0.20.1'
set service dhcp-server shared-network-name GUESTS subnet 10.0.20.0/24 dns-server '10.0.20.1'
set service dhcp-server shared-network-name GUESTS subnet 10.0.20.0/24 lease '1800'
set service dhcp-server shared-network-name GUESTS subnet 10.0.20.0/24 ntp-server '10.0.2.123'
set service dhcp-server shared-network-name GUESTS subnet 10.0.20.0/24 range 0 start '10.0.20.11'
set service dhcp-server shared-network-name GUESTS subnet 10.0.20.0/24 range 0 stop '10.0.20.254'
set service dhcp-server shared-network-name INFRA subnet 10.0.2.0/24 default-router '10.0.2.1'
set service dhcp-server shared-network-name INFRA subnet 10.0.2.0/24 dns-server '10.0.2.1'
set service dhcp-server shared-network-name INFRA subnet 10.0.2.0/24 domain-name 'int.example.org'
set service dhcp-server shared-network-name INFRA subnet 10.0.2.0/24 domain-search 'int.example.org'
set service dhcp-server shared-network-name INFRA subnet 10.0.2.0/24 domain-search 'lab.example.org'
set service dhcp-server shared-network-name INFRA subnet 10.0.2.0/24 domain-search 'example.org'
set service dhcp-server shared-network-name INFRA subnet 10.0.2.0/24 lease '1800'
set service dhcp-server shared-network-name INFRA subnet 10.0.2.0/24 ntp-server '10.0.2.123'
set service dhcp-server shared-network-name INFRA subnet 10.0.2.0/24 range 0 start '10.0.2.11'
set service dhcp-server shared-network-name INFRA subnet 10.0.2.0/24 range 0 stop '10.0.2.254'
set service dhcp-server shared-network-name LAB subnet 10.0.255.0/24 bootfile-name 'http://10.0.255.254/ztp/bootstrap'
set service dhcp-server shared-network-name LAB subnet 10.0.255.0/24 default-router '10.0.255.1'
set service dhcp-server shared-network-name LAB subnet 10.0.255.0/24 dns-server '10.0.255.1'
set service dhcp-server shared-network-name LAB subnet 10.0.255.0/24 domain-name 'lab.example.org'
set service dhcp-server shared-network-name LAB subnet 10.0.255.0/24 domain-search 'int.example.org'
set service dhcp-server shared-network-name LAB subnet 10.0.255.0/24 domain-search 'lab.example.org'
set service dhcp-server shared-network-name LAB subnet 10.0.255.0/24 domain-search 'example.org'
set service dhcp-server shared-network-name LAB subnet 10.0.255.0/24 lease '1800'
set service dhcp-server shared-network-name LAB subnet 10.0.255.0/24 ntp-server '10.0.2.123'
set service dhcp-server shared-network-name LAB subnet 10.0.255.0/24 range 0 start '10.0.255.21'
set service dhcp-server shared-network-name LAB subnet 10.0.255.0/24 range 0 stop '10.0.255.99'

Details

Version
1.3
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

kroy closed this task as Invalid.
erkin renamed this task from DHCP Broken when `hostfile-update` set to DHCP breaks when `hostfile-update` set.Aug 29 2021, 12:21 PM
erkin set Issue type to Bug (incorrect behavior).
erkin removed a subscriber: Global Notifications.