1 Group Communications: Host Group and IGMP Dr. Rocky K. C. Chang 19 March, 2002.

Slides:



Advertisements
Similar presentations
Alberto Ornaghi IGMP v3 Internet Group Management Protocol, Version 3 References : draft-ietf-idmr-igmp-v3-08.txt.
Advertisements

1April 16, 2002 Layer 3 Multicast Addressing IP group addresses – “Class D” addresses = high order bits of “1110” Special reserved.
,< 資 管 Lee 附錄 A0 IGMP vs Multicast Listener Discovery.
Computer Networks21-1 Chapter 21. Network Layer: Address Mapping, Error Reporting, and Multicasting 21.1 Address Mapping 21.2 ICMP 21.3 IGMP 21.4 ICMPv6.
Multicast Fundamentals n The communication ways of the hosts n IP multicast n Application level multicast.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 2 1 IP Multicasting: IGMP and Layer 2 Issues.
School of Information Technologies Internet Multicasting NETS3303/3603 Week 10.
COS 420 Day 18. Agenda Group Project Discussion Program Requirements Rejected Resubmit by Friday Noon Protocol Definition Due April 12 Assignment 3 Due.
COS 420 Day 14. Agenda Assignment 3 Posted Covers chapters Due March 23 Assignment 4 Posted Chap Due April 6 Individual Project Papers due.
Chapter 4 IP Multicast Professor Rick Han University of Colorado at Boulder
Oct 21, 2004CS573: Network Protocols and Standards1 IP: Addressing, ARP, Routing Network Protocols and Standards Autumn
EEE449 Computer Networks Internetwork Operation. Internetwork Functions and Services There is a strong need to be able to support a variety of traffic.
Computer Networking Lecture 24 – Multicast.
1 DYNAMIC HOST REGISTRATION -- INTERNET GROUP MANAGEMENT PROTOCOL Yi-Cheng Lin.
© J. Liebeherr, All rights reserved 1 IP Multicasting.
1 CSCI 6433 Internet Protocols Class 7 Dave Roberts.
Group Management n Introduction n Internet Group Management Protocol (IGMP) n Multicast Listener Discovery (MLD) protocol.
Computer Networks 2 Lecture 1 Multicast.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Multicast routing.
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 9 Internet Group Management Protocol (IGMP)
© 2002, Cisco Systems, Inc. All rights reserved..
CSC 600 Internetworking with TCP/IP Unit 8: IP Multicasting (Ch. 17) Dr. Cheer-Sun Yang Spring 2001.
1 CMPT 471 Networking II IGMP (IPv4) and MLD (IPv6) © Janice Regan,
Fall 2005Computer Networks20-1 Chapter 20. Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv ARP 20.2 IP 20.3 ICMP 20.4 IPv6.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing Part 5 Multicasting protocol.
IP Multicast Part I: Fundamentals Carl Harris Communications Network Services Virginia Tech.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Multicasting Part I© Dr. Ayman Abdel-Hamid, CS4254 Spring CS4254 Computer Network Architecture and Programming Dr. Ayman A. Abdel-Hamid Computer.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
© J. Liebeherr, All rights reserved 1 Multicast Routing.
IP Multicast COSC Addressing Class D address Ethernet broadcast address (all 1’s) IP multicast using –Link-layer (Ethernet) broadcast –Link-layer.
1 Network Layer Lecture 16 Imran Ahmed University of Management & Technology.
CS 4396 Computer Networks Lab IP Multicast - Fundamentals.
CSC 600 Internetworking with TCP/IP Unit 7: IPv6 (ch. 33) Dr. Cheer-Sun Yang Spring 2001.
Internet Protocols (chapter 18) CSE 3213 Fall 2011.
TCP/IP Protocol Suite 1 Chapter 10 Upon completion you will be able to: Internet Group Management Protocol Know the purpose of IGMP Know the types of IGMP.
Multicasting CSE 6590 Winter December 2015.
Multicast Routing in Datagram Internetworks and Extended LANs Stephen E. Deering and David R. Cheriton ACM Trans. On Cpt. System, vol 8, no. 2.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 10 Internet Group Management Protocol (IGMP)
Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
Network Layer: Address Mapping, Error Reporting, and Multicasting
4.6 Multicast at the Network Layer Introduction: The Internet multicast abstraction and multicast groups The IGMP Protocol Multicast.
IP Protocol CSE TCP/IP Concepts Connectionless Operation Internetworking involves connectionless operation at the level of the Internet Protocol.
Multicasting EECS June Multicast One-to-many, many-to-many communications Applications: – Teleconferencing – Database – Distributed computing.
1 Group Communications: Reverse Path Multicast Dr. Rocky K. C. Chang 19 March, 2002.
TCP/IP Protocol Suite 1 Chapter 10 Upon completion you will be able to: Internet Group Management Protocol Know the purpose of IGMP Know the types of IGMP.
1 CMPT 471 Networking II Multicasting © Janice Regan,
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
DMET 602: Networks and Media Lab
IP: Addressing, ARP, Routing
ICMP The IP provides unreliable and connectionless datagram delivery. The IP protocol has no error-reporting or error-correcting mechanism. The IP protocol.
Multicast Listener Discovery
Chapter 4 Introduction to Network Layer
Multicast Outline Multicast Introduction and Motivation DVRMP.
Chapter 9 ICMP.
CMPE 252A: Computer Networks
Byungchul Park ICMP & ICMPv DPNM Lab. Byungchul Park
Net 323: NETWORK Protocols
IP - The Internet Protocol
Chapter 4 Introduction to Network Layer
Chapter 10 IGMP Prof. Choong Seon HONG.
Internet Group Management Protocol, Version 3
Net 323 D: Networks Protocols
Chapter 15. Internet Protocol
IP - The Internet Protocol
Introduction to Networks
IP Multicast COSC /5/2019.
IP - The Internet Protocol
Presentation transcript:

1 Group Communications: Host Group and IGMP Dr. Rocky K. C. Chang 19 March, 2002

2 The multicast routing problem How can an IP host send a single copy of datagram to a group of destinations? Motivations: –Efficient multi-destination delivery for updating all copies of a replicated file or database, sending voice, video, or data packets to all participants in computer- mediated conference. –Robust unknown-destination delivery: Use a group address to reach one or more destinations whose individual addresses are unknown to the sender, e.g., a set of OSPF routers to talk to one another. Requirements for the solution: –Scalability, efficiency, and conforming to the IP approach.

3 The multicast routing problem source member

4 The multicast routing problem Multicasting on the same IP network (do not need router support): –hardware support for multicasting –API support for applications to join and leave multicast groups –LAN switches to filter out multicast datagrams. Multicasting on different networks (need router support): –In additional to the above, also need a multicast routing protocol and a protocol to keep track of the group membership. –One basic approach is to overlay a “shortest-path” multicast tree from a given source to a multicast group.

5 IP multicasting IP multicasting is the Internet abstraction of hardware multicasting. The TCP/IP standards for multicasting –Define an IP multicast address space. Some multicast addresses are well-known and others are dynamically allocated. For example, : all systems on this subnet, and : all routers on this subnet. IP multicast only supports UDP. –Specify how hosts send and receive multicast datagrams. –Specify how routers support multicast. Determine group membership on their attached LANs. Determine how to forward multicast packets.

6 Multicast group addresses IP multicast addresses (class D) can only be used as destination addresses. –They can never appear in the source address field, nor can they appear in a source route or record route option. ICMPv4 error is never generated about multicast datagrams, such as destination unreachable, etc. –Two exceptions to this in IPv6 are “Packet Too Big” and “Parameter Problem” ICMPv6 messages. To map an IP multicast address to the corresponding Ethernet address, –Place the low-order 23 bits of the IP multicast address into the low-order 23 bits of the special Ethernet multicast address (0x01:00:5e:00:00:00 to 0x01:00:5e:7f:ff:ff).

7 Multicast group addresses –The mapping is not one-to-one. Some multicast datagrams may be received at a host that are not destined to that host. The IP software must carefully check addresses on all incoming datagrams and discard any unwanted datagrams.

8 The host group model The set of hosts listening to a particular IP multicast address is called a host group. –Senders need not be group members (open group). –A group may have any number of members. –There are no topological restrictions on group membership. –Group membership is dynamic and autonomous. –Host groups may be permanent or transient. The Host Group Model is consistent with the IP datagram (connectionless) approach. –Best effort service without reliability guarantee –Leave it to the upper layers for providing additional services.

9 Multicast support for hosts To send an IP multicast datagram, the IP software must allow an application program to –specify a multicast address as a destination address, and –the data link must be able to map an IP multicast address into the corresponding hardware multicast address. To receive an IP multicast datagram, the IP software must allow an application program to –declare that it wants to join or leave a particular multicast group. –If multiple application programs join the same group, the IP software must pass each of them a copy of datagram received. –If all application programs leave a group, the host must remember that it no longer participates in that group.

10 Multicast support for routers A protocol is needed for multicast routers to keep track of group membership on a given physical network. A routing protocol is also needed for multicast routers to exchange multicast routing information in order to build a multicast distribution tree.

11 Internet group management protocol IGMPv2 specified in RFC 2236 Multicast routers use IGMP to learn which groups have members on each of their attached networks. –Such a router keeps a list of multicast group membership for each attached network. –It also keeps a timer for each membership. –“Multicast group memberships”mean the presence of at least one member of a multicast group on a given interface. –The IGMP is mainly based on membership queries and membership reports. A multicast router may either be a Querier or NonQuerier. A Querier on a network may send IGMP query messages.

12 IGMP messages IGMP messages are encapsulated in IP datagrams. There are basically three types of message (one more as compared with IGMPv1): –Membership Query General Query: Learn which groups have members on an attached network. Group-Specific Query: Learn if a particular group has any members on an attached network.

13 IGMP messages –Membership Report –Leave Group All messages are sent with TTL set to one, and the IP datagrams contain the IP Router Alert option. Maximum response time is meaningful only in Membership Query messages. –It specifies the maximum allowed time for a member host to respond by sending a membership report message. Group address: –Set to 0 for General Query messages. –Set to the corresponding group address for Group-Specific Query messages.

14 Joining a multicast group Processes in a host join specific multicast groups on specific interfaces. A host identifies a group by both group address and the interface. When a host joins a group on an interface, it immediately sends an unsolicited membership report message for that group to the interface. –This host may or may not be the first host joining this group. –The destination address of the message is the address of the group that it joins.

15 Joining a multicast group When a router receives the report message, –If this is the first host joining the group, it adds the group being reported to the list of multicast group memberships, and sets a timer for the membership. –Otherwise, it refreshes the timer for the membership.

16 Multicast group maintenance A Querier periodically broadcasts (all-systems multicast group ) a general query message to solicit membership information. When a host receives a General Query on an interface, it sets delay timers for each group of which it is a member on the interface. –Each timer is set to a random value between 0 and the maximum response time. When a host receives a Group-Specific Query, it performs similar actions as for General Query. When a group’s timer expires, the host multicasts a membership report to the group.

17 Leaving a multicast group When a host leaves a multicast group, it may send a Leave Group message to the all-routers multicast group ( ). When a Querier receives a Group Leave message for a group that has members on the reception interface, –it sends Group-Specific Queries (several times) to the group. –If no reports are received after a certain time threshold, the routers assume that the group has no local members.

18 Host state diagram A host may be in one of three possible states with respect to any single IP multicast group on any single network interface. –“Nonmember” state: When the host does not belong to the group on the interface. –“Delaying Member” state: When the host belongs to the group on the interface, and has a report delay timer running for that membership. –“Idle Member” state: When the host belongs to the group on the interface, and does not have a report delay timer running for that membership.

19

20 Router state diagram A router in Querier state may be in one of three possible states with respect to any single IP multicast group on any single network interface. –“No Members Present” state: When there are no hosts on the network which have sent reports for this multicast group. –“Member Present” state: When there is a host on the network which has sent a membership report for this multicast group. –“Checking Membership” state: When the router has received a Leave Group message but has not yet heard a membership report for the multicast group.

21 Router state diagram

22

23 Performance considerations IGMP is carefully designed to avoid congesting a local network. –All communications between hosts and routers use IP multicast. –A Querier sends only a single General Query to request membership information. –When a host receives a General or Group-Specific Query, it doesn’t respond immediately, but schedules responses for later times. –If there are more than one host belonging to a group, only one host will send Group Leave message when leaving the group.

24 Performance considerations Join latency: The time between the moment the first host joins a group and when the routing protocol is notified that there is a member. Leave latency. The time between the moment the last host leaves a group and when the routing protocol is notified that there are no more members. –IGMPv2 improves the leave latency of IGMPv1 by introducing a Leave Group message.

25 Acknowledgements The notes are based on –W. Fenner, Internet Group Management Protocol, Version 2, RFC 2236, November, –S. Deering, Multicast Routing in a Datagram Internetwork, PhD Thesis, December, 1991.