Page MenuHomeVyOS Platform

DHCP server subnet id range must not allow zero
Closed, ResolvedPublicBUG

Description

The completion help show the subnet id could start from 0, but it is not accepted

vyos@r14# set service dhcp-server shared-network-name LANv4 subnet 100.64.0.0/24 subnet-id 
Possible completions:
   <0-4294967295>       Unique subnet ID
                        

      
[edit vrf name red]
vyos@r14# set service dhcp-server shared-network-name LANv4 subnet 100.64.0.0/24 subnet-id 0

  Number is not in any of allowed ranges
  
  
  
  Invalid value
  Value validation failed
  Set failed

[edit vrf name red]
vyos@r14# set service dhcp-server shared-network-name LANv4 subnet 100.64.0.0/24 subnet-id 1
[edit vrf name red]
vyos@r14#

Details

Version
VyOS 2025.09.10-0018-rolling
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

Viacheslav triaged this task as Low priority.
dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
Unknown Object (User) closed this task as Resolved.Oct 10 2025, 10:30 AM
Unknown Object (User) claimed this task.
Unknown Object (User) moved this task from Need Triage to Completed on the VyOS Rolling board.
Unknown Object (User) moved this task from Open to Finished on the VyOS 1.5 Circinus (1.5-stream-2025-Q3) board.
sarthurdev reopened this task as Confirmed.EditedOct 19 2025, 11:38 AM
sarthurdev claimed this task.
sarthurdev added a subscriber: Unknown Object (User).

Seems I've typo'd Kea 3.0 commits on this task ID. Linked this task to T7281 so commits can be tracked.

dmbaturin renamed this task from DHCP-server subnet id range from 0 but 0 does not allowed to DHCP server subnet id range must not allow zero.Wed, Nov 12, 5:25 PM
dmbaturin closed this task as Resolved.