summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorReuben Dowle <reuben.dowle@4rf.com>2021-02-25 22:10:48 +0100
committerReuben Dowle <reuben.dowle@4rf.com>2021-04-05 23:22:59 +0200
commit3c4f65c59c52b3bfe88ef4d4b1bb421246afafa3 (patch)
tree2a698ec0c0159fddb5ecc5cfe3a6de1d8c260af0 /doc
parentospfd: Support use of ospf with DMVPN (diff)
downloadfrr-3c4f65c59c52b3bfe88ef4d4b1bb421246afafa3.tar.xz
frr-3c4f65c59c52b3bfe88ef4d4b1bb421246afafa3.zip
nhrpd: Document multicast functionality
Signed-off-by: Reuben Dowle <reuben.dowle@4rf.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/user/nhrpd.rst28
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/user/nhrpd.rst b/doc/user/nhrpd.rst
index b02e761ac..c7c4975ae 100644
--- a/doc/user/nhrpd.rst
+++ b/doc/user/nhrpd.rst
@@ -180,6 +180,34 @@ https://git-old.alpinelinux.org/user/tteras/strongswan/
Actively maintained patches are also available at:
https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/main/strongswan
+.. _multicast-functionality:
+
+Multicast Functionality
+=======================
+
+nhrpd can be configured to forward multicast packets, allowing routing
+protocols that use multicast (such as OSPF) to be supported in the DMVPN
+network.
+
+This support requires an NFLOG redirection rule to work:
+
+ .. code-block:: shell
+
+ iptables -I OUTPUT -d 224.0.0.0/24 -o gre1 -j NFLOG --nflog-group 2
+
+.. index:: nhrp multicast-nflog-group (1-65535)
+.. clicmd:: nhrp multicast-nflog-group (1-65535)
+
+ Sets the nflog group that nhrpd will listen on for multicast packets. This
+ value must match the nflog-group value set in the iptables rule.
+
+.. index:: ip nhrp map multicast A.B.C.D|X:X::X:X A.B.C.D|dynamic
+.. clicmd:: ip nhrp map multicast A.B.C.D|X:X::X:X A.B.C.D|dynamic
+
+ Sends multicast packets to the specified NBMA address. If dynamic is
+ specified then destination NBMA address (or addresses) are learnt
+ dynamically.
+
.. _nhrp-events:
NHRP Events