Skip to content

Commit

Permalink
nhrpd: Document multicast functionality
Browse files Browse the repository at this point in the history
Signed-off-by: Reuben Dowle <reuben.dowle@4rf.com>
  • Loading branch information
reubendowle committed Apr 5, 2021
1 parent bc97889 commit 3c4f65c
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions doc/user/nhrpd.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3c4f65c

Please sign in to comment.