1.2.0-rc1 DHCP range syntax


Reading through the release notes for 1.2 It looks like the range syntax was updated. I am testing the 1.2 rc and it still has the old range syntax. No start or stop option. Was this just missed?

vyos@vyos# set service dhcp-server shared-network-name LAN subnet start stop

  Configuration path: service dhcp-server shared-network-name LAN subnet [start] is not valid
  Set failed

dhcp-server {
        shared-network-name LAN {
            subnet {
                lease 86400
                range 0 {

I had to use the old range syntax to apply the config.

vyos@vyos:~$ show version
Version:          VyOS 1.2.0-rc1
Built by:         maintainers@vyos.net
Built on:         Mon 08 Oct 2018 12:40 UTC
Build ID:         9c7c00b6-ee11-4dfb-b9f8-7ba2c2c0af83


It’s the syntax is release notes that was messed up, the range syntax in VyOS didn’t change from nightly builds to rc1. I fixed the release notes, thanks for catching it!


Indeed that woks for me now. Thanks for the clarification. Just getting started with VyOS and noticed that difference.


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