Вы находитесь на странице: 1из 7

Slides from TCP/IP - Forouzan

Chapter 10

IGMP
Multicasting IGMP Encapsulation MBONE IGMP Design

Forouzan Notes

COSC 6377 - Fall 2000

10-1

Figure 10-1

Class D address

Class D address Range: 224.0.0.0 to 239.255.255.255

Group identifier

Forouzan Notes

COSC 6377 - Fall 2000

10-2

Forouzan Notes

COSC 6377 - Fall 2000

10-1

Slides from TCP/IP - Forouzan

Figure 10-2

Position of IGMP in the network layer

IGMP Network layer

ICMP

IP
ARP RARP

Forouzan Notes

COSC 6377 - Fall 2000

10-3

Figure 10-3

IGMP messages

Host

Report Query

Router

Forouzan Notes

COSC 6377 - Fall 2000

10-4

Forouzan Notes

COSC 6377 - Fall 2000

10-2

Slides from TCP/IP - Forouzan

Figure 10-4

IGMP message format

Type: Query (1) Report (2)


8 bits 8 bits 8 bits 8 bits

Ver (1)

Type

Unused

Checksum

Group address in report, all 0s in query

Forouzan Notes

COSC 6377 - Fall 2000

10-5

Figure 10-5

Operation of IGMP

Host Host

Host

List of groups having loyal members


225.70.8.20 231.24.60.9

. . .

229.60.12.8

LAN

R
Multicast router

Forouzan Notes

COSC 6377 - Fall 2000

10-6

Forouzan Notes

COSC 6377 - Fall 2000

10-3

Slides from TCP/IP - Forouzan

Figure 10-6

Four situations of IGMP operation

Host
2

Report
Group address

Router

a. Joining the group

Host
1

Query
All 0s

Router

b. Monitoring the group

Host
2

Report
Group address

Router

c. Membership continuation

Host
No response to query d. Leaving the group
Forouzan Notes COSC 6377 - Fall 2000

Router

10-7

Figure 10-7

Operation of IGMP in a part of a spanning tree


To the rest of the Internet

R1

Network A

R2

R3

Network B

Network C

Forouzan Notes

COSC 6377 - Fall 2000

10-8

Forouzan Notes

COSC 6377 - Fall 2000

10-4

Slides from TCP/IP - Forouzan

Figure 10-8

Mapping class D to Ethernet physical address

32-bit class D address 1110 5 bits unused 23 bits of multicast address

0000000100000000010111100

23 bits of physical address

48-bit Ethernet address

Forouzan Notes

COSC 6377 - Fall 2000

10-9

Figure 10-9

Tunneling

Multicast IPdatagram Header Data

Header

Data Unicast IP datagram

Forouzan Notes

COSC 6377 - Fall 2000

10-10

Forouzan Notes

COSC 6377 - Fall 2000

10-5

Slides from TCP/IP - Forouzan

Figure 10-10

Encapsulation of IGMP packet

8 bytes

IGMP message IP header Frame header Frame data IP data Trailer (if any)

Forouzan Notes

COSC 6377 - Fall 2000

10-11

Figure 10-11
A request to join a group

Application layer
A request to leave a group

IGMP design

I G M P

Group-joining module

Group-leaving module

Timers

...

Group table

Input module

Output module

IGMP packet (query or report )


Forouzan Notes

IP layer
COSC 6377 - Fall 2000

IGMP packet ( report )


10-12

Forouzan Notes

COSC 6377 - Fall 2000

10-6

Slides from TCP/IP - Forouzan

Figure 10-12

Group table

State ............. ............. .............

Interface No. ............. ............. .............

Group Address ............. ............. .............

Reference Count ............. ............. .............

Forouzan Notes

COSC 6377 - Fall 2000

10-13

Forouzan Notes

COSC 6377 - Fall 2000

10-7

Вам также может понравиться