PIM-Networkshop 2003-14
PIM-Networkshop 2003-14
PIM-Networkshop 2003-14
RP
Point
Designated Receive
Source Router Router
Receiver
Terminology
Part 1: Starting Multicast Applications
Part 2: Network Delivery
Part 3: Stopping Multicast Applications
Overview Gorry@erg.abdn.ac.uk
Rendezvous University of Aberdeen (c) 2003
RP
Point
Designated Receive
Source Router Router
Receiver
• Three key things
IGMP tells a Receive Router which flows to receive
RP's tell PIM Routers about Sources
Join/Prune used to build trees
Terminology Gorry@erg.abdn.ac.uk
University of Aberdeen (c) 2003
0: HELLO
1: REGISTER (includes tunnelled packet)
2: REGISTER STOP
3: JOIN/PRUNE
4: Bootstrap Router (BSR) - SM Only
5: ASSERT
6: GRAFT - DM Only
7: GRAFT-ACK - DM Only
8: CANDIDATE RP-ADVERTISEMENT (with BSR)
Terminology
Part 1: Starting Multicast Applications
Part 2: Network Delivery
Part 3: Stopping Multicast Applications
Receivers / Clients Gorry@erg.abdn.ac.uk
University of Aberdeen (c) 2003
X
IGMP
Report Tree Information Base (TIB)
OS enables Ethernet Interface
OS send IGMP-Report for Group(s)
Router creates TIB entry
X X
X X Router enables LAN interface
Receiver
IPv6
IPv6 has similar address allocations
[RFC 3171]
Mapping to Ethernet MAC Gorry@erg.abdn.ac.uk
University of Aberdeen (c) 2003
5 bit overlap
0 1 - 00 - 5 E - 7F - FF - FF
23 bits
48 bits
MAC hardware destination address
One L2 (MAC) address
may carry multiple L3 (IPv4) addresses
[RFC1122]
Multicast IP Packet Decode Gorry@erg.abdn.ac.uk
University of Aberdeen (c) 2003
IGMP
Report
Router sends IGMP-Query to LAN
Receiver (or another computer) responds
IGMP Router updates TIB entry
Query
Receiver
IGMP
Report
IGMP
Query
Gorry@erg.abdn.ac.uk
University of Aberdeen (c) 2003
Terminology
Part 1: Starting Multicast Applications
Part 2: Network Delivery
Part 3: Stopping Multicast Applications
The Multicast Tree Gorry@erg.abdn.ac.uk
University of Aberdeen (c) 2003
Receiver 2
X
X
Receiver 1
X
Source
Joining / Pruning the Tree
Gorry@erg.abdn.ac.uk
University of Aberdeen (c) 2003
Receiver 2
X
X
Receiver 1
X
Source
Joining
Routers do not forward flows until a Join is received
Routers send Join if they wish to receive a flow
Pruning
Routers Prune flows when there are no Joins
* Multicast Delivery Gorry@erg.abdn.ac.uk
University of Aberdeen (c) 2003
RP Rendezvous Point
DR
Text
Source Source
Designated
Router
Each network has at least one Rendezvous Point (RP) Router
RP knows the address of Sources
RP can forward packets on behalf of sources
Reg
PIM Designated Router (DR)
139.133.204.31: 224.2.132.76
Source
139.133.204.31
RP 139.133.204.31: 224.2.132.76
RP RP = 146.97.36.9
DR
Source = 139.133.204.31
Reg Group = 224.2.132.76
Mar 7 16:20:15: 2d02h: PIM: Send v2 Data-header Register to 146.97.36.9
STOP
RP 139.133.204.31: 224.2.132.76
Receive Router
Receive Router sends (*,G) PIM-Join to RP
RP updates TIB
Receiver RP sends (S,G) PIM-Join to Source DR
Source DR forwards flow via RP
X
X DR
139.133.204.31
...
RP 139.133.204.31: 232.2.132.76
139.133.204.31
Source
Join Join RP
139.133.204.31: 224.2.132.76
X
X DR X
139.133.204.31
Source
Receiver
DR
Terminology
Part 1: Starting Multicast Applications
Part 2: Network Delivery
Part 3: Stopping Multicast Applications
Application Ends Gorry@erg.abdn.ac.uk
University of Aberdeen (c) 2003
Prune
Receive Router (IGMP Querier)
224.2.132.76 CHECK
X
Send IGMP-Query to check for Receivers
No response indicates no members
Router stops forwarding flow
IGMP
Query
PIM-Prune sent upstream
Receiver
Prune
Source DR
X
139.133.204.31:224.2.132.76 Source DR receives a PIM-Prune
Source DR stops forwarding
Source
?
Finding out more
• Networkshop 30 (Nottingham, 2002)
Gorry@erg.abdn.ac.uk
University of Aberdeen (c) 2003
• RFCs
• W. Fenner, 'Internet Group Management Protocol, Version 2', RFC2236, November 1997
• B. Cain, S. E. Deering, and A. Thyagarajan, 'Internet Group Management Protocol, Version 3', <draft-ietf-idmr-
igmp-v3-xx.txt> WORK IN PROGRESS (IETF MAGMA WG), 2003.
• D. Estrin, D. Farinacci, A. Helmy, D. Thaler, S., Deering, M. Handley, V. Jacobson, C. Liu, P. Sharma, L. Wei
Protocol Independent Multicast-Sparse Mode (PIM-SM): Protocol Specification", RFC2362, . June 1998
• W Fenner, Mark Handley "Protocol Independent Multicast - Sparse Mode (PIM-SM): Protocol Specification
(Revised)" draft-ietf-pim-sm-v2-new-06.txt , WORK IN PROGRESS (IETF PIM WG), 2003.
• Books
• B.M. Edwards, L.A. Giuliano, B.R. Wright, “Intedomain Multicast Routing: Practical Juniper and CISCO Systems
Solutions”, ISBN 0-201-74612-3, 2002.