Debugging Multicast John Barlow. Status Multicast enabled on all GrangeNet routers. Multicast enabled in all AARNet RNOs except for NT RNO. Multicast.

Slides:



Advertisements
Similar presentations
Building a Robust, Ubiquitous Multicast Infrastructure Linda Winkler Argonne National Laboratory
Advertisements

UKERNA IP Multicast Hands-on Workshop Lab 3: IP Multicast, Inter-domain Networkshop 2006.
1April 16, 2002 Layer 3 Multicast Addressing IP group addresses – “Class D” addresses = high order bits of “1110” Special reserved.
1  Changes in IPv6 – Expanded addressing capabilities (32 to 128 bits), anycast address – A streamlined 40-byte header – Flow labeling and priority –
Multicast on the Internet CSE April 2015.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
Multicasting CSE April Internet Multicast Service Model Multicast group concept: use of indirection a host “sends” IP datagrams to multicast.
Instructor & Todd Lammle
Computer Science 6390 – Advanced Computer Networks Dr. Jorge A. Cobb How to provide Inter-domain multicast routing? PIM-SM MSDP MBGP.
1 Internet Networking Spring 2004 Tutorial 7 Multicast Routing Protocols.
1 Internet Networking Spring 2006 Tutorial 7 DVMRP.
Ch. 1 – Scaling IP Addresses NAT/PAT and DHCP CMPSC-358 (CCNA 4 ) Spring 2007.
COS 420 Day 18. Agenda Group Project Discussion Program Requirements Rejected Resubmit by Friday Noon Protocol Definition Due April 12 Assignment 3 Due.
TDC375 Winter 2002John Kristoff - DePaul University1 Network Protocols IP Multicast.
Chapter 4 IP Multicast Professor Rick Han University of Colorado at Boulder
Slide Set 15: IP Multicast. In this set What is multicasting ? Issues related to IP Multicast Section 4.4.
CS335 Networking & Network Administration Tuesday, May 18, 2010.
Internet Networking Spring 2002
TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Network Protocols Multicast.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 4 1 IP Multicasting: Multicast Configuration and Verification.
MULTICASTING Network Security.
ROUTING PROTOCOLS Rizwan Rehman. Static routing  each router manually configured with a list of destinations and the next hop to reach those destinations.
IP Multicast Angelos Vassiliou HMY 654. Overview Definitions Multicast routing Concepts IP Multicast Protocols.
© J. Liebeherr, All rights reserved 1 IP Multicasting.
Communication protocols and network security
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
Chapter 4: Managing LAN Traffic
Multicasting  A message can be unicast, multicast, or broadcast.
Presented by: Bill Nickless Best Current Practices for IPv4 Multicast Deployment Bill Nickless
Inter-domain ASM Multicast Networking Michael P. O’Connor August 13, 2007 Energy Sciences Network Lawrence Berkeley National Laboratory Networking.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Multicast routing.
Multicast Routing Protocols NETE0514 Presented by Dr.Apichan Kanjanavapastit.
© 2006 Cisco Systems, Inc. All rights reserved.1 Microsoft Network Load Balancing Support Vivek V
Multicast Sources: Kurose and Ross cast/addresstranslation_01.html.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
CSC 600 Internetworking with TCP/IP Unit 8: IP Multicasting (Ch. 17) Dr. Cheer-Sun Yang Spring 2001.
Multicast Outline Multicast revisited Protocol Independent Multicast - SM Future Directions.
Advances in Multicast - The Promise of Single Source Multicast (SSM) (with a little on multicast DOS) Marshall Eubanks Multicast Technologies
Chapter 22 Network Layer: Delivery, Forwarding, and Routing Part 5 Multicasting protocol.
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.
Interdomain IPv6 multicast Stig Venaas UNINETT. PIM-SM and Rendezvous Points Interdomain multicast routing is usually done with a protocol called PIM-SM.
© J. Liebeherr, All rights reserved 1 IP Multicasting.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 06_a Routing Protocols: RIP, OSPF, BGP Instructor: Dr. Li-Chuan Chen Date: 10/06/2003 Based in part upon.
1 © 2000, Cisco Systems, Inc _05_2000_c2 Server Router Unicast Server Router Multicast Unicast vs. Multicast.
Fundamentals of IP Multicast
Internet Protocols. ICMP ICMP – Internet Control Message Protocol Each ICMP message is encapsulated in an IP packet – Treated like any other datagram,
1 IP Multicasting Relates to Lab 10. It covers IP multicasting, including multicast addressing, IGMP, and multicast routing.
Chapter 4 Version 1 Virtual LANs. Introduction By default, switches forward broadcasts, this means that all segments connected to a switch are in one.
Spring 2006CS 3321 Multicast Outline Link-state Multicast Distance-vector Multicast Protocol Independent Multicast.
1 Protocol Independent Multicast (PIM) To develop a scalable protocol independent of any particular unicast protocol –ANY unicast protocol to provide routing.
Engineering Workshops 136 Inter-domain Multicast.
Campus Planning for Multicast Frank Aversa, NJIT Jim Stankiewicz, Verizon Business.
Internet Multicasting Routing: DVMRP r DVMRP: distance vector multicast routing protocol, RFC1075 r flood and prune: reverse path forwarding, source-based.
Multicasting EECS June Multicast One-to-many, many-to-many communications Applications: – Teleconferencing – Database – Distributed computing.
Multicast Matthew Wolf College of Computing Georgia Institute of Technology
Kapitel 19: Routing. Kapitel 21: Routing Protocols
Multicasting protocols
Routing BY, P.B.SHANMATHI.
(How the routers’ tables are filled in)
Greg Wickham & John Barlow
ICMP ICMP – Internet Control Message Protocol
Instructor & Todd Lammle
What’s “Inside” a Router?
Multicast Outline Multicast revisited
Networking for the Future of Science
MULTICAST. 2 Agenda Introduction Multicast addressing Group Membership Protocol PIM-SM / SSM MSDP MBGP.
Implementing Multicast
Multicasting Unicast.
Presentation transcript:

Debugging Multicast John Barlow

Status Multicast enabled on all GrangeNet routers. Multicast enabled in all AARNet RNOs except for NT RNO. Multicast running natively across SCCN and throughout GrangeNet and AARNet Curtin, VU, JCU, UoW, CSIRO, UQ, CQU connected (whole-of-campus ?)

Overview Terminology Intro. to multicast & protocols Good design Caveats The document you should read/use –Brief walkthrough

Terminology SA RP RPF mroute MSDP MBGP IGMP PIM-sparse PIM-sparse-dense PIM-dense

SA (Source Active) Information about a singular source of multicast packets –Source address (eg: ) –Multicast group (eg: ) –Rendezvous Point (remote or local …) –AS#, age, peer address Your router should have a cache of all sources for all multicast groups

SA edge1.act#sh ip msdp sa-cache MSDP Source-Active Cache entries ( , ), RP , MBGP/AS 20965, 06:13:11/00:05:23, Peer ( , ), RP , MBGP/AS 20965, 06:12:47/00:05:23, Peer …

RP (Rendezvous Point) A repository for multicast source information. –Local source information –Remote source information Acts as central “bootstrap” point for subscribing to a multicast source.

RP edge1.act#sh ip pim rp mapping PIM Group-to-RP Mappings Group(s): /4, Static RP: (loopback0.edge1.act.grangenet.net) edge1.act#

Reverse Path Forwarding (RPF) Used to discard/ignore multicast packets that might be looping (ie: multicast packet claiming to come from a source must flow in the interface that the unicast routing table says you should take to get _to_ the source). Also used to discard MSDP SA packets

RPF edge1.act#sh ip rpf RPF information for clix.aarnet.edu.au ( ) RPF interface: Vlan23 RPF neighbor: vlan23.gig0- 0.aarnet1.yarralumla.aarnet.edu.au ( ) RPF route/mask: /24 RPF type: mbgp RPF recursion count: 0 Doing longest-match lookups across tables Multicast Multipath enabled

Multicast ROUTE (mroute) When some multicast is flowing, there will be an “mroute” entry that tells the router which interface the SA is coming in on, and which interface(s) it is going out of.

mroute edge1.act#sh ip mroute active Active IP Multicast Sources - sending >= 4 kbps Group: , (?) Source: (arrowroot.aarnet.edu.au) Rate: 9 pps/7 kbps(1sec), 6 kbps(last 30 secs), 1 kbps(life avg) Source: (lattice.broadway.aarnet.net.au) Rate: 9 pps/6 kbps(1sec), 6 kbps(last 30 secs), 1 kbps(life avg)

Multicast Source Discovery Protocol (MSDP) Is a unicast (TCP) protocol to pass SA information from one RP to another RP You should configure “MSDP sa-cache” to save SA entries (saves time compared to the alternative of querying peers)

MSDP edge1.act#sh ip msdp summary MSDP Peer Status Summary Peer Address AS State Uptime/ Reset SA Peer Name Downtime Count Count Up 3d01h 2 15 loopback0.edge1.qld.grangenet.net Up 1w0d 4 0 loopback0.edge1.vic.grangenet.net Up 2w6d g102.anu.edu.au Down 4w6d 0 0 port2.extreme.apac.edu.au

Multiprotocol Border Gateway Protocol (MBGP) Used to feed reverse path routing information (can be used to enforce policy to route multicast separately from unicast routes) Also used for IPv6 unicast, IPv6 multicast (MBGP is an expansion on standard BGP to handle lots of things)

MBGP edge1.act#sh ip mbgp summary BGP … Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd d01h w2d w2d 4348

Internet Group Membership Protocol (IGMP) Protocol that a host uses to chat with a router to subscribe (and possibly unsubscribe) from a multicast source Several versions exist (usually want the latest, version 3, if you have any option) Switches can “snoop” IGMP so they can olptimise which ports do _not_ get some multicast source

PIM sparse / dense PIM-sparse, PIM-dense, PIM-sparse- dense Sparse mode uses the RP and is network efficient Dense mode does not use the RP, flood-and-prune mechanism to inform every router, required for some protocols (eg: Novell).

Intro. to Multicast Protocol Independent Multicast (PIM) Peering between PIM clouds –MBGP –MSDP

Protocol Independent Multicast Operates with some arbitrary administrative domain (eg: your campus). Provides RPF (Reverse Path Forwarding) verification by using the unicast routing table (which can be populated by any protocol: OSPF, ISIS, static, etc) – hence the name.

Intro. to PIM Sources tell the nearest router about themselves, and the nearest router passes that information to the RP. Consumers ask the nearest router to “join” them to multicast source(s), and the router passes this request to the RP.

Intro. to PIM Need to specify an RP (Rendezvous Point) which doesn’t have to be inside your PIM cloud, but it is nice to have it inside (self-contained, more robust). Client subscribes to multicast via RP, but this quickly changes to a “native” subscription.

Intro. to PIM After the RP has set up the multicast join, the router nearest the consumer has enough information to “join” independently of the RP, so it does this, and the RP stops forwarding the multicast. The RP passes the multicast stream in an encapsulated unicast packet …

Intro. to PIM Peering Became politically impractical to run one PIM cloud for the entire Internet MSDP –My RP and your RP swap SA information MBGP –I can enforce policy on multicast routing –Remote site might need your MBGP info.

Good Design No tunnels – native multicast everywhere (easier debugging) Advertise your prefix(es) via MBGP (or have the RNO do so on your behalf) Keep unicast and multicast on the same link (debugging and problems are simpler) – avoid special policy for multicast where possible

Good Design Single RP to start with (easier debugging) –Use a dedicated loopback interface with a /32 address –Later upgrade to “anycast RP” for robustness

Good Design Monitor packets blocked by firewalls and access lists PIM-sparse mode unless you need dense (ie: Novell), then PIM-sparse- dense

Caveats IGMP snooping –If you have enough switch CPU, use it Ghost –Uses multicast … block it at your border … –You may not have multicast officially enabled, but might need IGMP snooping to help when running ghost Access lists & firewalls

Caveats Reverse path forwarding (reverse path verification) – and a lack of error messages Wireless 10Mbps half duplex … hubs

The Doco. you should use The following is an Internet2 debugging guide: ouble/multicast/troubleshoot- multicast.pdfhttp:// ouble/multicast/troubleshoot- multicast.pdf

Brief Walkthrough Router-by-router process between source and destination. Need to have a source trying to transmit and a consumer trying to receive (even if this isn’t working !) –A good way to achieve this is with the multicast beacon service If you are an access-grid site, subscribe to the access- grid beacon Otherwise (maybe as well) subscribe to the AARNet beacon server

References General multicast notes: IPTV software download: Troubleshooting guides: in particular, check the NANOG 2003 tutorial link !