SlideShare a Scribd company logo
Chapter 10 
Internet Group 
Management Protocol 
Objectives 
Upon completion you will be able to: 
• Know the purpose of IGMP 
• Know the types of IGMP messages 
• Understand how a member joins a group and leaves a group 
• Understand membership monitoring 
• Understand how an IGMP message is encapsulated 
• Understand the interactions of the modules of an IGMP package 
TCP/IP Protocol Suite 1
Figure 10.1 Position of IGMP in the network layer 
TCP/IP Protocol Suite 2
10.1 GROUP MANAGEMENT 
IGMP is a protocol that manages group membership. The IGMP 
protocol gives the multicast routers information about the membership 
status of hosts (routers) connected to the network. . 
TCP/IP Protocol Suite 3
Note: 
IGMP is a group management 
protocol. It helps a multicast router 
create and update a list of loyal 
members related to each router 
interface. 
TCP/IP Protocol Suite 4
10.2 IGMP MESSAGES 
IGMP has three types of messages: the query, the membership report, 
and the leave report. There are two types of query messages, general and 
special. 
The topics discussed in this section include: 
Message Format 
TCP/IP Protocol Suite 5
Figure 10.2 IGMP message types 
TCP/IP Protocol Suite 6
Figure 10.3 IGMP message format 
TCP/IP Protocol Suite 7
Table 10.1 IGMP type field 
TCP/IP Protocol Suite 8
10.3 IGMP OPERATION 
A multicast router connected to a network has a list of multicast 
addresses of the groups with at least one loyal member in that network. 
For each group, there is one router that has the duty of distributing the 
multicast packets destined for that group. 
The topics discussed in this section include: 
Joining a Group 
Leaving a Group 
Monitoring Membership 
TCP/IP Protocol Suite 9
Figure 10.4 IGMP operation 
TCP/IP Protocol Suite 10
Figure 10.5 Membership report 
TCP/IP Protocol Suite 11
Note: 
In IGMP, a membership report is sent 
twice, one after the other. 
TCP/IP Protocol Suite 12
Figure 10.6 Leave report 
TCP/IP Protocol Suite 13
Note: 
The general query message does not 
define a particular group. 
TCP/IP Protocol Suite 14
Figure 10.7 General query message 
TCP/IP Protocol Suite 15
Example 1 
Imagine there are three hosts in a network as shown in Figure 
10.8. 
A query message was received at time 0; the random delay time 
(in tenths of seconds) for each group is shown next to the 
group address. Show the sequence of report messages. 
See Next Slide 
TCP/IP Protocol Suite 16
Figure 10.8 Example 1 
TCP/IP Protocol Suite 17
Solution 
Example 1 (Continued) 
The events occur in this sequence: 
a. Time 12: The timer for 228.42.0.0 in host A expires and a 
membership report is sent, which is received by the router and every 
host including host B which cancels its timer for 228.42.0.0. 
b. Time 30: The timer for 225.14.0.0 in host A expires and a 
membership report is sent, which is received by the router and every 
host including host C which cancels its timer for 225.14.0.0. 
c. Time 50: The timer for 238.71.0.0 in host B expires and a 
membership report is sent, which is received by the router and every 
host. 
See Next Slide 
TCP/IP Protocol Suite 18
Example 1 (Continued) 
d. Time 70: The timer for 230.43.0.0 in host C expires and a 
membership report is sent, which is received by the router and every 
host including host A which cancels its timerfor 230.43.0.0. 
Note that if each host had sent a report for every group in its 
list, there would have been seven reports; with this strategy 
only four reports are sent. 
TCP/IP Protocol Suite 19
10.4 ENCAPSULATION 
The IGMP message is encapsulated in an IP datagram, which is itself 
encapsulated in a frame. 
The topics discussed in this section include: 
IP Layer 
Data Link Layer 
Netstat Utility 
TCP/IP Protocol Suite 20
Figure 10.9 Encapsulation of IGMP packet 
TCP/IP Protocol Suite 21
Note: 
The IP packet that carries an IGMP 
packet has a value of 2 in its 
protocol field. 
TCP/IP Protocol Suite 22
Note: 
The IP packet that carries an IGMP 
packet has a value of 1 in its 
TTL field. 
TCP/IP Protocol Suite 23
Table 10.2 Destination IP addresses 
TCP/IP Protocol Suite 24
Figure 10.10 Mapping class D to Ethernet physical address 
TCP/IP Protocol Suite 25
Note: 
An Ethernet multicast physical 
address is in the range 
01:00:5E:00:00:00 
to 
01:00:5E:7F:FF:FF. 
TCP/IP Protocol Suite 26
Example 2 
Change the multicast IP address 230.43.14.7 to an Ethernet 
multicast physical 
Solution 
We can do this in two steps: 
a. We write the rightmost 23 bits of the IP address in hexadecimal. 
This can be done by changing the rightmost 3 bytes to hexadecimal 
and then subtracting 8 from the leftmost digit if it is greater than or 
equal to 8. In our example, the result is 2B:0E:07. 
b. We add the result of part a to the starting Ethernet multicast 
address, which is (01:00:5E:00:00:00). The result is 
01:00:5E:2B:0E:07 
TCP/IP Protocol Suite 27
Example 3 
Change the multicast IP address 238.212.24.9 to an Ethernet 
multicast address. 
Solution 
a. The right-most three bytes in hexadecimal are D4:18:09. We need 
to subtract 8 from the leftmost digit, resulting in 54:18:09.. 
b. We add the result of part a to the Ethernet multicast starting 
address. The result is 
01:00:5E:54:18:09 
TCP/IP Protocol Suite 28
Figure 10.11 Tunneling 
TCP/IP Protocol Suite 29
Example 4 
We use netstat with three options, -n, -r, and -a. The -n option gives the 
numeric versions of IP addresses, the -r option gives the routing table, and 
the -a option gives all addresses (unicast and multicast). Note that we show 
only the fields relative to our discussion. 
$ netstat -nra 
Kernel IP routing table 
Destination Gateway Mask Flags Iface 
153.18.16.0 0.0.0.0 255.255.240.0 U eth0 
169.254.0.0 0.0.0.0 255.255.0.0 U eth0 
127.0.0.0 0.0.0.0 255.0.0.0 U lo 
224.0.0.0 0.0.0.0 224.0.0.0 U eth0 
0.0.0.0 153.18.31.254 0.0.0.0 UG eth0 
Any packet with a multicast address from 224.0.0.0 to 239.255.255.255 is 
masked and delivered to the Ethernet interface. 
TCP/IP Protocol Suite 30
10.5 IGMP PACKAGE 
We can show how IGMP can handle the sending and receiving of IGMP 
packets through our simplified version of an IGMP package. In our 
design an IGMP package involves a group table, a set of timers, and four 
software modules. 
The topics discussed in this section include: 
Group Table 
Timers 
Group-Joining Module 
Group-Leaving Module 
Input Module 
Output Module 
TCP/IP Protocol Suite 31
Figure 10.12 IGMP package 
TCP/IP Protocol Suite 32
Figure 10.13 Group table 
TCP/IP Protocol Suite 33

More Related Content

What's hot

SNMP
SNMPSNMP
Congestion control in TCP
Congestion control in TCPCongestion control in TCP
Congestion control in TCP
selvakumar_b1985
 
Internet control message protocol
Internet control message protocolInternet control message protocol
Internet control message protocolasimnawaz54
 
Multicastingand multicast routing protocols
Multicastingand multicast routing protocolsMulticastingand multicast routing protocols
Multicastingand multicast routing protocols
Iffat Anjum
 
Bgp
BgpBgp
Multicast routing
Multicast routingMulticast routing
Multicast routing
Gunasekara Reddy
 
Snmp
SnmpSnmp
Point To Point Protocol
Point To Point ProtocolPoint To Point Protocol
Point To Point ProtocolPhan Vuong
 
VPN - Virtual Private Network
VPN - Virtual Private NetworkVPN - Virtual Private Network
VPN - Virtual Private Network
Peter R. Egli
 
ICMP
ICMPICMP
Bootp and dhcp
Bootp and dhcpBootp and dhcp
Bootp and dhcpMohd Arif
 
Overview of SCTP (Stream Control Transmission Protocol)
Overview of SCTP (Stream Control Transmission Protocol)Overview of SCTP (Stream Control Transmission Protocol)
Overview of SCTP (Stream Control Transmission Protocol)
Peter R. Egli
 
Multicast Routing Protocols
Multicast Routing ProtocolsMulticast Routing Protocols
Multicast Routing Protocols
Ram Dutt Shukla
 
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
Kruti Niranjan
 
Border Gateway Protocol
Border Gateway ProtocolBorder Gateway Protocol
Border Gateway ProtocolKashif Latif
 
Address resolution protocol
Address resolution protocolAddress resolution protocol
Address resolution protocolasimnawaz54
 
MULTICAST BY SAIKIRAN PANJALA
MULTICAST BY SAIKIRAN PANJALAMULTICAST BY SAIKIRAN PANJALA
MULTICAST BY SAIKIRAN PANJALA
Saikiran Panjala
 

What's hot (20)

SNMP
SNMPSNMP
SNMP
 
Congestion control in TCP
Congestion control in TCPCongestion control in TCP
Congestion control in TCP
 
Internet control message protocol
Internet control message protocolInternet control message protocol
Internet control message protocol
 
Multicastingand multicast routing protocols
Multicastingand multicast routing protocolsMulticastingand multicast routing protocols
Multicastingand multicast routing protocols
 
Bgp
BgpBgp
Bgp
 
Multicast routing
Multicast routingMulticast routing
Multicast routing
 
Snmp
SnmpSnmp
Snmp
 
Point To Point Protocol
Point To Point ProtocolPoint To Point Protocol
Point To Point Protocol
 
Icmp
IcmpIcmp
Icmp
 
VPN - Virtual Private Network
VPN - Virtual Private NetworkVPN - Virtual Private Network
VPN - Virtual Private Network
 
ICMP
ICMPICMP
ICMP
 
Bootp and dhcp
Bootp and dhcpBootp and dhcp
Bootp and dhcp
 
Overview of SCTP (Stream Control Transmission Protocol)
Overview of SCTP (Stream Control Transmission Protocol)Overview of SCTP (Stream Control Transmission Protocol)
Overview of SCTP (Stream Control Transmission Protocol)
 
Multicast Routing Protocols
Multicast Routing ProtocolsMulticast Routing Protocols
Multicast Routing Protocols
 
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
 
Border Gateway Protocol
Border Gateway ProtocolBorder Gateway Protocol
Border Gateway Protocol
 
Address resolution protocol
Address resolution protocolAddress resolution protocol
Address resolution protocol
 
MULTICAST BY SAIKIRAN PANJALA
MULTICAST BY SAIKIRAN PANJALAMULTICAST BY SAIKIRAN PANJALA
MULTICAST BY SAIKIRAN PANJALA
 
Cisco MPLS
Cisco MPLSCisco MPLS
Cisco MPLS
 
IEEE 802.11
IEEE 802.11IEEE 802.11
IEEE 802.11
 

Viewers also liked

Introduction to IGMP for IPTV Networks
Introduction to IGMP for IPTV NetworksIntroduction to IGMP for IPTV Networks
Introduction to IGMP for IPTV Networks
Johnson Liu
 
Igmp
IgmpIgmp
Chap 11 udp
Chap 11 udpChap 11 udp
Chap 11 udp
Noctorous Jamal
 
Chap 09 icmp
Chap 09 icmpChap 09 icmp
Chap 09 icmp
Noctorous Jamal
 
Chap 28 security
Chap 28 securityChap 28 security
Chap 28 security
Noctorous Jamal
 
Chap2. ipv4-arp-icmp
Chap2. ipv4-arp-icmpChap2. ipv4-arp-icmp
Chap2. ipv4-arp-icmp
東原 李
 
Icmp V4 And Icmp V6
Icmp V4 And Icmp V6Icmp V4 And Icmp V6
Icmp V4 And Icmp V6
Ram Dutt Shukla
 
Chapter 1 1 vi
Chapter 1 1 viChapter 1 1 vi
Chapter 1 1 vi
Tan Duy
 
Aon vs pon 2
Aon vs pon 2Aon vs pon 2
Aon vs pon 2
vanliemtb
 
ICMP
ICMPICMP
Nguyen tac thiet ke trien khai mang ftth moi tai lieu noi bo
Nguyen tac thiet ke trien khai mang ftth moi   tai lieu noi boNguyen tac thiet ke trien khai mang ftth moi   tai lieu noi bo
Nguyen tac thiet ke trien khai mang ftth moi tai lieu noi bo
bocap231286
 
Nexus 1000v part ii
Nexus 1000v part iiNexus 1000v part ii
Nexus 1000v part ii
Krunal Shah
 
Chap 08 ip
Chap 08 ipChap 08 ip
Chap 08 ip
Noctorous Jamal
 
Chap 14 rip, ospf
Chap 14 rip, ospfChap 14 rip, ospf
Chap 14 rip, ospf
Noctorous Jamal
 

Viewers also liked (20)

Introduction to IGMP for IPTV Networks
Introduction to IGMP for IPTV NetworksIntroduction to IGMP for IPTV Networks
Introduction to IGMP for IPTV Networks
 
Ch10
Ch10Ch10
Ch10
 
Ip multicast
Ip multicastIp multicast
Ip multicast
 
Igmp
IgmpIgmp
Igmp
 
Chap 11 udp
Chap 11 udpChap 11 udp
Chap 11 udp
 
5. icmp
5. icmp5. icmp
5. icmp
 
Chap 09 icmp
Chap 09 icmpChap 09 icmp
Chap 09 icmp
 
Chap 28 security
Chap 28 securityChap 28 security
Chap 28 security
 
Chap2. ipv4-arp-icmp
Chap2. ipv4-arp-icmpChap2. ipv4-arp-icmp
Chap2. ipv4-arp-icmp
 
Icmp V4 And Icmp V6
Icmp V4 And Icmp V6Icmp V4 And Icmp V6
Icmp V4 And Icmp V6
 
Chapter 1 1 vi
Chapter 1 1 viChapter 1 1 vi
Chapter 1 1 vi
 
Aon vs pon 2
Aon vs pon 2Aon vs pon 2
Aon vs pon 2
 
ICMP
ICMPICMP
ICMP
 
Ch21
Ch21Ch21
Ch21
 
Ch09
Ch09Ch09
Ch09
 
Nguyen tac thiet ke trien khai mang ftth moi tai lieu noi bo
Nguyen tac thiet ke trien khai mang ftth moi   tai lieu noi boNguyen tac thiet ke trien khai mang ftth moi   tai lieu noi bo
Nguyen tac thiet ke trien khai mang ftth moi tai lieu noi bo
 
Nexus 1000v part ii
Nexus 1000v part iiNexus 1000v part ii
Nexus 1000v part ii
 
FTTH-GPON
FTTH-GPONFTTH-GPON
FTTH-GPON
 
Chap 08 ip
Chap 08 ipChap 08 ip
Chap 08 ip
 
Chap 14 rip, ospf
Chap 14 rip, ospfChap 14 rip, ospf
Chap 14 rip, ospf
 

Similar to Chap 10 igmp

IGMP.ppt
IGMP.pptIGMP.ppt
Chap 02 osi model
Chap 02 osi modelChap 02 osi model
Chap 02 osi model
Noctorous Jamal
 
Chap-13.ppt
Chap-13.pptChap-13.ppt
Chap-13.ppt
SadhanaBijrothiya
 
TransportLayerServices.ppt
TransportLayerServices.pptTransportLayerServices.ppt
TransportLayerServices.ppt
SwatiRani13
 
IPHEADER_IPV4_IPV6_4.pdf
IPHEADER_IPV4_IPV6_4.pdfIPHEADER_IPV4_IPV6_4.pdf
IPHEADER_IPV4_IPV6_4.pdf
AbhishekKumar66407
 
Transportlayer.ppt
Transportlayer.pptTransportlayer.ppt
Transportlayer.ppt
AayushMishra89
 
User datagram protocol
User datagram protocolUser datagram protocol
User datagram protocolMohd Arif
 
icmp protocol.ppt
icmp protocol.ppticmp protocol.ppt
icmp protocol.ppt
Munnakumar518378
 
Multicasting and multicast routing protocols
Multicasting and multicast routing protocolsMulticasting and multicast routing protocols
Multicasting and multicast routing protocolsAbhishek Kesharwani
 
Multicasting and multicast routing protocols
Multicasting and multicast routing protocolsMulticasting and multicast routing protocols
Multicasting and multicast routing protocolsAbhishek Kesharwani
 
Chap 12 tcp
Chap 12 tcpChap 12 tcp
Chap 12 tcp
Sparsh Samir
 
Chap 12 tcp
Chap 12 tcpChap 12 tcp
Chap 12 tcp
Noctorous Jamal
 
Transport layer
Transport layer   Transport layer
Transport layer
AnusuaBasu
 
Chap 04 ip addresses classful
Chap 04 ip addresses classfulChap 04 ip addresses classful
Chap 04 ip addresses classful
Noctorous Jamal
 
CCNA Dec, 2015 Questions
CCNA Dec, 2015 QuestionsCCNA Dec, 2015 Questions
CCNA Dec, 2015 Questions
Eng. Emad Al-Atoum
 
chapter 3.2 TCP.pptx
chapter 3.2 TCP.pptxchapter 3.2 TCP.pptx
chapter 3.2 TCP.pptx
Tekle12
 
Chap 06 delivery and routing of ip packets
Chap 06 delivery and routing of ip packetsChap 06 delivery and routing of ip packets
Chap 06 delivery and routing of ip packets
Noctorous Jamal
 

Similar to Chap 10 igmp (20)

IGMP.ppt
IGMP.pptIGMP.ppt
IGMP.ppt
 
Chap 02 osi model
Chap 02 osi modelChap 02 osi model
Chap 02 osi model
 
Chap-13.ppt
Chap-13.pptChap-13.ppt
Chap-13.ppt
 
TransportLayerServices.ppt
TransportLayerServices.pptTransportLayerServices.ppt
TransportLayerServices.ppt
 
IPHEADER_IPV4_IPV6_4.pdf
IPHEADER_IPV4_IPV6_4.pdfIPHEADER_IPV4_IPV6_4.pdf
IPHEADER_IPV4_IPV6_4.pdf
 
Transportlayer.ppt
Transportlayer.pptTransportlayer.ppt
Transportlayer.ppt
 
Chap 13
Chap 13Chap 13
Chap 13
 
User datagram protocol
User datagram protocolUser datagram protocol
User datagram protocol
 
Chap 11
Chap 11Chap 11
Chap 11
 
icmp protocol.ppt
icmp protocol.ppticmp protocol.ppt
icmp protocol.ppt
 
Multicasting and multicast routing protocols
Multicasting and multicast routing protocolsMulticasting and multicast routing protocols
Multicasting and multicast routing protocols
 
Multicasting and multicast routing protocols
Multicasting and multicast routing protocolsMulticasting and multicast routing protocols
Multicasting and multicast routing protocols
 
Chap 14
Chap 14Chap 14
Chap 14
 
Chap 12 tcp
Chap 12 tcpChap 12 tcp
Chap 12 tcp
 
Chap 12 tcp
Chap 12 tcpChap 12 tcp
Chap 12 tcp
 
Transport layer
Transport layer   Transport layer
Transport layer
 
Chap 04 ip addresses classful
Chap 04 ip addresses classfulChap 04 ip addresses classful
Chap 04 ip addresses classful
 
CCNA Dec, 2015 Questions
CCNA Dec, 2015 QuestionsCCNA Dec, 2015 Questions
CCNA Dec, 2015 Questions
 
chapter 3.2 TCP.pptx
chapter 3.2 TCP.pptxchapter 3.2 TCP.pptx
chapter 3.2 TCP.pptx
 
Chap 06 delivery and routing of ip packets
Chap 06 delivery and routing of ip packetsChap 06 delivery and routing of ip packets
Chap 06 delivery and routing of ip packets
 

More from Noctorous Jamal

Chap 27 next generation i pv6
Chap 27 next generation i pv6Chap 27 next generation i pv6
Chap 27 next generation i pv6
Noctorous Jamal
 
Chap 26 vpn
Chap 26 vpnChap 26 vpn
Chap 26 vpn
Noctorous Jamal
 
Chap 25 multimedia
Chap 25 multimediaChap 25 multimedia
Chap 25 multimedia
Noctorous Jamal
 
Chap 24 mobile ip
Chap 24 mobile ipChap 24 mobile ip
Chap 24 mobile ip
Noctorous Jamal
 
Chap 23 ip over atm
Chap 23 ip over atmChap 23 ip over atm
Chap 23 ip over atm
Noctorous Jamal
 
Chap 22 www http
Chap 22 www httpChap 22 www http
Chap 22 www http
Noctorous Jamal
 
Chap 21 snmp
Chap 21 snmpChap 21 snmp
Chap 21 snmp
Noctorous Jamal
 
Chap 20 smtp, pop, imap
Chap 20 smtp, pop, imapChap 20 smtp, pop, imap
Chap 20 smtp, pop, imap
Noctorous Jamal
 
Chap 19 ftp & tftp
Chap 19 ftp & tftpChap 19 ftp & tftp
Chap 19 ftp & tftp
Noctorous Jamal
 
Chap 18 telnet
Chap 18 telnetChap 18 telnet
Chap 18 telnet
Noctorous Jamal
 
Chap 17 dns
Chap 17 dnsChap 17 dns
Chap 17 dns
Noctorous Jamal
 
Chap 16 bootp & dhcp
Chap 16 bootp & dhcpChap 16 bootp & dhcp
Chap 16 bootp & dhcp
Noctorous Jamal
 
Chap 15 multicasting
Chap 15 multicastingChap 15 multicasting
Chap 15 multicasting
Noctorous Jamal
 
Chap 13 stream control transmission protocol
Chap 13 stream control transmission protocolChap 13 stream control transmission protocol
Chap 13 stream control transmission protocol
Noctorous Jamal
 
Chap 07 arp & rarp
Chap 07 arp & rarpChap 07 arp & rarp
Chap 07 arp & rarp
Noctorous Jamal
 
Chap 05 ip addresses classfless
Chap 05 ip addresses classflessChap 05 ip addresses classfless
Chap 05 ip addresses classfless
Noctorous Jamal
 
Chap 03 underlying technology
Chap 03 underlying technologyChap 03 underlying technology
Chap 03 underlying technology
Noctorous Jamal
 
Chap 01 intro
Chap 01 introChap 01 intro
Chap 01 intro
Noctorous Jamal
 
Lecture 8 The Communication System Finalterm Slides
Lecture 8  The Communication System Finalterm SlidesLecture 8  The Communication System Finalterm Slides
Lecture 8 The Communication System Finalterm Slides
Noctorous Jamal
 
Lecture 7 The Communication System Finalterm Slides
Lecture 7  The Communication System Finalterm SlidesLecture 7  The Communication System Finalterm Slides
Lecture 7 The Communication System Finalterm Slides
Noctorous Jamal
 

More from Noctorous Jamal (20)

Chap 27 next generation i pv6
Chap 27 next generation i pv6Chap 27 next generation i pv6
Chap 27 next generation i pv6
 
Chap 26 vpn
Chap 26 vpnChap 26 vpn
Chap 26 vpn
 
Chap 25 multimedia
Chap 25 multimediaChap 25 multimedia
Chap 25 multimedia
 
Chap 24 mobile ip
Chap 24 mobile ipChap 24 mobile ip
Chap 24 mobile ip
 
Chap 23 ip over atm
Chap 23 ip over atmChap 23 ip over atm
Chap 23 ip over atm
 
Chap 22 www http
Chap 22 www httpChap 22 www http
Chap 22 www http
 
Chap 21 snmp
Chap 21 snmpChap 21 snmp
Chap 21 snmp
 
Chap 20 smtp, pop, imap
Chap 20 smtp, pop, imapChap 20 smtp, pop, imap
Chap 20 smtp, pop, imap
 
Chap 19 ftp & tftp
Chap 19 ftp & tftpChap 19 ftp & tftp
Chap 19 ftp & tftp
 
Chap 18 telnet
Chap 18 telnetChap 18 telnet
Chap 18 telnet
 
Chap 17 dns
Chap 17 dnsChap 17 dns
Chap 17 dns
 
Chap 16 bootp & dhcp
Chap 16 bootp & dhcpChap 16 bootp & dhcp
Chap 16 bootp & dhcp
 
Chap 15 multicasting
Chap 15 multicastingChap 15 multicasting
Chap 15 multicasting
 
Chap 13 stream control transmission protocol
Chap 13 stream control transmission protocolChap 13 stream control transmission protocol
Chap 13 stream control transmission protocol
 
Chap 07 arp & rarp
Chap 07 arp & rarpChap 07 arp & rarp
Chap 07 arp & rarp
 
Chap 05 ip addresses classfless
Chap 05 ip addresses classflessChap 05 ip addresses classfless
Chap 05 ip addresses classfless
 
Chap 03 underlying technology
Chap 03 underlying technologyChap 03 underlying technology
Chap 03 underlying technology
 
Chap 01 intro
Chap 01 introChap 01 intro
Chap 01 intro
 
Lecture 8 The Communication System Finalterm Slides
Lecture 8  The Communication System Finalterm SlidesLecture 8  The Communication System Finalterm Slides
Lecture 8 The Communication System Finalterm Slides
 
Lecture 7 The Communication System Finalterm Slides
Lecture 7  The Communication System Finalterm SlidesLecture 7  The Communication System Finalterm Slides
Lecture 7 The Communication System Finalterm Slides
 

Recently uploaded

ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
MuhammadTufail242431
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
Jayaprasanna4
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
abh.arya
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
ShahidSultan24
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSETECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
DuvanRamosGarzon1
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
ssuser9bd3ba
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
Kamal Acharya
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 

Recently uploaded (20)

ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSETECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 

Chap 10 igmp

  • 1. Chapter 10 Internet Group Management Protocol Objectives Upon completion you will be able to: • Know the purpose of IGMP • Know the types of IGMP messages • Understand how a member joins a group and leaves a group • Understand membership monitoring • Understand how an IGMP message is encapsulated • Understand the interactions of the modules of an IGMP package TCP/IP Protocol Suite 1
  • 2. Figure 10.1 Position of IGMP in the network layer TCP/IP Protocol Suite 2
  • 3. 10.1 GROUP MANAGEMENT IGMP is a protocol that manages group membership. The IGMP protocol gives the multicast routers information about the membership status of hosts (routers) connected to the network. . TCP/IP Protocol Suite 3
  • 4. Note: IGMP is a group management protocol. It helps a multicast router create and update a list of loyal members related to each router interface. TCP/IP Protocol Suite 4
  • 5. 10.2 IGMP MESSAGES IGMP has three types of messages: the query, the membership report, and the leave report. There are two types of query messages, general and special. The topics discussed in this section include: Message Format TCP/IP Protocol Suite 5
  • 6. Figure 10.2 IGMP message types TCP/IP Protocol Suite 6
  • 7. Figure 10.3 IGMP message format TCP/IP Protocol Suite 7
  • 8. Table 10.1 IGMP type field TCP/IP Protocol Suite 8
  • 9. 10.3 IGMP OPERATION A multicast router connected to a network has a list of multicast addresses of the groups with at least one loyal member in that network. For each group, there is one router that has the duty of distributing the multicast packets destined for that group. The topics discussed in this section include: Joining a Group Leaving a Group Monitoring Membership TCP/IP Protocol Suite 9
  • 10. Figure 10.4 IGMP operation TCP/IP Protocol Suite 10
  • 11. Figure 10.5 Membership report TCP/IP Protocol Suite 11
  • 12. Note: In IGMP, a membership report is sent twice, one after the other. TCP/IP Protocol Suite 12
  • 13. Figure 10.6 Leave report TCP/IP Protocol Suite 13
  • 14. Note: The general query message does not define a particular group. TCP/IP Protocol Suite 14
  • 15. Figure 10.7 General query message TCP/IP Protocol Suite 15
  • 16. Example 1 Imagine there are three hosts in a network as shown in Figure 10.8. A query message was received at time 0; the random delay time (in tenths of seconds) for each group is shown next to the group address. Show the sequence of report messages. See Next Slide TCP/IP Protocol Suite 16
  • 17. Figure 10.8 Example 1 TCP/IP Protocol Suite 17
  • 18. Solution Example 1 (Continued) The events occur in this sequence: a. Time 12: The timer for 228.42.0.0 in host A expires and a membership report is sent, which is received by the router and every host including host B which cancels its timer for 228.42.0.0. b. Time 30: The timer for 225.14.0.0 in host A expires and a membership report is sent, which is received by the router and every host including host C which cancels its timer for 225.14.0.0. c. Time 50: The timer for 238.71.0.0 in host B expires and a membership report is sent, which is received by the router and every host. See Next Slide TCP/IP Protocol Suite 18
  • 19. Example 1 (Continued) d. Time 70: The timer for 230.43.0.0 in host C expires and a membership report is sent, which is received by the router and every host including host A which cancels its timerfor 230.43.0.0. Note that if each host had sent a report for every group in its list, there would have been seven reports; with this strategy only four reports are sent. TCP/IP Protocol Suite 19
  • 20. 10.4 ENCAPSULATION The IGMP message is encapsulated in an IP datagram, which is itself encapsulated in a frame. The topics discussed in this section include: IP Layer Data Link Layer Netstat Utility TCP/IP Protocol Suite 20
  • 21. Figure 10.9 Encapsulation of IGMP packet TCP/IP Protocol Suite 21
  • 22. Note: The IP packet that carries an IGMP packet has a value of 2 in its protocol field. TCP/IP Protocol Suite 22
  • 23. Note: The IP packet that carries an IGMP packet has a value of 1 in its TTL field. TCP/IP Protocol Suite 23
  • 24. Table 10.2 Destination IP addresses TCP/IP Protocol Suite 24
  • 25. Figure 10.10 Mapping class D to Ethernet physical address TCP/IP Protocol Suite 25
  • 26. Note: An Ethernet multicast physical address is in the range 01:00:5E:00:00:00 to 01:00:5E:7F:FF:FF. TCP/IP Protocol Suite 26
  • 27. Example 2 Change the multicast IP address 230.43.14.7 to an Ethernet multicast physical Solution We can do this in two steps: a. We write the rightmost 23 bits of the IP address in hexadecimal. This can be done by changing the rightmost 3 bytes to hexadecimal and then subtracting 8 from the leftmost digit if it is greater than or equal to 8. In our example, the result is 2B:0E:07. b. We add the result of part a to the starting Ethernet multicast address, which is (01:00:5E:00:00:00). The result is 01:00:5E:2B:0E:07 TCP/IP Protocol Suite 27
  • 28. Example 3 Change the multicast IP address 238.212.24.9 to an Ethernet multicast address. Solution a. The right-most three bytes in hexadecimal are D4:18:09. We need to subtract 8 from the leftmost digit, resulting in 54:18:09.. b. We add the result of part a to the Ethernet multicast starting address. The result is 01:00:5E:54:18:09 TCP/IP Protocol Suite 28
  • 29. Figure 10.11 Tunneling TCP/IP Protocol Suite 29
  • 30. Example 4 We use netstat with three options, -n, -r, and -a. The -n option gives the numeric versions of IP addresses, the -r option gives the routing table, and the -a option gives all addresses (unicast and multicast). Note that we show only the fields relative to our discussion. $ netstat -nra Kernel IP routing table Destination Gateway Mask Flags Iface 153.18.16.0 0.0.0.0 255.255.240.0 U eth0 169.254.0.0 0.0.0.0 255.255.0.0 U eth0 127.0.0.0 0.0.0.0 255.0.0.0 U lo 224.0.0.0 0.0.0.0 224.0.0.0 U eth0 0.0.0.0 153.18.31.254 0.0.0.0 UG eth0 Any packet with a multicast address from 224.0.0.0 to 239.255.255.255 is masked and delivered to the Ethernet interface. TCP/IP Protocol Suite 30
  • 31. 10.5 IGMP PACKAGE We can show how IGMP can handle the sending and receiving of IGMP packets through our simplified version of an IGMP package. In our design an IGMP package involves a group table, a set of timers, and four software modules. The topics discussed in this section include: Group Table Timers Group-Joining Module Group-Leaving Module Input Module Output Module TCP/IP Protocol Suite 31
  • 32. Figure 10.12 IGMP package TCP/IP Protocol Suite 32
  • 33. Figure 10.13 Group table TCP/IP Protocol Suite 33