1April 16, 2002 Layer 3 Multicast Addressing IP group addresses 224.0.0.0–239.255.255.255 “Class D” addresses = high order bits of “1110” Special reserved.

Slides:



Advertisements
Similar presentations
Introduction to IP Multicast 1 Cisco Systems Confidential 0810_04F7_c2.
Advertisements

Multicast on the Internet CSE April 2015.
Multicasting CSE April Internet Multicast Service Model Multicast group concept: use of indirection a host “sends” IP datagrams to multicast.
COS 420 Day 15. Agenda Assignment 3 Due Assignment 4 Posted Chap Due April 6 Individual Project Presentations Due IEPREP - Jeff MANETS - Donnie.
© 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.
IP Multicasting: Explaining Multicast
TDC375 Winter 2002John Kristoff - DePaul University1 Network Protocols IP Multicast.
Chapter 4 IP Multicast Professor Rick Han University of Colorado at Boulder
TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Network Protocols Multicast.
EE689 Lecture 12 Review of last lecture Multicast basics.
MULTICASTING Network Security.
© J. Liebeherr, All rights reserved 1 IP Multicasting.
1 Computer Networks IP Multicast. 2 Recall Unicast Broadcast Multicast sends to a specific group.
Speaker 2006/XX/XX Speaker 2007/XX/XX IGMP Snooping CK NG Technical Marketing.
Module 7: IP Multicasting
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
Computer Networks 2 Lecture 1 Multicast.
Multicasting  A message can be unicast, multicast, or broadcast.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Multicast routing.
IPv6 Multicast 6DEPLOY. IPv6 Deployment and Support.
Multicast Routing Protocols NETE0514 Presented by Dr.Apichan Kanjanavapastit.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 9 Internet Group Management Protocol (IGMP)
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,
Chapter 22 Network Layer: Delivery, Forwarding, and Routing Part 5 Multicasting protocol.
Introduction to IP Multicast
Multicast Routing Protocols. The Need for Multicast Routing n Routing based on member information –Whenever a multicast router receives a multicast packet.
© 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.
Multicast 1 Spencer Tsai Mobile Communication & Broadband Network Lab CSIE Fu-Jen Catholic University Introduction to Multicast.
CS 4396 Computer Networks Lab IP Multicast - Fundamentals.
Björn Landfeldt School of Information Technologies NETS 3303 Networked Systems Multicast.
Introduction to Multicast Routing Protocols
© J. Liebeherr, All rights reserved 1 IP Multicasting.
1 © 2000, Cisco Systems, Inc _05_2000_c2 Server Router Unicast Server Router Multicast Unicast vs. Multicast.
11 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
Multicasting CSE 6590 Winter December 2015.
1 IP Multicasting Relates to Lab 10. It covers IP multicasting, including multicast addressing, IGMP, and multicast routing.
Information and Communication engineering (ICE) MUT ITEC4610 Network Switching and Routing ดร. ประวิทย์ ชุมชู หัวหน้าสาขาวิชาวิศวกรรมสารสนเทศและการสื่อสาร.
Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.
Chapter 9: Multicast Sockets
Multicast Communications
4.6 Multicast at the Network Layer Introduction: The Internet multicast abstraction and multicast groups The IGMP Protocol Multicast.
1 Protocol Independent Multicast (PIM) To develop a scalable protocol independent of any particular unicast protocol –ANY unicast protocol to provide routing.
2/25/20161 Multicast on the Internet CSE 6590 Fall 2009.
Multicasting EECS June Multicast One-to-many, many-to-many communications Applications: – Teleconferencing – Database – Distributed computing.
Communication Networks Recitation 11. Multicast & QoS Routing.
DMET 602: Networks and Media Lab Amr El Mougy Yasmeen EssamAlaa Tarek.
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 Group Communications: Host Group and IGMP Dr. Rocky K. C. Chang 19 March, 2002.
1 CMPT 471 Networking II Multicasting © Janice Regan,
DMET 602: Networks and Media Lab
Multicasting protocols
Computer Networking Multicast.
Multicast Outline Multicast Introduction and Motivation DVRMP.
CMPE 252A: Computer Networks
ECE544: Communication Networks-II Spring 2013
ECE544: Communication Networks-II Spring 2018
Multicast on the Internet
IP Multicasting Let one packet go to multiple addresses and you can save much bandwidth. That’s the promise of IP multicasting…
Introduction to IP Multicast
IP Multicast COSC /5/2019.
EE 122: Lecture 13 (IP Multicast Routing)
Implementing Multicast
Optional Read Slides: Network Multicast
Multicasting Unicast.
Presentation transcript:

1April 16, 2002 Layer 3 Multicast Addressing IP group addresses – “Class D” addresses = high order bits of “1110” Special reserved group addresses: – : All systems on this subnet All routers on this subnet DVMRP routers OSPF routers PIMv2 Routers

2April 16, 2002 Multicast Group Addressing Group addresses have inherent scope: -Link scope: — These are never forwarded by any router -Global scope: – Can be delivered throughout the Internet -Administrative scope: – Not forwarded beyond an organization’s network

3April 16, 2002 Multicast Packet Format Source is ALWAYS a unicast address Destination is a multicast group address Packet payload is typically UDP Need to map multicast group IP addresses to Layer 2 multicast MAC addresses Sender does NOT need to be a member of the group

4April 16, 2002 Layer 2 Multicast Addressing— (Ethernet) A Layer 3 IPmc Address Maps to a Layer 2 Multicast Address: Be Aware of the Overlap of Layer 3 Addresses to Layer 2 Addresses 32 Bits 23 Bits 24 Bits 48 Bits e-7f

5April 16, 2002 Layer 2 Multicast Addressing— (Ethernet) Be Aware of the Overlap of Layer 3 Addresses to Layer 2 Addresses e Maps to: , , , , etc. etc , , ,

6April 16, 2002 IGMP: Internet Group Management Protocol How hosts tell routers about group membership Routers solicit group membership from directly connected hosts RFC 1112 specifies first version of IGMP RFC 2236 specifies version 2 of IGMP RFC 3376 specifies version 3 of IGMP IGMP messages not forwarded by routers

7April 16, 2002 IGMPv1 RFC 1112— “Host extensions for IP Multicasting” – Membership Queries Querier sends IGMP query messages to with ttl = 1, determining what group addresses have members on that subnet One router on LAN is designated/elected to send queries, but all routers listen to the replies/reports Query interval 60–120 seconds – Membership Reports IGMP report sent by one host suppresses sending by others; sending based on random timer per group Restrict to one report per group per LAN Unsolicited reports sent by host, when it first joins the group

8April 16, 2002 H3 IGMPv1—Joining a Group Joining member sends report to immediately upon joining H Report IGMPv1 H1 H2

9April 16, 2002 IGMPv1—General Queries Periodically sends General Queries to to determine memberships General Query to IGMPv1 H1 H2H3 Multicast Router

10April 16, 2002 IGMPv1—Maintaining a Group IGMPv1 #1 Router sends periodic queries Query to #1 #2 One member per group per subnet reports Report #2 #3 Other members suppress reports Suppressed X # Suppressed X #3 H1 H2H3

11April 16, 2002 H3 Router sends periodic queries Query to Hosts silently leave group H3 Router continues sending periodic queries Query to IGMPv1—Leaving a Group IGMPv1 H1 H2 No Reports for group received by router Group times out

12April 16, 2002 IGMPv2 RFC 2236 –Leave Group message Host sends leave message if it leaves the group and is the last member (reduces leave latency in comparison to v1); sent to (all routers) – Group-specific query After Host sends Leave Group message, Router sends Group- specific queries to make sure there are no members present before stopping to forward data for the group for that subnet

13April 16, 2002 IGMPv2 — (cont.) – Querier election mechanism On multiaccess networks, an IGMP Querier router is elected based on lowest IP address. Only the Querier router sends Querys. – Query-Interval Response Time General Queries specify “Max. Response Time” which inform hosts of the maximum time within which a host must respond to General Query. (Improves burstiness of the responses.) – Backward compatible with IGMPv1

14April 16, 2002 IGMPv3 adds support for "source filtering“: ability for a system to report interest in receiving packets *only* from specific source addresses, or from *all but* specific source addresses, sent to a particular multicast address; avoid delivering multicast packets from specific sources to networks where there are no interested receivers.

15April 16, 2002 H2 IGMPv2—Joining a Group Joining member sends report to immediately upon joining (same as IGMPv1) H Report H1 H rtr-a

16April 16, 2002 IGMPv2—Querier Election IGMPv H1 H2H Intially all routers send out a Query Query Router w/lowest IP address “elected” querier IGMP Querier Other routers become “Non-Queriers” IGMP Non-Querier rtr-artr-b

17April 16, 2002 IGMPv2—Maintaining a Group Router sends periodic queries Query IGMPv One member per group per subnet reports Report Other members suppress reports Suppressed X Suppressed X H1 H2H3

18April 16, 2002 IGMPv2—Leaving a Group rtr-a>sh ip igmp group IGMP Connected Group Membership Group Address Interface Uptime Expires Last Reporter Ethernet0 6d17h 00:02: H1 H2H rtr-a IGMP State in “rtr-a” before Leave

19April 16, 2002 IGMPv2—Leaving a Group H2 leaves group; sends Leave message H1 H2 H H2 Leave to #1 Router sends Group specific query Group Specific Query to #2 A remaining member host sends report Report to #3 Group remains active rtr-a

20April 16, 2002 IGMPv2—Leaving a Group rtr-a>sh ip igmp group IGMP Connected Group Membership Group Address Interface Uptime Expires Last Reporter Ethernet0 6d17h 00:01: H1 H2H rtr-a IGMP State in “rtr-a” after H2 Leaves

21April 16, 2002 IGMPv2—Leaving a Group Last host leaves group; sends Leave message H1 H H3 Leave to #1 Router sends Group specific query Group Specific Query to #2 No report is received Group times out rtr-a H2

22April 16, 2002 IGMPv2—Leaving a Group rtr-a>sh ip igmp group IGMP Connected Group Membership Group Address Interface Uptime Expires Last Reporter H1 H2H rtr-a IGMP State in “rtr-a” after H3 Leaves

23April 16, 2002 L2 Multicast Frame Switching Typical L2 switches treat Multicast Traffic as Unknown or Broadcast and must “flood” the frame to every port. Static entries can sometimes be set to specify which ports should receive which group(s) of multicast traffic. Dynamic configuration of these entries would cut down on user administration. Multicast M PIM Problem: Layer 2 Flooding of Multicast Frames

24April 16, 2002 L2 Multicast Frame Switching Switches become “IGMP” aware. IGMP packets intercepted by the NMP or by special hardware ASICs. Switch must examine contents of IGMP messages to determine which ports want what traffic. IGMP Membership Reports IGMP Leave Messages Impact on Switch : Must process ALL layer 2 Mcast packets Admin. load increases w/Mcast traffic load Requires special h/w to maintain throughput PIM IGMP IGMP Snooping IGMP

1 2 MAC Address Port d0e 5 0 Host-1 Router-A 3 Host-2 4 Host-3 5 Host-4 ( d0e) CAM Table Switching Engine CPU LAN Switch Typical L2 Switch Architecture

1 2 MAC Address Ports IGMP Report Host-1 Router-A 3 Host-2 4 Host-3 5 Host-4 CAM Table Switching Engine CPU LAN Switch IGMP Snooping — 1st Join e ,1,2 Entry Added

LAN Switch CAM Table 1 2 MAC Address Ports e ,1,2 IGMP Report CPU Host-1 Router-A 3 Host-2 4 Host-3 5 Host-4 Switching Engine IGMP Snooping — 2nd Join,5 Port Added

LAN Switch CAM Table CPU Host-1 Router-A 3 Host-2 4 Host-3 5 Host-4 Switching Engine (w/L3 ASICs) IGMP Leave Group (0100.5e ) IGMP Leave Group (0100.5e ) MAC Address L3 Ports e00.00xxIGMP e IGMP e !IGMP1,2,5 IGMP Snooping — Leaves

LAN Switch CAM Table CPU Host-1 Router-A 3 Host-2 4 Host-3 5 Host-4 Switching Engine (w/L3 ASICs) IGMP General Query (0100.5e ) IGMP General Query (0100.5e ) MAC Address L3 Ports e00.00xxIGMP e IGMP e !IGMP1,2,5 IGMP Snooping — Leaves (cont.)

LAN Switch CAM Table CPU Host-1 Router-A 3 Host-2 4 Host-3 5 Host-4 Switching Engine (w/L3 ASICs) IGMP Leave Group (0100.5e ) IGMP Leave Group (0100.5e ) MAC Address L3 Ports e00.00xxIGMP e IGMP e !IGMP1,5 IGMP Snooping — Leaves

LAN Switch CAM Table CPU Host-1 Router-A 3 Host-2 4 Host-3 5 Host-4 Switching Engine (w/L3 ASICs) IGMP Leave Group (0100.5e ) IGMP Leave Group (0100.5e ) MAC Address L3 Ports e00.00xxIGMP e IGMP e !IGMP1,5 IGMP Snooping — Leaves

LAN Switch CAM Table CPU Host-1 Router-A 3 Host-2 4 Host-3 5 Host-4 Switching Engine (w/L3 ASICs) MAC Address L3 Ports e00.00xxIGMP0 IGMP General Query (0100.5e ) IGMP General Query (0100.5e ) IGMP Snooping — Leaves

LAN Switch CAM Table CPU Host-1 Router-A 3 Host-2 4 Host-3 5 Host-4 Switching Engine (w/L3 ASICs) IGMP Leave Group (0100.5e ) IGMP Leave Group (0100.5e ) MAC Address L3 Ports e00.00xxIGMP0 IGMP Snooping — Leaves

34April 16, 2002 Video Server Unnecessary Traffic!!! VLAN1VLAN2VLAN3 Design Issue - Server Location

35April 16, 2002 Video Server VLAN1VLAN2VLAN3 Design Issue - Server Location Keep high B/W sources close to router.

36April 16, 2002 Receiver Group 2 Receiver Group 1 T1 WAN Video Server 1.5MB MPEG Video StreamsUnnecessary Multicast Traffic !!! Unnecessary Holy Multicast, Batman!! 3MB of unwanted data! (Choke, gasp, wheeze!) Router-A Router-BRouter-C Router-D Design Issue - Core Switch Unnecessary Multicast Traffic !!! Unnecessary

37April 16, 2002 Receiver Group 2 Receiver Group 1 T1 WAN Video Server 1.5MB MPEG Video Streams Unnecessary Multicast Traffic !!! Unnecessary Router-A Router-BRouter-C Router-D Design Issue - Core Switch Move WAN Router to another VLAN segment.

38April 16, 2002 IGMP Summary IGMP Snooping – Requires special “Layer-3-aware” ASICs – Increases cost of switch Design Issues – Pay attention to Campus topology – IGMP Snooping can’t solve all L2 Flooding issues.

39April 16, 2002 Multicast Routing Multicast routing is backwards from Unicast routing Unicast Routing is concerned about where the packet is going Multicast routing is concerned about where the packet came from Multicast routing uses “Reverse-Path Forwarding” A router forwards a multicast datagram only if received on the up stream interface to the source

40April 16, 2002 Multicast Routing Dense-mode multicast routing Distance Vector Multicast Routing Protocol (DVMRP Multicast Open Shortest Path First (MOSPF) Protocol Independent Multicast – Dense Mode (PIM- DM) Sparse-mode multicast routing Core Based Trees (CBT) Protocol Independent Multicast – Sparse Mode (PIM- SM)

41April 16, 2002 DVMRP Summary First datagram for any (source,group) pair is delivered to all leaf routers Leaf routers with no group members on their subnetworks send prune messages back towards the source Ultimately results in source specific shortest path tree with all leaf routers with group members After a period of time the pruned brances graft back and the next datagram is forwarded to the leaves Routers can send graft messages to quickly graft pruned brances

42April 16, 2002 PIM Sparse Mode Summary A part of Class D multicast address space has been reserved for PIM-SM Each PIM-SM group has a primary RP and a small ordered set of alternative RPs A PIM router has the option to switch to source rooted shortest path tree based on local policy PIM-SM requires routers to maintain significant state information Deployment of PIM-SM requires tight co- ordination among ISPs

43April 16, 2002 Research Areas Scalable multicast routing Reliable multicast

44April 16, 2002 Interdomain Multicast Protocols Multicast routing across domains: MBGP Multicast Source Discovery: MSDP with PIM-SM