networking:igmp_snooping
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
networking:igmp_snooping [2020/12/23 23:37] – peter | networking:igmp_snooping [2020/12/24 00:42] (current) – peter | ||
---|---|---|---|
Line 3: | Line 3: | ||
[[https:// | [[https:// | ||
- | **IGMP** (Internet Group Management Protocol) snooping constrains the flooding | + | When your network has plenty |
- | With IGMP snooping | + | **IGMP** (Internet Group Management Protocol) |
- | The device | + | The Router decides which devices will receive the applicable multicast traffic to improve the overall network speed. |
+ | |||
+ | * It monitors IGMP traffic on the network and uses what it learns to forward multicast traffic to **only** the downstream interfaces that are connected to interested receivers. | ||
+ | * It conserves bandwidth by sending multicast traffic only to interfaces connected to devices that want to receive the traffic, instead of flooding the traffic to all the downstream interfaces. | ||
+ | |||
+ | Without IGMP Querying/ | ||
+ | |||
+ | IGMP Snooping generates no additional network traffic, which significantly reduces the Multicast traffic passing through your switch. | ||
---- | ---- | ||
Line 13: | Line 20: | ||
===== Benefits of IGMP Snooping ===== | ===== Benefits of IGMP Snooping ===== | ||
- | * **Optimized bandwidth utilization**: | + | * **Optimized bandwidth utilization**: |
* **Improved security**: | * **Improved security**: | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== When to Enable IGMP Snooping for Home Use ===== | ||
+ | |||
+ | Enable IGMP when you frequently use any kind of streaming or mirroring from your devices to stream to IOT devices, such as Chromecast or Apple TV. | ||
+ | |||
+ | Do not turn it on unless actually needed. | ||
---- | ---- | ||
Line 32: | Line 47: | ||
---- | ---- | ||
+ | ===== IGMP Message Types ===== | ||
+ | |||
+ | Multicast routers use IGMP to learn which groups have interested listeners for each of their attached physical networks. | ||
+ | |||
+ | In any given subnet, one multicast router acts as an IGMP querier. | ||
+ | |||
+ | * **General query**: | ||
+ | * **Group-specific query (IGMPv2 and IGMPv3 only)**: | ||
+ | * This query is sent in response to a host leaving the multicast group and allows the router to quickly determine if any remaining hosts are interested in the group. | ||
+ | * **Group-and-source-specific query (IGMPv3 only)**: | ||
+ | * This query is sent in response to a host indicating that it is not longer interested in receiving group multicast traffic from the multicast source and allows the router to quickly determine any remaining hosts are interested in receiving group multicast traffic from that source. | ||
+ | |||
+ | Hosts that are multicast listeners send the following kinds of messages: | ||
+ | |||
+ | * **Membership report**: | ||
+ | * **Leave report (IGMPv2 and IGMPv3 only)**: | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== How Hosts Join and Leave Multicast Groups ===== | ||
+ | |||
+ | Hosts can join multicast groups in two ways: | ||
+ | |||
+ | * By sending an unsolicited IGMP join message to a multicast router that specifies the IP multicast group the host wants to join. | ||
+ | * By sending an IGMP join message in response to a general query from a multicast router. | ||
+ | |||
+ | A multicast router continues to forward multicast traffic to a VLAN provided that at least one host on that VLAN responds to the periodic general IGMP queries. | ||
+ | |||
+ | * For a host to remain a member of a multicast group, it must continue to respond to the periodic general IGMP queries. | ||
+ | |||
+ | Hosts can leave a multicast group in either of two ways: | ||
+ | |||
+ | * By not responding to periodic queries within a particular interval of time, which is considered a **silent leave**. | ||
+ | * This is the only leave method for IGMPv1 hosts. | ||
+ | * By sending a leave report. | ||
+ | * This method can be used by IGMPv2 and IGMPv3 hosts. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== References ===== | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | [[https:// |
networking/igmp_snooping.1608766671.txt.gz · Last modified: 2020/12/23 23:37 by peter