summaryrefslogtreecommitdiff
path: root/docs/services/udp-broadcast-relay.rst
blob: f9e1b03e91e06ee85648f495c40d0ae57178afc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
.. _udp_broadcast_relay:

###################
UDP Broadcast Relay
###################

Certain vendors use broadcasts to identify their equipemnt within one ethernet
segment. Unfortunately if you split your network with multiple VLANs you loose
the ability of identifying your equiment.

This is where "UDP broadcast relay" comes into play! It will forward received
broadcasts to other configured networks.

Every UDP port which will be forward requires one unique ID. Currently we
support 99 IDs!

Configuration
-------------

.. cfgcmd:: set service broadcast-relay id <n> description <description>

   A description can be added for each and every unique relay ID. This is
   usefull to distinguish between multiple different ports/appliactions.

.. cfgcmd:: set service broadcast-relay id <n> interface <interface>

   The interface used to receive and relay individual broadcast packets. If you
   want to receive/relay packets on both `eth1` and `eth2` both interfaces need
   to be added.

.. cfgcmd:: set service broadcast-relay id <n> port <port>

   The UDP port number used by your apllication. It is mandatory for this kind
   of operation.

.. cfgcmd:: set service broadcast-relay id <n> disable

   Each broadcast relay instance can be individually disabled without deleting
   the configured node by using the following command:

.. cfgcmd:: set service broadcast-relay disable

   In addition you can also disable the whole service without the need to remove
   it from the current configuration.

.. note:: You can run the UDP broadcast relay service on multiple routers
   connected to a subnet. There is **NO** UDP broadcast relay packet storm!

Example
-------

To forward all broadcast packets received on `UDP port 1900` on `eth3`, `eth4`
or `eth5` to all other interfaces in this configuration.

.. code-block:: none

  set service broadcast-relay id 1 description 'SONOS'
  set service broadcast-relay id 1 interface 'eth3'
  set service broadcast-relay id 1 interface 'eth4'
  set service broadcast-relay id 1 interface 'eth5'
  set service broadcast-relay id 1 port '1900'