Internet Group Management Protocol (IGMP) · IGMP is a group management protocol. It helps a multicast router create and update a list of loyal members related to each router interface.

Post on 10-Nov-2018

227 Views

Category:

Documents

1 Downloads

Preview:

Click to see full reader

Transcript

M�G����H��� ©T�� M�G����H��� C��������� I���� 2000

Chapter 10

Internet GroupManagement Protocol

(IGMP)

M�G����H��� ©T�� M�G����H��� C��������� I���� 2000

CONTENTS

• GROUP MANAGEMENT• IGMP MESSAGES• IGMP OPERATION• ENCAPSULATION• IGMP PACKAGE

M�G����H��� ©T�� M�G����H��� C��������� I���� 2000

Figure 10-1

Position of IGMP in the network layer

M�G����H��� ©T�� M�G����H��� C��������� I���� 2000

GROUP MANAGEMENT

10.1

M�G����H��� ©T�� M�G����H��� C��������� I���� 2000

IGMP MESSAGES

10.2

M�G����H��� ©T�� M�G����H��� C��������� I���� 2000

IGMP is a group management protocol. It helps a multicast router

create and update a list of loyal members related to

each router interface.

M�G����H��� ©T�� M�G����H��� C��������� I���� 2000

Figure 10-2

IGMP message types

M�G����H��� ©T�� M�G����H��� C��������� I���� 2000

Figure 10-3

IGMP message format

M�G����H��� ©T�� M�G����H��� C��������� I���� 2000

IGMP OPERATION

10.3

M�G����H��� ©T�� M�G����H��� C��������� I���� 2000

Figure 10-4

IGMP operation

M�G����H��� ©T�� M�G����H��� C��������� I���� 2000

Figure 10-5

Membership report

M�G����H��� ©T�� M�G����H��� C��������� I���� 2000

In IGMP, a membership report is sent twice,

one after the other.

M�G����H��� ©T�� M�G����H��� C��������� I���� 2000

Figure 10-6 Leave report

M�G����H��� ©T�� M�G����H��� C��������� I���� 2000

The general query message does not define a particular group.

M�G����H��� ©T�� M�G����H��� C��������� I���� 2000

Figure 10-7

General query message

M�G����H��� ©T�� M�G����H��� C��������� I���� 2000

Example 1

Imagine there are three hosts in anetwork as shown in Figure 10.8 (nextslide).

Imagine there are three hosts in anetwork as shown in Figure 10.8 (nextslide).A query message was received at time0; the random delay time (in tenths ofseconds) for each group is shown nextto the group address. Show thesequence of report messages.

M�G����H��� ©T�� M�G����H��� C��������� I���� 2000

Figure 10-8 Example 1

M�G����H��� ©T�� M�G����H��� C��������� I���� 2000

Solution

The events occur in this sequence:

Time 12: The timer for 228.42.0.0 in host Aexpires and a membership report is sent,which is received by the router and every hostincluding host B which cancels its timer for228.42.0.0.

Time 30: The timer for 225.14.0.0 in host Aexpires and a membership report is sent,which is received by the router and every hostincluding host C which cancels its timer for225 14 0 0

M�G����H��� ©T�� M�G����H��� C��������� I���� 2000

Solution (Continued)

Time 50: The timer for 251.70.0.0 in host Cexpires and a membership report is sent,which is received by the router and everyhost.

Time 70: The timer for 230.43.0.0 in host Aexpires and a membership report is sent,which is received by the router and every hostincluding host A which cancels its timer for230.43.0.0.Note that if each host had sent a report for everygroup in its list, there would have been seven

M�G����H��� ©T�� M�G����H��� C��������� I���� 2000

ENCAPSULATION

10.4

M�G����H��� ©T�� M�G����H��� C��������� I���� 2000

Figure 10-9

Encapsulation of IGMP packet

M�G����H��� ©T�� M�G����H��� C��������� I���� 2000

The IP packet that carries an IGMP packet has a value of

2in its protocol field.

M�G����H��� ©T�� M�G����H��� C��������� I���� 2000

The IP packet that carries an IGMP packet has a value of

1in its TTL field.

M�G����H��� ©T�� M�G����H��� C��������� I���� 2000

Figure 10-10

Mapping class D to Ethernet physical addres

M�G����H��� ©T�� M�G����H��� C��������� I���� 2000

Figure 10-11

Tunneling

M�G����H��� ©T�� M�G����H��� C��������� I���� 2000

IGMP PACKAGE

10.5

M�G����H��� ©T�� M�G����H��� C��������� I���� 2000

Figure 10-12

IGMP package

M�G����H��� ©T�� M�G����H��� C��������� I���� 2000

Figure 10-13

State: Free, Delaying, Idle

Reference Count: Number of processes interested

Group table

top related