summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuxiang Zhu <vfreex@gmail.com>2022-07-12 22:55:43 +0800
committerYuxiang Zhu <vfreex@gmail.com>2022-07-12 23:02:19 +0800
commit2fadd2febf36b867d1b6d66a1cf5d09a5f4219f2 (patch)
tree678171814212011d15749d356da21ff73a875b73
parent8d43ee1dbfe3436c1b8e8f4300e8cb112d7d7920 (diff)
downloadvyos-documentation-2fadd2febf36b867d1b6d66a1cf5d09a5f4219f2.tar.gz
vyos-documentation-2fadd2febf36b867d1b6d66a1cf5d09a5f4219f2.zip
Add directed broadcast forwarding documentation
-rw-r--r--docs/_include/interface-ip.txt18
-rw-r--r--docs/configuration/system/ip.rst11
2 files changed, 27 insertions, 2 deletions
diff --git a/docs/_include/interface-ip.txt b/docs/_include/interface-ip.txt
index 75441040..4164985b 100644
--- a/docs/_include/interface-ip.txt
+++ b/docs/_include/interface-ip.txt
@@ -19,7 +19,7 @@
{{ var5 }} {{ var6 }} ip arp-cache-timeout
Once a neighbor has been found, the entry is considered to be valid for at
- least for this specifc time. An entry's validity will be extended if it
+ least for this specific time. An entry's validity will be extended if it
receives positive feedback from higher level protocols.
This defaults to 30 seconds.
@@ -64,6 +64,22 @@
set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} ip disable-forwarding
.. cfgcmd:: set interfaces {{ var0 }} <interface> {{ var2 }} {{ var3 }}
+ {{ var5 }} {{ var6 }} ip enable-directed-broadcast
+
+ Define different modes for IP directed broadcast forwarding as described in
+ :rfc:`1812` and :rfc:`2644`.
+
+ If configured, incoming IP directed broadcast packets on this interface will
+ be forwarded.
+
+ If this option is unset (default), incoming IP directed broadcast packets
+ will not be forwarded.
+
+ .. code-block:: none
+
+ set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} ip enable-directed-broadcast
+
+.. cfgcmd:: set interfaces {{ var0 }} <interface> {{ var2 }} {{ var3 }}
{{ var5 }} {{ var6 }} ip enable-arp-accept
Define behavior for gratuitous ARP frames who's IP is not already present in
diff --git a/docs/configuration/system/ip.rst b/docs/configuration/system/ip.rst
index 78aeef4e..f36cf9f5 100644
--- a/docs/configuration/system/ip.rst
+++ b/docs/configuration/system/ip.rst
@@ -9,6 +9,15 @@ System configuration commands
Use this command to disable IPv4 forwarding on all interfaces.
+.. cfgcmd:: set system ip disable-directed-broadcast-forwarding
+
+ Use this command to disable IPv4 directed broadcast forwarding on all
+ interfaces.
+
+ If set, IPv4 directed broadcast forwarding will be completely disabled
+ regardless of whether per-interface directed broadcast forwarding is
+ enabled or not.
+
.. cfgcmd:: set system ip arp table-size <number>
Use this command to define the maximum number of entries to keep in
@@ -67,4 +76,4 @@ And the different IPv4 **reset** commands available:
bgp Clear Border Gateway Protocol (BGP) statistics or status
igmp IGMP clear commands
multicast IP multicast routing table
- route Reset IP route \ No newline at end of file
+ route Reset IP route