summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-03-04 21:51:58 +0100
committerGitHub <noreply@github.com>2021-03-04 21:51:58 +0100
commit574986ada74d95a3e12b668dfad527cda88c5f7d (patch)
tree2c93e4ae97dcc015cebc21dfe721150975260b91
parent9858919569b403fc30fe2c62dd919d16ae56a20b (diff)
parentf369cf079732e7ea86803fc714644b30b19b97c4 (diff)
downloadvyos-documentation-574986ada74d95a3e12b668dfad527cda88c5f7d.tar.gz
vyos-documentation-574986ada74d95a3e12b668dfad527cda88c5f7d.zip
Merge pull request #448 from bstepler/T3300
dhcp: T3300: add DHCP default route distance
-rw-r--r--docs/_include/interface-dhcp-options.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/_include/interface-dhcp-options.txt b/docs/_include/interface-dhcp-options.txt
index 1a0ce260..2030ae3d 100644
--- a/docs/_include/interface-dhcp-options.txt
+++ b/docs/_include/interface-dhcp-options.txt
@@ -48,3 +48,14 @@
.. code-block:: none
set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} dhcp-options no-default-route
+
+.. cfgcmd:: set interfaces {{ var0 }} <interface> {{ var2 }} {{ var3 }}
+ {{ var5 }} {{ var6 }} dhcp-options default-route-distance <distance>
+
+ Set the distance for the default gateway sent by the DHCP server.
+
+ Example:
+
+ .. code-block:: none
+
+ set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} dhcp-options default-route-distance 220