T4389: extend DHCP server documentation on vendor options (#1339)

* T4389 added to dhcp-server documentation

* Correction IP address specifed in examples in previous PR
This commit is contained in:
Ginko 2024-03-23 12:35:33 -04:00 committed by GitHub
parent 8c473fdd84
commit 0c7dcf9f45
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -49,10 +49,26 @@ Configuration
Inform client that the DNS server can be found at `<address>`.
This is the configuration parameter for the entire shared network definition.
All subnets will inherit this configuration item if not specified locally.
All subnets will inherit this configuration item if not specified locally.
Multiple DNS servers can be defined.
.. cfgcmd:: set service dhcp-server shared-network-name <name> option
vendor-option <option-name>
This configuration parameter lets you specify a vendor-option for the
entire shared network definition. All subnets will inherit this
configuration item if not specified locally. An example for Ubiquiti is
shown below:
**Example:**
Pass address of Unifi controller at ``172.16.100.1`` to all clients of ``NET1``
.. code-block:: none
set service dhcp-server shared-network-name 'NET1' option vendor-option
ubiquiti '172.16.100.1'
.. cfgcmd:: set service dhcp-server listen-address <address>
This configuration parameter lets the DHCP server to listen for DHCP
@ -132,6 +148,24 @@ Individual Client Subnet
request where no full FQDN is passed. This option can be given multiple times
if you need multiple search domains (DHCP Option 119).
.. cfgcmd:: set service dhcp-server shared-network-name <name> subnet <subnet>
option vendor-option <option-name>
This configuration parameter lets you specify a vendor-option for the
subnet specified within the shared network definition. An example for
Ubiquiti is shown below:
**Example:**
Create ``172.18.201.0/24`` as a subnet within ``NET1`` and pass address of
Unifi controller at ``172.16.100.1`` to clients of that subnet.
.. code-block:: none
set service dhcp-server shared-network-name 'NET1' subnet
'172.18.201.0/24' option vendor-option ubiquiti '172.16.100.1'
Failover
--------