summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-11-29 17:53:42 +0100
committerChristian Poessinger <christian@poessinger.com>2019-11-29 17:53:42 +0100
commite630205cfbf2b358b3586e921f322a25ad79e3ca (patch)
treebc66d3b1e8edf4fa97c0e639714c32be770d9762 /docs
parent7c8c1577949c3643a826130d64f320d47bc6db5f (diff)
downloadvyos-documentation-e630205cfbf2b358b3586e921f322a25ad79e3ca.tar.gz
vyos-documentation-e630205cfbf2b358b3586e921f322a25ad79e3ca.zip
mdns-repeater: migrate to new clicmd syntax
Diffstat (limited to 'docs')
-rw-r--r--docs/services/mdns-repeater.rst17
1 files changed, 10 insertions, 7 deletions
diff --git a/docs/services/mdns-repeater.rst b/docs/services/mdns-repeater.rst
index 22e824ba..4664ee84 100644
--- a/docs/services/mdns-repeater.rst
+++ b/docs/services/mdns-repeater.rst
@@ -9,22 +9,25 @@ and does not leave the subnet. It re-broadcast mDNS packets from one interface
to other interfaces. This enables support for e.g. Apple Airplay devices across
multiple VLANs.
+Since the mDNS protocol sends the AA records in the packet itself, the repeater
+does not need to forge the source address. Instead, the source address is of
+the interface that repeats the packet.
+
+.. cfgcmd:: set service mdns repeater interface <interface>
+
To enable mDNS repeater you need to configure at least two interfaces. To re-
broadcast all mDNS packets from `eth0` to `eth1` and vice versa run:
.. code-block:: none
- set service mdns repeater interface eth0
- set service mdns repeater interface eth1
+ set service mdns repeater interface 'eth0'
+ set service mdns repeater interface 'eth1'
-mDNS repeater can be temporarily disabled without deleting the service using
+.. cfgcmd:: set service mdns repeater disable
-.. code-block:: none
-
- set service mdns repeater disable
+mDNS repeater can be temporarily disabled without deleting the service using
.. note:: You can not run this in a VRRP setup, if multiple mDNS repeaters
are launched in a subnet you will experience the mDNS packet storm death!
-
.. _`Multicast DNS`: https://en.wikipedia.org/wiki/Multicast_DNS