Page MenuHomePhabricator

dhcp-server commit fails with "DHCP range stop address x must be greater or equal to the range start address y!" when static mapping has same IP as range stop
Closed, ResolvedPublic


When a static mapping is defined with the same address as the range stop address, the above error is thrown on commit.

dhcp-server {
     shared-network-name test-pool {
         subnet {
             lease 86400
             range 0 {
             static-mapping one {
                 mac-address aa:bb:cc:dd:ee:ff


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible

Event Timeline

jjakob created this task.Oct 19 2019, 4:40 AM
jjakob created this object in space S1 VyOS Public.
c-po changed the task status from Open to In progress.Oct 19 2019, 7:39 AM
c-po claimed this task.
c-po closed this task as Resolved.Oct 19 2019, 8:15 AM
c-po edited projects, added VyOS 1.2 Crux (VyOS 1.2.4); removed VyOS 1.2 Crux.
c-po moved this task from Needs Triage to Finished on the VyOS 1.2 Crux (VyOS 1.2.4) board.
c-po moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus board.