Page MenuHomeVyOS Platform

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

Description

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 10.1.2.0/24 {
             default-router 10.1.2.1
             lease 86400
             range 0 {
                 start 10.1.2.100
                 stop 10.1.2.199
             }
             static-mapping one {
                 ip-address 10.1.2.199
                 mac-address aa:bb:cc:dd:ee:ff
             }
       }
}

Details

Difficulty level
Unknown (require assessment)
Version
1.3-rolling-201910180142
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)