PIM-SM Multicast Routing

Similar documents
Multicast Communications

PIM Configuration. Page 1 of 9

IPv6 PIM. Based on the forwarding mechanism, IPv6 PIM falls into two modes:

Table of Contents 1 PIM Configuration 1-1

Configuring Bidirectional PIM

Chapter 24 PIM Commands

IP Multicast. Falko Dressler Regionales Rechenzentrum Grundzüge der Datenkommunikation IP Multicast

Exercises to Communication Systems

ASM. Engineering Workshops

List of groups known at each router. Router gets those using IGMP. And where they are in use Where members are located. Enhancement to OSPF

Configuring IP Multicast Routing

DD2490 p IP Multicast routing. Multicast routing. Olof Hagsand KTH CSC

Configuring IP Multicast Routing

ETSF10 Internet Protocols Routing on the Internet

Configuring IP Multicast Routing

Configuring IP Multicast Routing

Table of Contents Chapter 1 IPv6 PIM Configuration

IPv6 Multicast: PIM Sparse Mode

IPv6 PIM-DM configuration example 36 IPv6 PIM-SM non-scoped zone configuration example 39 IPv6 PIM-SM admin-scoped zone configuration example 42 IPv6

IPv6 Multicast: PIM Sparse Mode

IP Multicast Technology Overview

FSOS Multicast Configuration Guide

Why multicast? The concept of multicast Multicast groups Multicast addressing Multicast routing protocols MBONE Multicast applications Conclusions

Table of Contents Chapter 1 Multicast Routing and Forwarding Configuration

ICS 351: Today's plan. routing protocol comparison encapsulation network dynamics multicasting in general IP multicasting IGMP PIM

ETSF10 Internet Protocols Routing on the Internet

Network Configuration Example

Advanced Network Training Multicast

PIM Allow RP. Finding Feature Information. Restrictions for PIM Allow RP

Configuring PIM. Information About PIM. Send document comments to CHAPTER

This module describes how to configure IPv6 Multicast PIM features.

IP Multicast Technology Overview

Multicast routing protocols

Lab 7-3 Routing IP Multicast with PIM Sparse Mode

Configuring Basic IP Multicast

FiberstoreOS IPv6 Multicast Configuration Guide

Implementing IPv6 Multicast

LISP Multicast. Finding Feature Information. Prerequisites for LISP Multicast

Table of Contents 1 MSDP Configuration 1-1

Multicast Communications. Slide Set were original prepared by Dr. Tatsuya Susa

Module 7 Implementing Multicast

What is Multicasting? Multicasting Fundamentals. Unicast Transmission. Agenda. L70 - Multicasting Fundamentals. L70 - Multicasting Fundamentals

Basic Multicast Troubleshooting Tools

Table of Contents 1 MSDP Configuration 1-1

Verifying IPv4 Multicast Forwarding Using the MFIB

4.2 Multicast IP supports multicast to support one-to-many (radio, news, IP multicast was originally a many-to-many (any source MC or

Configuring MSDP. MSDP overview. How MSDP works. MSDP peers

BASIC MULTICAST TROUBLESHOOTING. Piotr Wojciechowski (CCIE #25543)

IP Multicast: PIM Configuration Guide, Cisco IOS Release 15SY

Multicast H3C Low-End Ethernet Switches Configuration Examples. Table of Contents

Implementing IPv6 Multicast

Configuring a Rendezvous Point

Implementing Multicast Service Reflection

IP Multicast: PIM Configuration Guide, Cisco IOS Release 12.4T

IP Multicast: PIM Configuration Guide, Cisco IOS Release 15M&T

Multicast Configuration

Topic: Multicast routing

IPv6 Multicast: Bootstrap Router

What is IPv4 multicast? Deference between Unicast & Multicast Simulate Multicast Streaming using one Machine

IP Multicasting: Explaining Multicast Cisco Systems, Inc. All rights reserved. Cisco Academy

IP Multicast: PIM Configuration Guide, Cisco IOS Release 15S

IP Multicast: PIM Configuration Guide, Cisco IOS XE Release 3S

IP Multicast Routing Protocols

Broadcast Routing. Multicast. Flooding. In-network duplication. deliver packets from source to all other nodes source duplication is inefficient:

Multicast overview. Introduction to multicast. Information transmission techniques. Unicast

Brocade Vyatta Network OS PIM Configuration Guide, 5.2R1

Introduction to Multicast Routing View PDF

Copyright 2009 Internetwork Expert i

Brocade 5600 vrouter PIM Configuration Guide

How well do you know PIM Assert Mechanism?

CSE 123A Computer Networks

Multicast VPN C H A P T E R. Introduction to IP Multicast

IP Multicast Load Splitting across Equal-Cost Paths

Network Working Group. Category: Standards Track H. Holbrook Arastra I. Kouvelas Cisco August 2006

Viewing IP and MPLS Multicast Configurations

Implementing IPv6 Multicast

Veryx ATTEST TM. Sample Test cases Overview. Conformance Test Suite. Protocol Independent Multicast Sparse Mode (PIM-SM)

IP Multicast: PIM Configuration Guide

Configuring Basic IP Multicast

Multicast overview. Introduction to multicast. Information transmission techniques. Unicast

Developing IP Muiticast Networks

Anniversary Retrospective: Where Multicast Has Been & Where It s Headed.

Multicast Protocol Configuration Examples H3C S7500 Series Ethernet Switches Release Table of Contents

IP Multicast Optimization: Optimizing PIM Sparse Mode in a Large IP Multicast Deployment

IP MULTICAST EXPLAINED

IP Multicast: PIM Configuration Guide

Table of Contents 1 Multicast VPN Configuration 1-1

Configuring MSDP. Overview. How MSDP operates. MSDP peers

Implementing Layer-3 Multicast Routing on Cisco IOS XR Software

Cisco IOS XR Multicast Configuration Guide for the Cisco CRS Router, Release 5.1.x

Ahmed Helmy Assistant Professor of Computer Engineering University of Southern California.

Implementing Layer-3 Multicast Routing on Cisco IOS XR Software

Integrated Services - Overview

Multicast service model Host interface Host-router interactions (IGMP) Multicast Routing Distance Vector Link State. Shared tree.

Alternative Solutions toward IPv4/IPv6 Multicast

Implementing IPv6 Multicast

IP Multicast Survival Guide Part 2

Network Working Group Request for Comments: Category: Experimental. A. Helmy USC

Internet2 Multicast Workshop

How did IP Multicast get so complicated?

Transcription:

PIM-SM Multicast Routing Achmad Husni Thamrin SOI-ASIA OW 2004 Outline IP Multicast review Multicast forwarding review DVMRP and PIM-DM PIM-SM XORP 1

IP Multicast Review Many-to-many communication model Multicast group address Only as destination address IPv4 224.0.0.0/4 IPv6 ff00::/8 Group management mechanism IGMP (IPv4) MLD (IPv6) Multicast Forwarding Review Multicast router forward packet to outgoing interfaces Where does the packet come from? Do not forward to the incoming interface. Reverse Path Forwarding Does the packet come from the correct interface? 2

Reverse Path Forwarding RPF A router forwards a packet only if received from the upstream interface to the source RPF Check Check the source address of multicast packets against a unicast routing table If arrived on the interface to reach the source address, RPF check passes Otherwise, RPF check fails RPF Check Illustration RPF Check (S,G) E0 RPF Check (S,G) E2 OI Routing Table next hop to S is via E0 E1 E3 OI 3

Multicast Distribution Tree Shared Tree Rooted at a Rendezvous Point Likely to be non-optimal Shortest-Path Tree Each multicast source is root Optimal tree (shortest hop, (and delay)) Shared Tree 4

Shortest-Path Tree Multicast Forwarding State Routers keep multicast forwarding state for each group Join Pruned State structure (S, G) Outgoing interfaces 5

Multicast Routing Protocols DVMRP (based on Bellman-Ford algorithm) PIM-DM (dense mode) PIM-SM (sparse mode) CBT MOSPF BGMP MSDP Dense Mode Flood-prune mechanism Suites networks with many receivers compared to #routers 6

DM: Flooding DM: Prune Unwanted Traffic 7

DM: Final Tree PIM-SM Overview Sparse mode multicast routing protocol uses explicit Join and Prune small #receivers compared to #routers Uses the available routing protocol to populate routing table Protocol independent de-facto multicast routing protocol 8

Building Distribution Tree in PIM-SM RP-tree Shared tree rooted at RP Receiver sends Join messages toward RP DR sends Register-encapsulated multicast packets toward RP Register stop RP builds SPT to receive native multicast packets from S RP stops receiving Register messages Shortest path tree Leaf-router initiates switch to SPT; send Join messages toward S Prune RP-tree after the first message from SPT arrived PIM-SM: Initial Condition 9

PIM-SM: Sender Registering PIM-SM: RP Initiates Register-Stop 10

PIM-SM: Register-Stop Completed PIM-SM: Receiver Joins RPT 11

PIM-SM: Leaf Router Initiates SPT Switch-over PIM-SM: Leaf Router Prunes RP-Tree 12

PIM-SM: SP-Tree Completed Rendezvous Point Every multicast router within a PIM domain must be able to map a multicast group to the same RP Methods: Static Dynamic, via bootstrap router mechanism 13

PIM Bootstrap and RP Discovery Bootstrap Router mechanism: a dynamic way to discover RPs A router advertises itself as BSR-candidate BSR elected based on priority Candidate-RP advertises itself to BSR BSR computes RP-set and floods RP-set to PIM domain RP-set: the collection of all group-to-rp mappings known to a router Designated Router A DR is elected among PIM routers on a link DR priority DR IP address DR represents the link DR register-encapsulates multicast traffic from sources on its link 14

PIM Assert On multi-access link, multicast packets may be forwarded-in by more than one router PIM elects a single forwarder Assert winner precedence: Router with (S,G) over (*,G) Better metric toward S between routers with (S,G) Assert-winner keeps Join state Assert-losers issue Prune messages to its upstream PIM-SM on FreeBSD FreeBSD 4.x before 4.9-RELEASE Kernel patch + recompile FreeBSD 4.9-RELEASE ~ recompile options MROUTING options PIM 15

Multicast Routing Table to be correct: Multicast Forwarding Cache % netstat -ng See the difference between IPv4 and IPv6! Interface Table and MFC Virtual Interface Table Vif Thresh Rate Local-Address Remote-Address Pkts-In Pkts-Out 0 1 0 10.20.1.1 18871 5255 1 1 0 10.1.1.100 5255 12740 2 1 0 10.20.1.1 0 2532 IPv4 Multicast Forwarding Cache Origin Group Packets In-Vif Out-Vifs:Ttls 10.20.1.20 239.18.100.100 208 0 2:1 IPv6 Multicast Interface Table Mif Rate PhyIF Pkts-In Pkts-Out 0 0 fxp0 23834 10097 1 0 fxp1 10097 12066 2 0 reg0 0 9833 IPv6 Multicast Forwarding Cache Origin Group Packets Waits In-Mif Out-Mifs 2001:d30:13:e001:7172:2b1c:36 ff85::100 209 0 0 2 16

Running PIM-SM Routing on FreeBSD pimd PIM-SM for IPv4 Early implementation, not maintained anymore pim6sd PIM-SM for IPv6 implementation by KAME based on pimd code XORP new project: unicast & multicast, IPv4 & IPv6 Release 1.0 just out conform with the latest draft specs need get updated via CVS XORP extensible Open Router Platform (read: ZORP) http://www.xorp.org/ Open source 17

XORP Process Model Management Processes IPC finder router manager CLI SNMP BGP4+ PIM SM OSPF RIB RIP IS IS Unicast Routing FEA IGMP/MLD Multicast Routing Forwarding Engine RIB = routing information base FEA = forwarding engine abstraction Click Elements Installing XORP Requirements: GNU make Net-SNMP Unix group name: xorp The usual procedure: tar zxpvf xorp-1.0.tar.gz cd xorp-1.0./configure gmake gmake install 18

LAB WORK Exercise 1 XORP Installation Structure Default base dir: /usr/local/xorp Configuration file: /usr/local/xorp/config.boot Router manager: /usr/local/xorp/bin/xorp_rtrmgr XORP shell: /usr/local/xorp/bin/xorpsh 19

Recompile Kernel Add the below options (page 33 on Handout) options MROUTING options PIM 20