summaryrefslogtreecommitdiff
path: root/docs/configuration/service
diff options
context:
space:
mode:
authorsrividya0208 <a.srividya@vyos.io>2021-05-27 14:18:26 -0400
committersrividya0208 <a.srividya@vyos.io>2021-05-27 14:18:26 -0400
commitcf3312318177f02ec33be403ec88eb1438a9892c (patch)
tree34c6c7b4713a447e49a39cb6f9a15874164fe640 /docs/configuration/service
parent8651aed3bd0f17e44d4a7fb486448a9f0526950f (diff)
parent546eced065d473ad2a1e2a7ef0bf8def6ff43ab3 (diff)
downloadvyos-documentation-cf3312318177f02ec33be403ec88eb1438a9892c.tar.gz
vyos-documentation-cf3312318177f02ec33be403ec88eb1438a9892c.zip
Merge branch 'master' of https://github.com/vyos/vyos-documentation
Diffstat (limited to 'docs/configuration/service')
-rw-r--r--docs/configuration/service/dhcp-server.rst23
1 files changed, 23 insertions, 0 deletions
diff --git a/docs/configuration/service/dhcp-server.rst b/docs/configuration/service/dhcp-server.rst
index 28dddb2f..3f435605 100644
--- a/docs/configuration/service/dhcp-server.rst
+++ b/docs/configuration/service/dhcp-server.rst
@@ -374,6 +374,29 @@ Raw Parameters
set service dhcp-server shared-network-name dhcpexample subnet 192.0.2.0/24 static-mapping example static-mapping-parameters "option domain-name-servers 192.0.2.11, 192.0.2.12;"
set service dhcp-server shared-network-name dhcpexample subnet 192.0.2.0/24 static-mapping example static-mapping-parameters "option pxelinux.configfile &quot;pxelinux.cfg/01-00-15-17-44-2d-aa&quot;;"
+Option 43 for UniFI
+-------------------
+
+* These parameters need to be part of the DHCP global options. They stay unchanged.
+
+
+.. code-block:: none
+
+ set service dhcp-server global-parameters 'option space ubnt;'
+ set service dhcp-server global-parameters 'option ubnt.unifi-address code 1 = ip-address;'
+ set service dhcp-server global-parameters 'class &quot;ubnt&quot; {'
+ set service dhcp-server global-parameters 'match if substring (option vendor-class-identifier, 0, 4) = &quot;ubnt&quot;;'
+ set service dhcp-server global-parameters 'option vendor-class-identifier &quot;ubnt&quot;;'
+ set service dhcp-server global-parameters 'vendor-option-space ubnt;'
+ set service dhcp-server global-parameters '}'
+
+* Now we add the option to the scope, adapt to your setup
+
+
+.. code-block:: none
+
+ set service dhcp-server shared-network-name example-scope subnet 10.1.1.0/24 subnet-parameters 'option ubnt.unifi-address 172.16.1.10;'
+
Operation Mode
==============