Escolar Documentos
Profissional Documentos
Cultura Documentos
Multicast
Agenda
• MBGP (routing)
• MSDP (source discovery)
• MBGP/MSDP Examples
• SSM (Source Specific Multicast)
• MVPN (Multicast VPN)
• IPv6
ISP A
ISP B
MSDP
RP
Multicast Source
Multicast Source DR Y
X RP
ISP B
ISP A
IGMP Snooping, CGMP, MBGP
RGMP
DR
IGMP PIM-SM DR
Bidir PIM
PIM-SSM
MVPN
Campus Multicast Interdomain Multicast
• End Stations (hosts-to-routers): • Multicast routing across domains
IGMP MBGP
• Switches (Layer 2 Optimization): • Multicast Source Discovery
CGMP, IGMP Snooping or RGMP MSDP with PIM-SM
• Routers (Multicast Forwarding Protocol): • Source Specific Multicast
PIM Sparse Mode or Bidirectional PIM PIM-SSM
Decreasing
Preference
(First Match)
Static
Mroute Route/Mask, Dist. RPF
Table (Default Dist. = 1) Calculation
(Use best
(Best Path) Distance IIF, RPF Neighbor
MBGP Route/Mask, Dist. unless
Table (iBGP Def. Dist.=200) “Longest
(eBGP Def. Dist.=20) Match” is
enabled.
If enabled,
(Longest Match)
Unicast use longest
Routing Route/Mask, Dist. Mask.)
Table
AS 321
AS 123
.1 192.168.100.0/24 .2
Receiver
Sender
AS 321
AS 123
.1 192.168.100.0/24 .2
Receiver
Sender
Receiver
Sender
.1 Multicast Traffic .2
192.168.200.0/24
192.192.25.0/24
• MBGP (routing)
• MSDP (source discovery)
• MBGP/MSDP Examples
• SSM (Source Specific Multicast)
• MVPN (Multicast VPN)
• IPv6
RP
SA RP
SA Domain D
SA Message
192.1.1.1, 224.2.2.2
RP
SA Message
192.1.1.1, 224.2.2.2 s
Domain A
Register
192.1.1.1, 224.2.2.2
© 2003, Cisco Systems, Inc. All rights reserved. 18
MSDP Overview
MSDP Example Domain E
MSDP Peers
RP
r
Domain C
RP
Domain B
RP
RP
Domain D
RP
s
Domain A
Multicast Traffic RP
r
Domain C
RP
Domain B
RP
RP
Domain D
RP
s
Domain A
Multicast Traffic RP
r
Domain C
RP
Domain B
RP
RP
Domain D
RP
s
Domain A
Multicast Traffic RP
r
Domain C
RP
Domain B
RP
RP
Domain D
RP
s
Domain A
• Exceptions:
RPF check is skipped when:
Sending MSDP peer = Originating RP
Sending MSDP peer = Mesh-Group peer
Sending MSDP peer = only MSDP peer
(i.e. the ‘default-peer’ or the only ‘msdp-peer’ configured.)
RP AS5 AS7 RP
G F
172.16.6.1 172.16.5.1
Source
172.16.4.1 172.16.3.1
MSDP Peer address = 172.16.3.1
D E
RP AS5 AS7 RP
G F
172.16.6.1 172.16.5.1
Source
RR 172.16.1.1
RP AS5 AS7 RP
G F
172.16.6.1 172.16.5.1
Source
First-AS in best-path to RP = 3
AS of MSDP Peer = 3
AS1 AS3
172.16.4.1 172.16.3.1
D E
RP RP First-AS in best-path to RP = AS of e(m)BGP Peer
RP AS5 AS7 RP
G F
172.16.6.1 172.16.5.1
Source
First-AS in best-path to RP = 3
AS of MSDP Peer = 1
AS1 AS3
172.16.4.1 172.16.3.1
D E
RP RP First-AS in best-path to RP != AS of e(m)BGP Peer
B 3.3.3.3
eMSDP
AS3
E AS100
A
Source
1.1.1.1
2.2.2.2
iMSDP
RP AS5 AS7 RP
G F
172.16.6.1 172.16.5.1
Source
First-AS in best-path to RP = 3
AS of MSDP Peer = 3
AS1 AS3
172.16.4.1 172.16.3.1
D E
RP RP First-AS in best-path to RP = AS of MSDP Peer
RP AS5 AS7 RP
G F
172.16.6.1 172.16.5.1
Source
First-AS in best-path to RP = 3
AS of MSDP Peer = 1
AS1 AS3
172.16.4.1 172.16.3.1
D E
RP RP First-AS in best-path to RP != AS of MSDP Peer
AS1 AS3
172.16.4.1 172.16.3.1
A B
RP RP
iBGP
RP E F RP
First-AS in best-path to RP = 3
ip msdp peer R2
ip msdp peer R3 SA not forwarded to other
ip msdp mesh-group My-Group R2 members of the mesh-group
ip msdp mesh-group My-Group R3 R1
RP RP
SA
R4 R2 R5
R3
ip msdp peer R1
ip msdp peer R3 ip msdp peer R1
ip msdp peer R4 ip msdp peer R2
ip msdp mesh-group My-Group R1 ip msdp peer R5
ip msdp mesh-group My-Group R3 ip msdp mesh-group My-Group R1
ip msdp mesh-group My-Group R2
• Latest draft:
draft-ietf-msdp-spec-20.txt
• Filtering
Can filter SA in/out, groups, with acls or route-maps
Source
RP 2.1.1.1
D
C
MSDP Peer = 3.1.1.1
Router ID 4.1.1.1
IGP next hop to originating RP = 3.1.1.1
B
3.1.1.1
Source
RP 2.1.1.1
D
MSDP Peer = 4.1.1.1
IGP next hop to originating RP = 3.1.1.1
C
RP AS5 AS7 RP
G F
172.16.6.1 172.16.5.1
Source
RR 172.16.1.1
RP
New code: Choose peer in CLOSEST AS along best AS path to the RP.
Loosens rule a bit.
RPF Succeeds.
BGP Peer
MSDP Peer
SA Message
• MBGP (routing)
• MSDP (source discovery)
• MBGP/MSDP Examples
• SSM (Source Specific Multicast)
• MVPN (Multicast VPN)
• IPv6
Src Src
RP1 RP2
MSDP
X
A B
SA SA
10.1.1.1 10.1.1.1
Src Src
RP1 RP2
X
A B
10.1.1.1 10.1.1.1
RP1 RP2
MSDP
A B
ip pim rp-address 10.0.0.1 ip pim rp-address 10.0.0.1
X Y
eMSDP
eMBGP
iMBGP
RP RP iMBGP
ISP C PIM-SM AS
10888
3.3.3.7
RP
int pos0/0
ip pim sparse-dense-mode
3.3.3.7
ip pim bsr-border
ip multicast-boundary 1 RP
ip pim rp-address 3.3.3.7 override
Receiver
int pos0/0
ip pim sparse-dense-mode
ip pim bsr-border
ip multicast-boundary 1
3.3.3.7
RP
tail-gw#show ip pim rp mapping 3.3.3.7
PIM Group-to-RP Mappings
RP
Group(s): 224.0.0.0/4, Static-Override
RP: 3.3.3.7
Receiver
3.3.3.7
RP
3.3.3.7
RP
192.168.100.0/24 Transit-tail#show ip pim rp mapping
PIM Group-to-RP Mappings
Receiver
Group(s): 224.0.0.0/4, Static-Override
RP: 3.3.3.7
3.3.3.7
RP
- no RP / no MSDP 3.3.3.7
RP
192.168.100.0/24
- no downstream RP
Receiver - no downstream MSDP peering
3.3.3.7
RP
ip route 0.0.0.0 0.0.0.0 1.1.1.2 3.3.3.7
RP
192.168.100.0/24
ip route 192.168.100.0 255.255.255.0 1.1.1.1
Receiver
router bgp 109
...
network 192.168.100.0 nlri unicast multicast
int pos0/0
ip pim sparse-mode
ip pim bsr-border
ip multicast boundary 1
192.168.100.0/24
ip msdp sa-filter out 1.1.1.2 111
Receiver ip msdp sa-filter in 1.1.1.2 111
int pos0/0
192.168.100.0/24 ip pim sparse-mode
ip pim bsr-border
Receiver ip multicast boundary 1
192.168.100.0/24
192.168.100.0/24
ip route 192.168.100.0 255.255.255.0 1.1.1.1
Receiver
router bgp 109
...
network 192.168.100.0 nlri unicast multicast
4.4.4.4
MSDP
RP 2.2.2.2
int pos0/0 3.3.3.3
ip pim sparse-mode mesh
ip pim bsr-border
ip multicast boundary 1 RP
RP
2.2.2.2 2.2.2.2
ip msdp sa-filter out 3.3.3.3 111
Receiver ip msdp sa-filter in 3.3.3.3 111
4.4.4.4
MSDP
RP 2.2.2.2
3.3.3.3
mesh
192.168.100.0/24 RP RP
int pos0/0 2.2.2.2 2.2.2.2
4.4.4.4
MSDP
RP 2.2.2.2
3.3.3.3
mesh
ip msdp peer 3.3.3.3 connect-source pos0/0
192.168.100.0/24 RP RP
2.2.2.2 2.2.2.2
Receiver
ip msdp peer 4.4.4.4 connect-source pos0/0
MSDP
RP 2.2.2.2
router bgp 100
network 192.168.100.0 nlri unicast multicast 3.3.3.3
neighbor 1.1.1.2 remote-as 109 nlri unicast multicast mesh
neighbor 1.1.1.2 update-source pos0/0
192.168.100.0/24 RP RP
2.2.2.2 2.2.2.2
Receiver
Transit AS110
int pos0/0 pos0/0 1.1.2.2
ip pim sparse-mode
192.168.100.0/24
ip pim bsr-border
ip multicast boundary 1
Receiver Unicast
int pos1/0
Transit
ip msdp sa-filter out 1.1.1.2 111
ip msdp sa-filter in 1.1.1.2 111
Transit AS110
pos0/0 1.1.2.2
int
192.168.100.0/24 pos0/0
ip pim sparse-mode
ip pim bsr-border
Receiver Unicast
ip multicast boundary 1
Transit
ip msdp sa-filter out 1.1.1.1 111
ip msdp sa-filter in 1.1.1.1 111
Transit AS110
pos0/0 1.1.2.2
192.168.100.0/24
Receiver Unicast
Transit
Receiver Unicast
ip msdp peer 1.1.1.1 connect-source pos0/0
Transit
Transit AS110
pos0/0 1.1.2.2
192.168.100.0/24
Transit AS110
pos0/0 1.1.2.2
192.168.100.0/24
Receiver Unicast
router bgp 109
neighbor 1.1.1.1 remote-as 100 nlri multicast Transit
neighbor 1.1.1.1 update-source pos 0/0
Transit AS110
pos0/0 1.1.2.2
192.168.100.0/24
Receiver Unicast
Transit
router bgp 110
neighbor 1.1.1.1 remote-as 100
neighbor 1.1.1.1 update-source pos0/0
int pos0/0
ip pim sparse-mode Transit AS110
ip pim bsr-border pos0/0 1.1.2.2
ip multicast boundary 1
192.168.100.0/24
int pos1/0
ip pim sparse-mode
Receiver ip pim bsr-border RP Unicast & Multicast
ip multicast boundary 1 Transit
ip msdp sa-filter out 1.1.1.2 111
ip msdp sa-filter in 1.1.1.2 111
ip msdp sa-filter out 1.1.2.2 111
ip msdp sa-filter in 1.1.2.2 111
Transit AS110
pos0/0 1.1.2.2
192.168.100.0/24
int pos0/0
Receiver ip pim sparse-mode
ip pim bsr-border RP Unicast & Multicast
ip multicast boundary 1 Transit
ip msdp sa-filter out 1.1.1.1 111
ip msdp sa-filter in 1.1.1.1 111
Transit AS110
pos0/0 1.1.2.2
192.168.100.0/24
Transit AS110
pos0/0 1.1.2.2
192.168.100.0/24
Transit AS110
pos0/0 1.1.2.2
192.168.100.0/24
Receiver
RP Unicast & Multicast
router bgp 109 Transit
neighbor 1.1.1.1 remote-as 100 nlri unicast multicast
neighbor 1.1.1.1 update-source pos 0/0
Transit AS110
pos0/0 1.1.2.2
192.168.100.0/24
Receiver
RP Unicast & Multicast
Transit
router bgp 110
neighbor 1.1.2.1 remote-as 100 nlri unicast multicast
neighbor 1.1.2.1 update-source pos0/0
© 2003, Cisco Systems, Inc. All rights reserved. 81
GLOP—Static Allocation of 233/8
• MBGP (routing)
• MSDP (source discovery)
• MBGP/MSDP Examples
• SSM (Source Specific Multicast)
• MVPN (Multicast VPN)
• IPv6
A B C D
Out-of-band
(S, G) Join
source directory,
example: web server
Receiver
A B C D
Out-of-band
source directory,
example: web server
E F
Receiver
• MBGP (routing)
• MSDP (source discovery)
• MBGP/MSDP Examples
• SSM (Source Specific Multicast)
• MVPN (Multicast VPN)
• IPv6
CE CE
CE
CE
MPLS Core
CE
CE
CE CE
CE
Blue Multicast Domain
Red
CE PE Provider
PE Net PE
Blue
CE
Red
CE PE Red Multicast Domain
PE
PE PE
CE CE
Red
Blue
CE Provider
PE Net Blue
PE CE
Red (*,239.1.1.1)
CE (*,239.1.1.2)
PE
PE
CE CE
Red
Blue
Red (*,239.1.1.1)
CE (*,239.1.1.2)
PE
PE
CE CE
Red
Blue
Receiver
LO0 10.3.3.3
PE LO0 10.1.1.1 PE
LO0 10.2.2.2
LO0 10.3.3.3
C - data packet PE LO0 10.1.1.1 PE
S=192.1.1.1
D=239.255.1.1
Payload: (multicast data)
Provider
Net
(*,239.1.1.1)
Default-MDT
LO0 10.2.2.2
LO0 10.3.3.3
PE LO0 10.1.1.1 PE
Provider
Net Unwanted Data
(*,239.1.1.1)
Default-MDT
LO0 10.2.2.2
LO0 10.3.3.3
PE LO0 10.1.1.1 PE
Provider
Net
(*,239.1.1.1)
Default-MDT
LO0 10.2.2.2
LO0 10.3.3.3
PE LO0 10.1.1.1 PE
Provider
Net
(*,239.1.1.1)
Default-MDT
LO0 10.2.2.2
LO0 10.3.3.3
PE LO0 10.1.1.1 PE
Provider
Net
(*,239.1.1.1)
Default-MDT
(*,239.2.2.1)
LO0 10.2.2.2 Data-MDT
Receiver PE LO0 10.4.4.4
S=192.1.1.1 PE
G=239.1.1.1 CE
LO0 10.3.3.3
PE LO0 10.1.1.1 PE
Provider
Net
(*,239.1.1.1)
Default-MDT
(*,239.2.2.1)
LO0 10.2.2.2 Data-MDT
Receiver PE LO0 10.4.4.4
S=192.1.1.1 PE
G=239.1.1.1 CE
LO0 10.3.3.3
PE LO0 10.1.1.1 PE
Provider
Net
(*,239.1.1.1)
Default-MDT
(*,239.2.2.1)
LO0 10.2.2.2 Data-MDT
Receiver PE LO0 10.4.4.4
S=192.1.1.1 PE
G=239.1.1.1 CE
• MBGP (routing)
• MSDP (source discovery)
• MBGP/MSDP Examples
• SSM (Source Specific Multicast)
• MVPN (Multicast VPN)
• IPv6
Protocol Independent
Protocol Independent
Routing All IGPs,and BGP4+
All IGPs,and BGP4+
with v6 mcast SAFI
• Definitions:
–A PIM domain is topology served by common RP
for all sources and receivers of same group.
–A routing domain is consistent with AS.
• Its necessary to constrain the PIM messages,
rp-mappings, and data for groups within the
PIM domain:
–In IPv4 we used multicast boundary/ BSR border
–In IPv6 we use scopes and zones
R S
DR
ASM across multiple separate PIM domains, each with RP, MSDP peering
R S
DR RP RP RP
R S
DR RP
draft-savola-mboned-mcast-rpaddr-03.txt
• Establishes 3rd party resource dependency (key
driver for MSDP) – is that OK ?
• Still require MSDP for anycast RP redundancy.
• Simple to implement for PIM-SM.
• DRs/RPs need to recognize Address Format to
derive RP address.
• Intermediate routers need to interpret embedded
information in J/P messages.
• Scalability concerns… flat virtual topology.
© 2003, Cisco Systems, Inc. All rights reserved. 117
That’s all Folks