Skip to content

How to Enable Dynamic Join/Leave

Last validated:
View as Markdown

WHAT TO EXPECT

In this article, users will learn how to enable and disable dynamic join/leave for groundSwXtches and how to set allow/block rules for multicast joins and leaves.

This page is organized into the following functions:

For information on static vs. dynamic, refer to Using groundSwXtch User Interface - What is Static vs Dynamic?. Dynamic is off by default on every node. The allow/block rules only govern automatic joins, not routes added manually with Add Source or Add Destination.

Enable Dynamic Join/Leave

To enable Dynamic join/leave:

  1. Select the ⇄ Dynamic join/leave button.

    Dynamic join/leave button highlighted on the left of the map, with the Dynamic On and Rules summary below it

  2. The side panel opens to enable Dynamic Multicast IGMP joins and leaves.

  3. Select two or more groundSwXtches. Use Select visible to pick all visible groundSwXtches. To clear the selection, select Clear visible. To enable a single groundSwXtch, see Participate in Dynamic Multicast.

    GROUNDSWXTCHES list of the Dynamic join/leave drawer, with name filter, state and sort drop-downs, Select visible, Clear visible and a check box per groundSwXtch

  4. Select Enable all selected to enable all the selected groundSwXtches.

    With several groundSwXtches selected, only the catch-all rule (the last rule, for every group that no other rule matches) can be set for all of them: Allow all selected or Block all selected. The other rules and their order are set one groundSwXtch at a time (see Add Allow/Block Rules). Rules are checked top to bottom and the first match wins.

    Dynamic join/leave drawer with all groundSwXtches selected and Enable all selected highlighted, next to the highlighted Dynamic join/leave button and the Apply button

  5. Select Apply. The map shows Dynamic On under each enabled groundSwXtch.

    groundSwXtch on the map labelled Dynamic On

Confirmation Prompts

  • The first time Dynamic is turned on for a node, the user chooses the default for streams that no rule covers: Allow all or Block all. Block rules for UPnP/SSDP, mDNS and LLMNR (local-network device-discovery traffic) are also offered; they are pre-checked and recommended.
  • If another querier is already on the local network, a warning says that turning Dynamic on will compete with it or take over from it. A querier is the device that asks local devices which streams they want.
  • If a new block rule would stop streams that are flowing now, the Block active multicast? prompt lists those streams before they are cut off.

Disable Dynamic Join/Leave

To disable Dynamic join/leave:

  1. Select the ⇄ Dynamic join/leave button. The side panel opens to disable Dynamic Multicast IGMP joins and leaves.
  2. Select two or more groundSwXtches. Use Select visible to pick all visible groundSwXtches. To clear the selection, select Clear visible. To disable a single groundSwXtch, see Participate in Dynamic Multicast.

    GROUNDSWXTCHES list of the Dynamic join/leave drawer, with name filter, state and sort drop-downs, Select visible, Clear visible and a check box per groundSwXtch

  3. Select Disable all selected.

    Dynamic join/leave drawer with all groundSwXtches selected and Disable all selected highlighted, with the Apply button highlighted

  4. Select Apply. The map shows Dynamic Off under each disabled groundSwXtch.

Participate in Dynamic Multicast

This section only applies when a single groundSwXtch is selected.

  1. Select or deselect groundSwXtches until only one is selected, as shown below:

    GROUNDSWXTCHES list showing 1 of 6 groundswxtches selected, with only one groundSwXtch checked

  2. Turn on the Participate in Dynamic multicast switch (or turn it off to disable).

    Dynamic join/leave drawer for one groundSwXtch with the Participate in Dynamic multicast switch on and the Apply button highlighted

  3. Select Apply.

Add Allow/Block Rules

Individual groundSwXtches can have more rules to allow or block multicast traffic. Some rules are set automatically, as shown below.

ALLOW/BLOCK POLICY of one groundSwXtch: Block rules for UPnP/SSDP, mDNS and LLMNR above the Allow Any multicast group fallback

To add more allow/block rules:

  1. Select the Add Rule icon. The side panel expands to enter the rule.

    Add rule form: Known use, Action, Match form, Address / range and Label, with Cancel and Add rule

  2. Select the Known Use drop-down to pick the type. Choosing one of the common discovery protocols (UPnP/SSDP, mDNS or LLMNR) fills in its address. Custom IP / CIDR / range lets the user enter an address. The remaining steps are for Custom IP / CIDR / range.

    Known use drop-down open with Custom IP / CIDR / range, UPnP / SSDP, mDNS and LLMNR

  3. Select the action: Allow or Block. Allow lets this node join matching streams when devices ask for them. Block prevents it.

  4. Select the Match Form: Single IP for one group, CIDR for a block of groups (e.g. 239.1.1.0/24), or IP range for a start and end address.

    Match form drop-down open with Single IP, CIDR and IP range

  5. Enter the Address/Range in the format of the selected Match Form (Single IP, CIDR, IP range). The formats are below:

    Add rule form with Match form IP range, the Address / range 239.0.0.0-239.0.0.99 and the Add rule button highlighted

A range has to be written with a hyphen between two full addresses, for example 239.0.0.1-239.0.0.99. A slash is only for CIDR notation.

Accepted Formats

Match form Format Example
Single IP one address 239.0.0.1
IP range full start address, hyphen, full end address 239.0.0.1-239.0.0.99
CIDR address, slash, number from 0 to 32 239.0.0.0/24 (covers 239.0.0.0–239.0.0.255)

Every address must be a multicast address (224.x.x.x to 239.x.x.x), and the start of a range can't be higher than the end. Spaces around the hyphen are fine. A rule that doesn't meet these conditions is rejected when Apply is selected: the side panel shows Saved with rule rejections with the reason, and the rejected rule isn't stored.

  1. Enter a label. The label is a display name that fills itself in (for example, "allow - 239.0.0.1") until the user types one; it doesn't affect which streams match.
  2. Select Add rule. The new rule is added just above the catch-all rule. To change its place, see Allow/Block Rule Priority.
  3. Select Apply. The rule is not added until Apply is selected at the bottom of the form.

    Rules list with the new Allow rule highlighted above the fallback and the note Allow/block changes are not applied

Edit an Allow/Block Rule

A rule can be edited after it is added.

To edit an allow/block rule:

  1. Select the Edit Rule icon.

    Rules list with the edit (pencil) button of a rule highlighted

  2. Change what is needed.

  3. Select Save changes.

    Rule edit form with the Save changes button highlighted

Allow/Block Rule Priority

Change the order of the rules to set their priority.

Rules list with the up and down arrows used to reorder rules highlighted

How the Arrows Behave

  • ↑ moves a rule one place up, giving it higher priority. It's grayed out on the top rule.
  • ↓ moves a rule one place down. It's grayed out on the last rule above the catch-all, because nothing can go below the catch-all.
  • The catch-all ("Any multicast group", with the 🔒) has no arrows. It's always last and only handles requests that no other rule matched.
  • The ⠿ handle on the left does the same thing as the arrows, by dragging.
  • Apply: a reorder isn't saved until Apply is selected.

Order matters when rules overlap. For example, with these two rules:

  1. Allow 239.1.1.0/24 (all groups from 239.1.1.0 to 239.1.1.255)
  2. Block 239.1.1.5 (one group inside that range)

With Allow on top, a request for 239.1.1.5 matches the Allow rule first and gets through, so the Block rule never takes effect. Moving the Block rule up above the Allow rule blocks 239.1.1.5 while still allowing the rest of the range.

The rule of thumb is to put specific rules (single addresses and exceptions) above broad ones (CIDR blocks and ranges).

Delete an Allow/Block Rule

A rule can be deleted if it no longer applies.

To delete an allow/block rule:

  1. Select the Delete Rule icon.

    Rules list with the delete (×) button of a rule highlighted

  2. Select Apply. The rule isn't deleted until Apply is selected at the bottom of the form.