diff options
| author | JR L. <root@dnim.dev> | 2026-08-14 11:45:04 -0300 |
|---|---|---|
| committer | MilaNad <l.nadolina@vyos.io> | 2026-10-01 19:01:31 +0200 |
| commit | fd450159221e9abbf9d12aa6f3ff3f954da8b03e (patch) | |
| tree | 5c4bd24b9a8a3b6d791c8d6e72b4af146269d64c /docs/configuration/protocols | |
| parent | bf60fed7e344fc7ec170fe655d0d0f98fd66425a (diff) | |
| download | vyos-documentation-fd450159221e9abbf9d12aa6f3ff3f954da8b03e.tar.gz vyos-documentation-fd450159221e9abbf9d12aa6f3ff3f954da8b03e.zip | |
docs: igmp-proxy: document firewall requirements and operational commands (#2174)
Co-authored-by: JR Lanteigne <dniminenn@users.noreply.github.com>
Diffstat (limited to 'docs/configuration/protocols')
| -rw-r--r-- | docs/configuration/protocols/igmp-proxy.md | 105 |
1 files changed, 60 insertions, 45 deletions
diff --git a/docs/configuration/protocols/igmp-proxy.md b/docs/configuration/protocols/igmp-proxy.md index 02d072ee..f4af94b4 100644 --- a/docs/configuration/protocols/igmp-proxy.md +++ b/docs/configuration/protocols/igmp-proxy.md @@ -1,43 +1,57 @@ --- -lastproofread: '2023-11-13' +myst: + html_meta: + description: | + The IGMP proxy enables routers to forward multicast traffic, such as + IPTV or video streams, between different networks like home networks + and ISPs. + keywords: igmp, igmp-proxy, multicast, iptv, quickleave, alt-subnet --- (igmp-proxy)= -# IGMP Proxy +# IGMP proxy -{abbr}`IGMP (Internet Group Management Protocol)` proxy sends IGMP host messages -on behalf of a connected client. The configuration must define one, and only one -upstream interface, and one or more downstream interfaces. +The {abbr}`IGMP (Internet Group Management Protocol)` proxy enables routers to +forward multicast traffic, such as IPTV or video streams, between different +networks, such as home networks and ISPs. The IGMP proxy relies on an upstream +interface that faces upstream multicast sources, and one or more downstream +interfaces that face local networks or hosts and forward traffic to requesting +clients. + +IGMP proxy configuration requires exactly one upstream interface and at least +one downstream interface. ## Configuration ```{cfgcmd} set protocols igmp-proxy interface \<interface\> role \<upstream | downstream\> -* **upstream:** The upstream network interface is the outgoing interface -which is responsible for communicating to available multicast data sources. -There can only be one upstream interface. +**Configure the operational role for the specified IGMP proxy interface.** -* **downstream:** Downstream network interfaces are the distribution -interfaces to the destination networks, where multicast clients can join -groups and receive multicast data. One or more downstream interfaces must -be configured. +- ``upstream``: Communicates with upstream multicast sources to retrieve the + multicast traffic. A valid configuration requires exactly one upstream + interface. +- ``downstream``: Communicates with downstream local subnets or hosts to + distribute the requested traffic. A valid configuration requires at least + one downstream interface. +``` + +Example: + +```none +set protocols igmp-proxy interface eth0 role upstream +set protocols igmp-proxy interface eth1 role downstream ``` ```{cfgcmd} set protocols igmp-proxy interface \<interface\> alt-subnet \<network\> -Defines alternate sources for multicasting and IGMP data. The network address -must be on the following format 'a.b.c.d/n'. By default, the router will -accept data from sources on the same network as configured on an interface. -If the multicast source lies on a remote network, one must define from where -traffic should be accepted. +**Configure an allowed remote subnet for incoming multicast traffic +on the specified IGMP proxy interface** -This is especially useful for the upstream interface, since the source for -multicast traffic is often from a remote location. +By default, the IGMP proxy accepts multicast traffic only from directly +connected subnets. If a multicast source resides on a remote network, you +must explicitly define the allowed remote subnet to permit the traffic. -<<<<<<< HEAD -This option can be supplied multiple times. -======= You can configure multiple remote subnets for an **upstream** IGMP proxy interface. @@ -85,50 +99,52 @@ Example: ```none set protocols igmp-proxy interface eth0 threshold 5 ->>>>>>> dad76493 (docs: igmp-proxy: document firewall requirements and operational commands (#2174)) ``` ```{cfgcmd} set protocols igmp-proxy disable-quickleave -Disables quickleave mode. In this mode the daemon will not send a Leave IGMP -message upstream as soon as it receives a Leave message for any downstream -interface. The daemon will not ask for Membership reports on the downstream -interfaces, and if a report is received the group is not joined again the -upstream. +**Disable quickleave mode for the IGMP proxy.** -If it's vital that the daemon should act exactly like a real multicast client -on the upstream interface, this function should be enabled. +If disabled, the IGMP proxy does not send an upstream Leave message upon +receiving a downstream Leave message, preventing the immediate termination +of upstream multicast traffic. The IGMP proxy also stops querying downstream +interfaces for membership reports. If a downstream client submits a new +report, the IGMP proxy discards the message and does not resume the delivery +of requested traffic. +``` -Enabling this function increases the risk of bandwidth saturation. +```{note} +Disabling quickleave mode forces the IGMP proxy to act exactly like a +standard multicast client on the upstream interface. ``` -```{cfgcmd} set protocols igmp-proxy disable +```{note} +Disabling quickleave mode increases the risk of network bandwidth +saturation. +``` -Disable this service. +Example: + +```none +set protocols igmp-proxy disable-quickleave ``` -(igmp-proxy-example)= +```{cfgcmd} set protocols igmp-proxy disable -### Example +**Disable the IGMP proxy on the router.** +``` -Interface eth1 LAN is behind NAT. In order to subscribe 10.0.0.0/23 subnet -multicast which is in eth0 WAN we need to configure igmp-proxy. +Example: ```none -set protocols igmp-proxy interface eth0 role upstream -set protocols igmp-proxy interface eth0 alt-subnet 10.0.0.0/23 -set protocols igmp-proxy interface eth1 role downstream +set protocols igmp-proxy disable ``` - ## Operation ```{opcmd} restart igmp-proxy Restart the IGMP proxy process. -<<<<<<< HEAD -``` -======= ``` ```{opcmd} show ip multicast interface @@ -196,4 +212,3 @@ set protocols igmp-proxy interface eth0 alt-subnet 198.51.100.0/24 set protocols igmp-proxy interface eth1 role downstream ``` ->>>>>>> dad76493 (docs: igmp-proxy: document firewall requirements and operational commands (#2174)) |
