Cannot config DHCP following docs

Having installed the latest release and following Quick Start — VyOS 1.3.x (equuleus) documentation, the statement set service dhcp-server shared-network-name LAN subnet 192.168.0.0/24 default-router '192.168.0.1' results in Configuration path: service dhcp-server shared-network-name LAN subnet 192.168.0.0/24 [default-router] is not valid. Am I missing something?

Please read the 1.5 Quickstart, seeing as that’s what you’re using.

set service dhcp-server shared-network-name LAN subnet 192.168.0.0/24 option default-router '192.168.0.1'

Notice the addition of the option keyword.

3 Likes

Oh, looks I was looking at old docs… ok, tnx! Not obvious how to switch documentation versions.

1 Like

It’s a pretty standard “Read The Docs” (https://readthedocs.org/) way of changing to a different version. As for example with KEA (Kea Administrator Reference Manual — Kea 2.7.5 documentation) and many others.