Page 266 / 998 Scroll up to view Page 261 - 265
IGMP snooping
IGMP snooping Functional Overview (Includes
iMG/RG Software Reference Manual (IGMP)
3-4
The following sections describe the IGMP snooping functionality for iMG models belonging to group Fiber-B,
Fiber-D, Fiber-E, Modular and ADSL-B, ADSL-C.
3.1.2.1 Multicast router port discovery
The system listens for IGMP General Query messages and records the port(s) where any such message has
been received.
In this way the Gateway knows where multicast routers are located in order to forward IGMP report and leave
messages only to the correct uplink port(s).
Once the Residential Gateway has detected where the multicast router is located, it keeps the entry for a
period of time defined by the Bridge Multicast Interface Aging Time attribute.
If a new IGMP General Query is received, the multicast router timer is refreshed and the corresponding uplink
port is updated if needed.
If the multicast entry expires before any IGMP General Query is received, forwarding of any multicast stream
to internal hosts is stopped.
It's therefore recommended that the multicast uplink interface timer is longer than the query interval config-
ured on the multicast router (two times the query interval, at least).
Then the forwarding of IGMP queries from multicast router and the forwarding of IGMP report/leave messages
from internal multicast hosts follows different schemes depending if the IGMP process on the
Residential Gateway is working in Snoop-Only mode or it is configured to work in Proxy mode.
Independently on the operational mode, the IGMP process on the Residential Gateway keeps always a view of
the multicast network updating the local multicast group database
3.1.2.2 Snoop-Only Operation Mode
Snoop-Only mode is the default operational mode for IGMP snooping. It's possible to force the IGMP snooping
to work in Snoop-Only mode via the bridge set igmp snooping mode snooponly command.
Before changing the igmp operational mode it's always recommended to disable the IGMP process via the
bridge set igmpsnooping disable command and then re-enable it after the configuration changes have been
entered.
When operating in Snoop-Only mode, the IGMP process does not act any change on IGMP messages. IGMP
source IP and MAC addresses are left unchanged and they are forwarded through the Residential Gateway as
they arrive to the CPE.
IGMP process checks only if there are hosts that have joined or left multicast streams in order to update the
local multicast group database.
The following picture shows an example of IGMP messages flow when Snoop-Only mode is active.
Page 267 / 998
IGMP snooping Functional Overview (Includes New Functionality)
IGMP snooping
3-5
iMG/RG Software Reference Manual (IGMP)
FIGURE 3-1
IGMP messages flow when Snoop-Only mode is active
3.1.2.2.1 Joining a Multicast Group
The Residential Gateway detects unsolicited IGMP Report messages that hosts send to join a multicast channel.
The Residential Gateway updates the local multicast group database storing the information about the
requested stream and the requesting port.
The IGMP process then forwards immediately the IGMP Report message to the multicast router.
Local igmp entries can be displayed via the bridge list igmpsnooping groupinfo command.
As soon the multicast router opens the multicast stream towards the Residential Gateway, the port that
requested that stream starts to receive it.
Page 268 / 998
IGMP snooping
IGMP snooping Functional Overview (Includes
iMG/RG Software Reference Manual (IGMP)
3-6
3.1.2.2.2 Leaving a multicast group
Periodically the multicast router sends Generic Queries to check whether there are multicast hosts that are
still active.
If one or most hosts are still interested to receive multicast streams, they will reply with IGMP Report mes-
sages and the corresponding entries on the local multicast group database will be refreshed.
When an host wants to leave group, it sends an IGMP Leave message specific for the group it wants to leave.
The IGMP Leave message is then forwarded to the upstream multicast router and a timer equals to the Last
Member Query Interval secs is started for the corresponding local igmp entry.
When this timer expires, the IGMP process stops the forwarding of the multicast stream on the port that has
received the IGMP leave message.
This mechanism is used to reduce the flooding of unsolicited multicast streams in case the multicast upstream
router takes a long time before closing the multicast stream towards the Residential Gateway.
The upper multicast router can decide to keep open the multicast stream towards the Residential Gateway if it
has detected that there are other hosts interested to receive the multicast stream.
This is usually done by the upper multicast router upon the reception of an IGMP leave messages sending one
or more specific queries for the multicast stream just left.
3.1.2.3 Proxy Operational Mode
Proxy Mode is an operational mode where the Residential Gateway takes a more active roll in the management
of the IGMP messages.
IGMP messages received from the upper multicast router or from the internal hosts are always terminated into
the Residential Gateway.
IGMP messages sent by the Residential Gateway to the internal hosts or to the upper multicast router will use
the CPE source IP and MAC addresses creating in this way a demarcation point between the access and the
user network.
3.1.2.3.1 Joining a Multicast Group
As for IGMP Snoop-Only mode, the system listens for unsolicited IGMP Report messages that hosts send to
join a multicast group.
The Residential Gateway updates the local multicast group database storing the information about the
requested stream and the requesting port.
If the received IGMP report message is the first one (i.e. no other hosts have requested the same multicast
stream), then the IGMP process forwards immediately the IGMP Report message to the upper multicast router
(replacing the source IP and MAC addresses).
Page 269 / 998
IGMP snooping Functional Overview (Includes New Functionality)
IGMP snooping
3-7
iMG/RG Software Reference Manual (IGMP)
Instead, if the received IGMP report message refers to a multicast channel that is already registered in the local
database, the IGMP process will drop it without forwarding it to the multicast router and will update the local
database, if needed.
Periodically the multicast router sends Generic Queries to check the presence of active multicast hosts.
Then the IGMP process answers to each IGMP query notifying all the multicast stream registered on the local
multicast group database without querying the internal hosts.
The upper multicast router does not have therefore any knowledge of the internal lan configuration. IGMP
reports (and leaves) messages are always sent by the CPE IGMP process using the Residential Gateway IP and
MAC source address.
In order to keep the local multicast group database up to date, the IGMP process sends periodically IGMP
generic queries to the internal hosts. The period IGMP queries are sent, is called Query Interval. Each host still
interested to receive multicast streams must respond with one or more IGMP Report messages within a time-
frame called
Query Response Interval.
The picture here below shows an example scenario where two hosts join two different multicast channels.
Page 270 / 998
IGMP snooping
IGMP snooping Functional Overview (Includes
iMG/RG Software Reference Manual (IGMP)
3-8
FIGURE 3-2
Two Hosts Join Two Different Mulitcast Channels

Rate

4 / 5 based on 3 votes.

Popular Allied-Telesis Models

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top