22.10.2013 Views

7.8.1.0 - Force10 Networks

7.8.1.0 - Force10 Networks

7.8.1.0 - Force10 Networks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

To receive multicast traffic from a particular source, a host must join the multicast group to which the<br />

source is sending traffic. A host that is a member of a group is called a receiver. A host may join many<br />

groups, and may join or leave any group at any time. A host joins and leaves a multicast group by sending<br />

an IGMP message to its IGMP Querier. The querier is the router that surveys a subnet for multicast<br />

receivers, and processes survey responses to populate the multicast routing table.<br />

IGMP messages are encapsulated in IP packets, as shown in Figure 195.<br />

Figure 195 IGMP version 2 Packet Format<br />

Version<br />

(4)<br />

IHL TOS<br />

(0xc0)<br />

Preamble Start Frame<br />

Delimiter<br />

Total Length Flags Frag Offset<br />

Joining a Multicast Group<br />

Destination MAC Source MAC Ethernet Type IP Packet Padding<br />

TTL<br />

(1)<br />

Protocol<br />

(2)<br />

Header<br />

Checksum<br />

332 Internet Group Management Protocol<br />

Src IP Addr<br />

Dest IP Addr Options<br />

(Router Alert)<br />

FCS<br />

Padding<br />

Type Max. Response<br />

Time<br />

Code: 0x11: Membership Query<br />

0x12: IGMP version 1 Membership Report<br />

0x16: IGMP version 2 Membership Report<br />

0x17: IGMP Leave Group<br />

Checksum<br />

8 bits 16 bits<br />

IGMP Packet<br />

Group Address<br />

May be zero and ignored by hosts for<br />

general queries or contain a group<br />

address for group-specific queries<br />

There are two ways that a host may join a multicast group: it may respond to a general query from its<br />

querier, or it may send an unsolicited report to its querier.<br />

Responding to an IGMP Query<br />

1. One router on a subnet is elected as the querier. The querier periodically multicasts (to<br />

all-multicast-systems address 224.0.0.1) a general query to all hosts on the subnet.<br />

fnC0069mp<br />

2. A host that wants to join a multicast group responds with an IGMP Membership Report that contains<br />

the multicast address of the group it wants to join (the packet is addressed to the same group). If<br />

multiple hosts want to join the same multicast group, only the report from the first host to respond<br />

reaches the querier, and the remaining hosts suppress their responses (see Adjusting Query and<br />

Response Timers on page 338 for how the delay timer mechanism works).<br />

3. The querier receives the report for a group and adds the group to the list of multicast groups associated<br />

with its outgoing port to the subnet. Multicast traffic for the group is then forwarded to that subnet.<br />

Sending an Unsolicited IGMP Report<br />

A host does not have to wait for a general query to join a group. It may send an unsolicited IGMP<br />

Membership Report, also called an IGMP Join message, to the querier.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!