IPV6 Presentation2
IPV6 Presentation2
IPV6 Presentation2
BRKRST-3301
IPv6 at CiscoLive
IPv6 over WLAN for 4 years thanks to
Google whitelisted www.cisco-live6.com for statistics
Abstract
Due to the depletion of the IPv4 address space, IPv6 addresses are becoming the only viable option when deploying new services, such as IPTV. In addition, IPv6 multicast addressing has the added benefit that any organization which owns IPv6 unicast address space, automatically owns IPv6 multicast address space. This session will discuss IPv6 multicast from the ground-up: IPv6 multicast protocol, deployment models (ASM, SSM, etc), similarities and differences with IPv4 multicast, co-existence with the deployment models for IPv6 unicast (dual-stack, MPLS 6PE / 6VPE, tunnelling). This session is suited for both service providers and enterprises. The audience is assumed to have a basic understanding of IPv6 addressing and IPv4 Multicast operation.
BRKRST-3301
Cisco Public
Agenda
Introduction
Conclusions
BRKRST-3301
Cisco Public
Introduction
http://inetcore.com/project/ipv4ec/index_en.html Update to: http://www.cisco.com/web/about/ac123/ac147/archived_issues/ipj_8-3/ipj_8-3.pdf Exhaustion of the central IANA pool - orange Exhaustion of the collective RIR pools - magenta Relative distribution rates between the RIRs Time depth of collective RIR pools on pub date - white Time depth between exhaustion events - diff between orange & magenta
Tony Hain
BRKRST-3301
Cisco Public
Protocols for receivers to signal to the network which multicast group/source they want to receive
IGMP (IPv4), MLD (IPv6)
BRKRST-3301
Cisco Public
IOS Implementation
PIM Topology Table. Displayed through show ipv6 pim topology. IOS MRIB: multicast routing information describing multicast distribution trees used for traffic forwarding. Displayed through show ipv6 mrib route. Currently only PIM Topology Table (TIB) is used to create the MRIB. Separation of TIB/MRIB provides flexibility to implement future multicast routing protocols. Show ipv6 mroute provides same information (IPv4 Multicast compatible). There is currently no equivalent data structure in IOS. IOS uses unicast RIB + Multicast BGP + Multicast Static Routes
Multicast topology table. Like RIB for unicast, but it contains routing information used for RPF check and PIM J/P sending. Also PIM Assert metric information Multicast forwarding information used to perform packet forwarding. Derived from the TIB. Implementation specific
Cisco Public
Multicast forwarding information used to perform actual multicast data forwarding. Displayed through show ipv6 mfib
10
Interdomain Multicast
BRKRST-3301 2011 Cisco Systems, Inc. All rights reserved.
IPv6 Addresses
128 bits (IPv6) vs. 32 bits (IPv4)
2001:0DB8:0000:130F:0000:0000:087C:140B or
Interfaces have multiple addresses (Global, Link Local, ULA, Multicast)! These addresses have scope associated
No broadcast address! Routing protocols pretty much the same as in IPv4 Use of multicast is ubiquitous
Neighbor discovery (L2 address resolution, router discovery)
BRKRST-3301 2011 Cisco Systems, Inc. All rights reserved. Cisco Public
12
1111 1111
Flags R P T Scope
F 8 Bits
Flags =
8 Bits
Scope =
T or Lifetime, 0 if Permanent, 1 if Temporary P for Unicast-based Assignments R for Embedded RP Others Are Undefined and Must Be Zero 1 = interface-local 2 = link 4 = admin-local 5 = site 8 = organization E = global 0, 3, F = reserved
Note: other scopes (6, 7, 9-D) are unassigned but can be used
BRKRST-3301 2011 Cisco Systems, Inc. All rights reserved. Cisco Public
13
FF05::2 FF02::1:FFXX:XXXX
Site-Local Link-Local
Note that 02 means that this is a permanent address and has link scope Use of Link Local multicast addresses is ubiquitous in IPv6 link operations: RS, RA, NS, NA (ICMPv6) More details at http://www.iana.org/assignments/ipv6-multicastaddresses
BRKRST-3301 2011 Cisco Systems, Inc. All rights reserved. Cisco Public
14
8
Plen
64
Network-Prefix
32
Group-ID
Example
Content providers unicast prefix
1234:5678:9abc::/48 Multicast address FF3E:0030:1234:5678:9abc::1 (0x30 is 48 bits)
BRKRST-3301
Cisco Public
15
8
Plen
64
Network-Prefix
32
Group-ID
Based on unicast-based multicast addresses (RFC 3306) Flags = 00PT: P=T=1 Scope = any valid address scope value (>=3) Plen = 0 Network-Prefix = 0 Range = FF3x::/32 (x = any valid address scope value) SSM ranges are hardcoded
BRKRST-3301 2011 Cisco Systems, Inc. All rights reserved. Cisco Public
R1#show ipv6 pim range-list Static SSM Exp: never Learnt from : :: FF33::/32 Up: 1d02h FF34::/32 Up: 1d02h FF35::/32 Up: 1d02h FF36::/32 Up: 1d02h FF37::/32 Up: 1d02h FF38::/32 Up: 1d02h FF39::/32 Up: 1d02h FF3A::/32 Up: 1d02h FF3B::/32 Up: 1d02h FF3C::/32 Up: 1d02h FF3D::/32 Up: 1d02h FF3E::/32 Up: 1d02h FF3F::/32 Up: 1d02h
16
Based on unicast-based multicast addresses (RFC 3306) RP address is embedded in multicast address Flag bits = 0RPT
R = 1, P = 1, T = 1 Embedded RP address
For each unicast prefix (up to /64) you own, you now also own:
16 RPs for each of the 16 multicast scopes (256 total) with 2^32 multicast groups assigned to each RP (2^40 total)
Deployment choices: network-prefix is max. 64 bits but can be smaller RPs per /64, per /48, etc
BRKRST-3301 2011 Cisco Systems, Inc. All rights reserved. Cisco Public
17
FF7E:0130:1234:5678:9abc::4321
1234:5678:9abc::1
Resulting RP Address
BRKRST-3301 2011 Cisco Systems, Inc. All rights reserved. Cisco Public
18
80 Bits Lost
More than 1 multicast address (in fact 2^80) will map to the same MAC address
33-33-xx-xx-xx-xx
48 Bits
Pick multicast group addresses that give distinct multicast MAC addresses
For example: FF02::1 33-33-00-00-00-01 FF3E::1 33-33-00-00-00-01 Similar to IPv4: 5 bits are lost (28 significant L3 multicast bits are mapped into 23 L2 MAC bits)
BRKRST-3301 2011 Cisco Systems, Inc. All rights reserved. Cisco Public
19
FF00::/8
FF30::/12 FF3x::/32 (x = any valid address scope value >=3) FF70::/12
BRKRST-3301
Cisco Public
20
21
6PE (MPLS)
6rd
No
No
BRKRST-3301
Cisco Public
22
23
24
SSM transition through SSM mapping for MLDv1 messages static or DNS: 12.4T, 7600 (33)SRA, 6500 (18)SXE
MLD snooping: 7600 (33)SRA, 6500 (18)SXE, 3560/3750 (25)SED, 4500 12.2SG
BRKRST-3301 2011 Cisco Systems, Inc. All rights reserved. Cisco Public
25
H1
H2
1
1
Destination: FF3E:40:2001:DB8:C003:1109:1111:1111 ICMPv6 Type: 131
2 2 Destination:
FF3E:40:2001:DB8:C003:1109:1111:1111 ICMPv6 Type: 131
1 2
rtr-a
FE80::207:85FF:FE80:692
Source
Group:FF3E:40:2001:DB8:C003:1109:1111:1111
BRKRST-3301 2011 Cisco Systems, Inc. All rights reserved. Cisco Public
26
H1
3 REPORT to group
1 1 Destination:
FF02::2 ICMPv6 Type: 132 ICMPv6 Type: 131
H2
2 Destination:
1 H1 sends DONE to FF02::2 2 RTR-A sends Group-Specific Query 3 H2 sends REPORT for the group
rtr-a
FE80::207:85FF:FE80:692
Source
Group:FF3E:40:2001:DB8:C003:1109:1111:1111
BRKRST-3301
Cisco Public
27
Query is sent twice (Last Listener Query Count) and if no reports occur then entry is removed (2 seconds)
28
MLDv2 is backwards compatible and interoperable with MLDv1 and therefore also supports the MLDv1 messages Type 131 (Report) and Type 132 (Done)
BRKRST-3301
Cisco Public
29
BRKRST-3301
Cisco Public
30
MLD in IOS
MLD is automatically enabled on all interfaces with ipv6 multicast-routing Routers implement MLDv2 with MLDv1 compatibility mode for MLDv1 hosts. The compatibility mode is maintained based on the multicast group address. MLD can be disabled on a per interface basis (e.g. for core interfaces or access interfaces without receivers) by no ipv6 mld router MLD ACLs allow access only to specific multicast groups and/or sources using ipv6 mld access-group SSM transition through SSM mapping for MLDv1 messages static or DNS
BRKRST-3301 2011 Cisco Systems, Inc. All rights reserved. Cisco Public
31
MLD - Generic
R2#show ipv6 mld groups detail Interface: Ethernet1/0 Group: FF1E::1 Uptime: 06:07:58 Router mode: EXCLUDE (Expires: 00:02:29) Host mode: INCLUDE Last reporter: FE80::A8BB:CCFF:FE00:CA00 Source list is empty Interface: Ethernet1/0 Group: FF7E:430:2001:DB8:10::2 Uptime: 06:07:58 Router mode: EXCLUDE (Expires: 00:02:31) Host mode: INCLUDE Last reporter: FE80::A8BB:CCFF:FE00:CA00 Source list is empty Interface: Ethernet2/0 Group: FF1E::1 Uptime: 06:07:57 Router mode: INCLUDE Host mode: INCLUDE Last reporter: FE80::A8BB:CCFF:FE00:CA01 Group source list: Source Address Uptime Expires Fwd 2001:DB8:30:1::1234 06:07:57 00:02:31 Yes (2001:DB8:30:2::5678, FF7E:0430:2001:DB8:10::2) (2001:DB8:30:1::1234, FF1E::1) SRC1
e3/0 e4/0
SRC2
e1/0
R1
e0/0
e2/0
RP1 2001:DB8:10::3
e3/0
RP2 2001:DB8:10::4
e0/0
R2
e1/0 e2/0
e4/0
R1 Flags Remote 4
R2
MLDv1
MLDv2
32
MLD - Generic
(2001:DB8:30:2::5678, FF7E:0430:2001:DB8:10::2) (2001:DB8:30:1::1234, FF1E::1) R2#show ipv6 mld interface ethernet 1/0 Ethernet1/0 is up, line protocol is up Internet address is FE80::A8BB:CCFF:FE00:6601/10 MLD is enabled on interface Current MLD version is 2 MLD query interval is 125 seconds MLD querier timeout is 255 seconds MLD max query response time is 10 seconds Last member query response interval is 1 seconds MLD activity: 10 joins, 1 leaves MLD querying router is FE80::A8BB:CCFF:FE00:6601 (this system) SRC1
e3/0 e4/0
SRC2
e1/0
R1
e0/0
e2/0
RP1 2001:DB8:10::3
e3/0
RP2 2001:DB8:10::4
e0/0
R2
e1/0 e2/0
e4/0
R1
R2
MLDv1
MLDv2
BRKRST-3301
Cisco Public
33
MLD - Generic
R2#show ipv6 mld traffic MLD Traffic Counters Elapsed time since counters cleared: 06:10:22 Received 2206 359 1847 0 0 Sent 2069 899 1170 0 0 (2001:DB8:30:2::5678, FF7E:0430:2001:DB8:10::2) (2001:DB8:30:1::1234, FF1E::1) SRC1
e3/0 e4/0
SRC2
Valid MLD Packets Queries Reports Leaves Mtrace packets Errors: Malformed Packets Martian source Non link-local source Hop limit is not equal to 1
e1/0
R1
e0/0
e2/0
RP1 2001:DB8:10::3 0 16 0 0
e3/0
RP2 2001:DB8:10::4
e0/0
R2
e1/0 e2/0
e4/0
R1
R2
MLDv1
MLDv2
BRKRST-3301
Cisco Public
34
35
IPv6 Multicast BGP Table (AFI=2, SAFI=2) see next slide (but NOT IPv6 Unicast BGP Table)
BRKRST-3301
Cisco Public
36
IPv6 Multicast BGP Table (AFI=2, SAFI=2) used as an IPv6 RPF check source. This is a route only usable for IPv6 multicast, NOT for IPv6 unicast. SAFI=2 must be used in transit ISP scenarios (peering neighbor does not know BGP route is really usable for multicast or not)
BRKRST-3301 2011 Cisco Systems, Inc. All rights reserved. Cisco Public
37
BRKRST-3301
Cisco Public
38
Select route with lowest administrative distance across these tables (within each table, longest-prefix match is performed) If 2 or more table have routes with same distance, select according to the order above Allows a route with a shorter-prefix match to be selected above a route with a longer-prefix match
Overriding unicast RIB with static mroute(s) Overriding Unicast BGP entries with Multicast BGP entries (presence in Unicast BGP does not guarantee multicast reachability!)
39
BRKRST-3301
Cisco Public
If multiple longest-prefix matches exist, select the the route with the lowest administrative distance If multiple routes still exist, select according to the order above Essentially the same as unicast route selection with the difference that the Multicast RIB result is virtual, while for unicast the selected routes are merged in a real RIB. BGP IPv6 Unicast routes are NOT used in the RPF selection process
In IOS, command to override this (ipv6 multicast rpf use-bgp). This is not advised
BRKRST-3301
Cisco Public
40
BRKRST-3301
Cisco Public
41
42
RP
BRKRST-3301
Cisco Public
43
Source
RP
Traffic Flow Shared Tree Source Tree (S, G) Register (S, G) Join
(unicast)
Receiver
BRKRST-3301
Cisco Public
44
Source
RP
Traffic Flow Shared Tree Source Tree (S, G) Register (S, G) Register-Stop
(S, G) Traffic Begins Arriving at the RP via the Source Tree RP Sends a Register-Stop Back to the First-Hop Router to Stop the Register Process
45
(unicast) (unicast)
Receiver
BRKRST-3301
Cisco Public
Source
RP
Source Traffic Flows Natively Along SPT to RP From RP, Traffic Flows Down the Shared Tree to Receivers
BRKRST-3301
Cisco Public
46
Source
RP
Last-Hop Router Joins the Source Tree Additional (S, G) State Is Created Along New Part of the Source Tree
Receiver
BRKRST-3301
Cisco Public
47
Source
RP
Traffic Begins Flowing Down the New Branch of the Source Tree Additional (S, G) State Is Created Along the Shared Tree to Prune Off (S, G) Traffic
Receiver
BRKRST-3301
Cisco Public
48
Source
RP
(S, G) Traffic Flow Is Now Pruned Off of the Shared Tree and Is Flowing to the Receiver via the Source Tree
BRKRST-3301
Cisco Public
49
Source
RP
(S, G) Traffic Flow Is No Longer Needed by the RP so It Prunes the Flow of (S, G) Traffic Receiver
BRKRST-3301
Cisco Public
50
Source
RP
(S, G) Traffic Flow Is Now Only Flowing to the Receiver via a Single Branch of the Source Tree
BRKRST-3301
Cisco Public
51
SRC2
e1/0
R1
e0/0
e2/0
RP1 2001:DB8:10::3
e3/0
RP2 2001:DB8:10::4
e0/0
R2
e1/0 e2/0
e4/0
R1
R2
MLDv1
MLDv2
52
SRC2
e1/0
R1
e0/0
e2/0
RP1 2001:DB8:10::3
e3/0
RP2 2001:DB8:10::4
e0/0
R2
e2/0
e4/0
PIM neighbor discovery and PIM hellos use link local addresses only. PIM hellos are sent to a link local multicast address FF02::D
BRKRST-3301 2011 Cisco Systems, Inc. All rights reserved. Cisco Public
R1
R2
MLDv1
MLDv2
53
PIM Neighbors
SRC2
e1/0
R1
e0/0
e2/0
RP1 2001:DB8:10::3
e3/0
RP2 2001:DB8:10::4
e0/0
R2 R1#sh ipv6 pim interface ethernet 0/0 Interface PIM Nbr Hello DR Count Intvl Prior Ethernet0/0 on 1 30 1 Address: FE80::A8BB:CCFF:FE00:6500 DR : FE80::A8BB:CCFF:FE00:6600 R1
e1/0 e2/0
e4/0
R2
MLDv1
R1#sh ipv6 pim neighbor ethernet 0/0 Neighbor Address Interface FE80::A8BB:CCFF:FE00:6600 Ethernet0/0
MLDv2
Uptime
00:35:56
BRKRST-3301
Cisco Public
54
SRC2
e1/0
R1
e0/0
e2/0
RP1 2001:DB8:10::3
e3/0
RP2 2001:DB8:10::4
e0/0
R2
e1/0 e2/0
e4/0
R1
R2
MLDv1
MLDv2
55
Immediate OIL: Built directly from the state of the relevant type
For example, immediate OIL for (S,G) state is the OIL that would be built if the router only had (S,G) state and no (*,G) or (S,G,rpt) state. This requires explicit PIM Joins / MLD Reports.
Generally speaking, Inherited OILs are used for forwarding, Immediate OILs are used to make decisions about state maintenance
BRKRST-3301 2011 Cisco Systems, Inc. All rights reserved. Cisco Public
56
SRC2
e1/0
R1
e0/0
e2/0
RP1 2001:DB8:10::3
e3/0
RP2 2001:DB8:10::4
e0/0
R2
e1/0 e2/0
e4/0
R1
R2
MLDv1
MLDv2
57
SRC2
e1/0
R1
e0/0
e2/0
RP1 2001:DB8:10::3
e3/0
RP2 2001:DB8:10::4
e0/0
R2
e1/0 e2/0
e4/0
R1
R2
MLDv1
MLDv2
BRKRST-3301
Cisco Public
58
SRC2
e1/0
R1
e0/0
e2/0
RP1 2001:DB8:10::3
e3/0
RP2 2001:DB8:10::4
e0/0
On R2: only MLDv1 clients active at the moment no source-specific MLD Reports (MLDv2 R2 receiver is dormant) No Immediate OIL created for (S,G) state
BRKRST-3301 2011 Cisco Systems, Inc. All rights reserved. Cisco Public
R2
e1/0 e2/0
e4/0
(*, FF1E::1) R1 R2
MLDv1
MLDv2
59
SRC2
e1/0
R1
e0/0
e2/0
RP1 2001:DB8:10::3
e3/0
RP2 2001:DB8:10::4
e0/0
R2
e1/0 e2/0
e4/0
(*, FF1E::1) R1 R2
MLDv1
MLDv2
BRKRST-3301
Cisco Public
60
SRC2
e1/0
R1
e0/0
e2/0
RP1 2001:DB8:10::3
e3/0
RP2 2001:DB8:10::4
e0/0
R2
e1/0 e2/0
e4/0
(*, FF1E::1) R1 R2
MLDv1
MLDv2
BRKRST-3301
Cisco Public
61
SRC2
e1/0
R1
e0/0
e2/0
RP1 2001:DB8:10::3
e3/0
RP2 2001:DB8:10::4
e0/0
R2
e1/0 e2/0
e4/0
On R2: both MLDv1/MLDv2 clients active at the moment source-specific MLD Reports Immediate OIL created for (S,G) state
BRKRST-3301 2011 Cisco Systems, Inc. All rights reserved. Cisco Public
(*, FF1E::1) R1
(2001:DB8:30:1::1234, FF1E::1) R2
MLDv1
MLDv2
62
SRC2
e1/0
R1
e0/0
e2/0
RP1 2001:DB8:10::3
e3/0
RP2 2001:DB8:10::4
e0/0
R2
e1/0 e2/0
e4/0
(*, FF1E::1) R1
(2001:DB8:30:1::1234, FF1E::1) R2
MLDv1
MLDv2
BRKRST-3301
Cisco Public
63
64
BRKRST-3301
Cisco Public
65
SRC2
R1
e0/0
e2/0
RP1 2001:DB8:10::3
e3/0
RP2 2001:DB8:10::4
e0/0
R2
e1/0 e2/0
e4/0
R1
R2
RP to be used as Embedded RP needs to be configured with address group range Other non-RP routers require no special configuration Embedded RP does not yet support PIM-Bidir
BRKRST-3301 2011 Cisco Systems, Inc. All rights reserved. Cisco Public
MLDv1
MLDv2
66
SRC2
e1/0
R1
e0/0
e2/0
RP1 2001:DB8:10::3
e3/0
RP2 2001:DB8:10::4
e0/0
R2
e1/0 e2/0
e4/0
No configuration for embedded RP (RP2) on R1 R1 has learned the embedded RP from SRC2 transmitting to an Embedded RP Group Address (learned through actual data, PIM / MLD joins)
BRKRST-3301 2011 Cisco Systems, Inc. All rights reserved. Cisco Public
R1
R2
MLDv1
MLDv2
67
SRC2
e1/0
R1
e0/0
e2/0
RP1 2001:DB8:10::3
e3/0
RP2 2001:DB8:10::4
e0/0
R2
e1/0 e2/0
e4/0
R1
R2
MLDv1
MLDv2
BRKRST-3301
Cisco Public
68
Multiple candidate RPs (C-RP) send unicast announcements to BSR, BSR stores all C-RP announcements in RP-Set RP-Set flooded hop-by-hop to FF02::D (All-PIM routers) controlled by RPF check
Uses C-RP priority (lowest=best), hash function value (highest=best) and IP address as tie breaker (highest=best)
BRKRST-3301 2011 Cisco Systems, Inc. All rights reserved. Cisco Public
69
BSR Configuration
RP2#show run | i bsr ipv6 pim bsr candidate bsr 2001:DB8:10::4 priority 20 ipv6 pim bsr candidate rp 2001:DB8:10::4 priority 20
(2001:DB8:30:2::5678, FF7E:0430:2001:DB8:10::2) (2001:DB8:30:1::1234, FF1E::1) SRC1
e3/0 e4/0
SRC2
RP1#show run | i bsr ipv6 pim bsr candidate bsr 2001:DB8:10::3 priority 10 ipv6 pim bsr candidate rp 2001:DB8:10::3 priority 10
e1/0
R1
e0/0
e2/0
RP1 2001:DB8:10::3
e3/0
RP2 2001:DB8:10::4
e0/0
R2
e2/0
e4/0
R1
R2
MLDv1
MLDv2
BRKRST-3301
Cisco Public
70
SRC2
R1
e0/0
e2/0
RP1 2001:DB8:10::3
e3/0
RP2 2001:DB8:10::4
e0/0
R2
e1/0 e2/0
e4/0
R1
R2
MLDv1
MLDv2
BRKRST-3301
IPv6 BSR: Received C-RP Advertisement from 2001:DB8:10::3, priority 10 holdtime 150, prefix count 1 IPv6 BSR: Updating C-RP cache for 2001:DB8:10::4 IPv6 BSR: Updated received range FF00::/8, mode Sparse IPv6 BSR: Originating BSM for 2001:DB8:10::4, priority 20 hash mask length 126 IPv6 BSR: Adding Group prefix FF00::/8, RP count 2, Frag RP count 2 IPv6 BSR: Adding RP 2001:DB8:10::3, Priority 10, Holdtime 150 IPv6 BSR: Adding RP 2001:DB8:10::4, Priority 20, Holdtime 150 IPv6 BSR: Sending BSR message on interface Ethernet2/0 IPv6 BSR: Sending BSR message on interface Ethernet4/0 71 Cisco Public
SRC2
R1
e0/0
e2/0
RP1 2001:DB8:10::3
e3/0
RP2 2001:DB8:10::4
e0/0
R2
e1/0 e2/0
e4/0
R1
R2
MLDv1
MLDv2
IPv6 BSR: Received BSR message from FE80::A8BB:CCFF:FE00:6802 for 2001:DB8:10::4, BSR priority 20 hash mask length 126 IPv6 BSR: Recieved Group range FF00::/8, RP count 2 Fragment RP count2 IPv6 BSR: Update RP 2001:DB8:10::3, Holdtime 150, Priority 10 IPv6 BSR: Update RP 2001:DB8:10::4, Holdtime 150, Priority 20 IPv6 BSR: Received BSR message from FE80::A8BB:CCFF:FE00:6600 for 2001:DB8:10::4, BSR priority 20 hash mask length 126 IPv6 BSR: BSR message from FE80::A8BB:CCFF:FE00:6600/Ethernet0/0 for 2001:DB8:10::4 RPF failed, dropped IPv6 BSR: Received BSR message from FE80::A8BB:CCFF:FE00:6701 for 2001:DB8:10::4, BSR priority 20 hash mask length 126 IPv6 BSR: BSR message from FE80::A8BB:CCFF:FE00:6701/Ethernet1/0 for 2001:DB8:10::4 RPF failed, dropped
BRKRST-3301 2011 Cisco Systems, Inc. All rights reserved. Cisco Public
72
Source Registering DR
IOS automatically creates unidirectional virtual tunnel interfaces One virtual tunnel for each active RP in the network IOS maintains tunnel as long as RP is known Virtual tunnel interface is UP automatically, line protocol is UP only when a valid RPF interface to the RP exists PIM Register messages are sent through tunnel. PIM Register-Stop messages are sent directly (NOT through tunnel)
R1
e1/0
SRC2
R1
e0/0
e2/0
RP1 2001:DB8:10::3
e3/0
RP2 2001:DB8:10::4
e0/0
R2
e1/0 e2/0
e4/0
R2
MLDv1
MLDv2
BRKRST-3301
Cisco Public
73
Source Registering DR
R1#show ipv6 pim tunnel Tunnel0* Type : PIM Encap RP : 2001:DB8:10::3 Source: 2001:DB8:10::1 Tunnel1* Type : PIM Encap RP : Embedded RP Tunnel Source: 2001:DB8:10::1 (2001:DB8:30:2::5678, FF7E:0430:2001:DB8:10::2) (2001:DB8:30:1::1234, FF1E::1) SRC1
e3/0 e4/0
SRC2
Tu0
e1/0
Tu1
R1
e0/0
e2/0
RP1 2001:DB8:10::3
RP2 2001:DB8:10::4
e3/0
e0/0
R2
e1/0 e2/0
e4/0
R2
MLDv1
MLDv2
BRKRST-3301
Cisco Public
74
Source Registering DR
R1#show interfaces tunnel 0 Tunnel0 is up, line protocol is up Hardware is Tunnel MTU 1514 bytes, BW 9 Kbit/sec, DLY 500000 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation TUNNEL, loopback not set Keepalive not set Tunnel source 2001:DB8:10::1 (Loopback0), destination 2001:DB8:10::3 Tunnel protocol/transport PIM/IPv6 Tunnel TTL 255 Tunnel is transmit only Tunnel transmit bandwidth 8000 (kbps) Tunnel receive bandwidth 8000 (kbps) Last input never, output 3d02h, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: fifo Output queue: 0/0 (size/max) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 1 packets output, 88 bytes, 0 underruns 0 output errors, 0 collisions, 0 interface resets 0 unknown protocol drops 0 output buffer failures, 0 output buffers swapped out
SRC2
Tu0
e1/0
Tu1
R1
e0/0
e2/0
RP1 2001:DB8:10::3
e3/0
RP2 2001:DB8:10::4
e0/0
R2
e1/0 e2/0
e4/0
R1
R2
MLDv1
MLDv2
75
Valid PIM Packets Hello Join-Prune Data Register Null Register Register Stop Assert Bidir DF Election
SRC2
R1
e0/0
e2/0
RP1 2001:DB8:10::3
e3/0
RP2 2001:DB8:10::4
Errors: Malformed Packets Bad Checksums Send Errors Packet Sent on Loopback Errors Packets Received on PIM-disabled Interface Packets Received with Unknown PIM Version
e0/0
0 0 0 1042 0 0 R1
R2
e1/0 e2/0
e4/0
R2
MLDv1
MLDv2
BRKRST-3301
Cisco Public
76
Source Registering RP
Automatically creates at least 2 unidirectional virtual tunnel interfaces on the RP First is a transmit-only tunnel used for registering sources locally connected to the RP Second is a receive-only tunnel used for decapsulating PIM Register messages from all DRs There is only a single PIM Decap tunnel to decapsulate ALL PIM Register messages from ALL DRs
(2001:DB8:30:2::5678, FF7E:0430:2001:DB8:10::2) (2001:DB8:30:1::1234, FF1E::1) SRC1
e3/0 e4/0 e1/0
SRC2
R1
e0/0
e2/0
RP1 2001:DB8:10::3
e3/0
RP2 2001:DB8:10::4
e0/0
R2
e1/0 e2/0
e4/0
R1
R2
MLDv1
MLDv2
BRKRST-3301
Cisco Public
77
Source Registering RP
RP1#show ipv6 pim tunnel Tunnel0* Type : PIM Encap RP : 2001:DB8:10::3* Source: 2001:DB8:10::3 Tunnel2* Type : PIM Encap RP : Embedded RP Tunnel Source: 2001:DB8:10::3 Tunnel1* Type : PIM Decap RP : 2001:DB8:10::3* Source: (2001:DB8:30:2::5678, FF7E:0430:2001:DB8:10::2) (2001:DB8:30:1::1234, FF1E::1) SRC1
Tu0 e3/0 e4/0 e1/0 Tu2
SRC2
R1
e0/0
e2/0
RP1 2001:DB8:10::3
Tu1 e3/0
RP2 2001:DB8:10::4
e0/0
Tunnel 0: for sending Register messages for locally attached sources to itself (transmitonly) Tunnel 2: for sending Register messages to all embedded RPs (1 multipoint tunnel, transmit-only) Tunnel 1: for receiving Register messages from all DRs (single, receive-only) PIM registers can be restricted at RP through ipv6 pim accept-register
BRKRST-3301 2011 Cisco Systems, Inc. All rights reserved. Cisco Public
R2
e1/0 e2/0
e4/0
R1
R2
MLDv1
MLDv2
78
RP is single point of failure and therefore redundancy is an operational requirement MSDP-Anycast-RP is not possible: no MSDP for IPv6
RP Redundancy Mechanisms
79
80
A (S, G) Join
BRKRST-3301
Cisco Public
81
Receiver 1
BRKRST-3301
Cisco Public
82
SSM
PIM, Topology Table, MRIB, MFIB all apply to SSM, of course without (*,G) state and RPs. PIM SSM is just a subset of PIM SM.
BRKRST-3301
Cisco Public
83
SSM Mapping
(2001:DB8:30:1::1234, FF3E::1) SRC1 ! ipv6 mld ssm-map enable ipv6 mld ssm-map static SSM_MAP 2001:DB8:30:1::1234 no ipv6 mld ssm-map query dns ! ipv6 access-list SSM_MAP permit ipv6 any host FF3E::1 ! SRC2
R1 RP1 2001:DB8:10::3
e3/0 e0/0
RP2 2001:DB8:10::4
R2
e1/0 e2/0
e4/0
MLDv1
BRKRST-3301
Cisco Public
84
SSM Mapping
R2#show ipv6 pim topology FF3E::1 IP PIM Multicast Topology Table (output truncated) (2001:DB8:30:1::1234,FF3E::1) SSM SPT UP: 05:38:16 JP: Join(00:00:28) Flags: RPF: Ethernet0/0,FE80::A8BB:CCFF:FE00:6500 Ethernet1/0 05:38:16 fwd LI LH R2#show ipv6 pim group-map FF3E::1 IP PIM Group Mapping Table (* indicates group mappings being used) FF3E::/32* SSM Info source: Static Uptime: 05:44:46, Groups: 1 (2001:DB8:30:1::1234, FF3E::1) SRC1 SRC2
R1 RP1 2001:DB8:10::3
e3/0 e0/0
RP2 2001:DB8:10::4
R2
e1/0 e2/0
e4/0
(*, FF1E::1) R1 R2
No (*,G) state
MLDv1
BRKRST-3301
Cisco Public
85
BRKRST-3301
Cisco Public
86
87
Implemented in hardware on hardware based forwarding platforms (e.g. 7600, GSR, CRS-1)
MFIB is automatically enabled with ipv6 multicast-routing Note: the exact output of the following commands may vary by hardware platform
BRKRST-3301
Cisco Public
88
MFIB Status
R1#show ipv6 mfib interface IPv6 Multicast Forwarding (MFIB) status: Configuration Status: enabled Operational Status: running MFIB interface Ethernet0/0 Ethernet1/0 Ethernet2/0 Ethernet3/0 Ethernet4/0 Loopback0 Tunnel0 Tunnel1 status up up up up up up up up CEF-based output [configured,available] [yes ,yes ] [yes ,? ] [yes ,? ] [yes ,? ] [yes ,? ] [yes ,? ] [yes ,? ] [yes ,? ] (2001:DB8:30:2::5678, FF7E:0430:2001:DB8:10::2) (2001:DB8:30:1::1234, FF1E::1) SRC1
e3/0 e4/0 e1/0
SRC2
R1
e0/0
e2/0
RP1 2001:DB8:10::3
e3/0
RP2 2001:DB8:10::4
e0/0
R2
e1/0 e2/0
e4/0
R1
R2
MLDv1
MLDv2
BRKRST-3301
Cisco Public
89
SRC2
R1
e0/0
e2/0
RP1 2001:DB8:10::3 R1#show ipv6 mfib FF1E::1 verbose IP Multicast Forwarding Information Base Entry Flags: C - Directly Connected, S - Signal, IA - Inherit A flag, AR - Activity Required, K - Keepalive Forwarding Counts: Pkt Count/Pkts per second/Avg Pkt Size/Kbits per second Other counts: Total/RPF failed/Other drops Interface Flags: A - Accept, F - Forward, NS - Negate Signalling IC - Internal Copy, NP - Not platform switched SP - Signal Present Interface Counts: FS Pkt Count/PS Pkt Count (2001:DB8:30:1::1234,FF1E::1) Flags: K Forwarding: 37269/10/40/3, Other: 1396/0/1396 Ethernet3/0 Flags: A Ethernet0/0 Flags: F NS Pkts: 0/37231 MAC: 333300000001AABBCC00650086DD
e3/0
RP2 2001:DB8:10::4
e0/0
R2
e1/0 e2/0
e4/0
R1
R2
MLDv1
MLDv2
BRKRST-3301
Cisco Public
90
SRC2
R1
e0/0
e2/0
RP1 2001:DB8:10::3 R1#show ipv6 mfib FF1E::1 count IP Multicast Statistics 61 routes, 12 groups, 0.16 average sources per group Forwarding Counts: Pkt Count/Pkts per second/Avg Pkt Size/Kilobits per second Other counts: Total/RPF failed/Other drops(OIF-null, rate-limit etc) Group: FF1E::1 Source: 2001:DB8:30:1::1234, Forwarding: 42907/10/40/3, Other: 1396/0/1396 Tot. shown: Source count: 1, pkt count: 42907
e3/0
RP2 2001:DB8:10::4
e0/0
R2
e1/0 e2/0
e4/0
R1
R2
MLDv1
MLDv2
91
Conclusions
92
Conclusions
IPv6 multicast technology advantages
Large address space / owned multicast address space
Built-in scope
Embedded RP No NAT required
93
BRKRST-3301
Cisco Public
94
Deployment References
NTT
http://www.afrinic.net/meeting/afrinic7/presentations/26/AFRINIC7_JPNIC%20IPv6_Deployment.pdf
CESNET
http://www.cesnet.cz/doc/techzpravy/2007/cesnet-ipv6-multicast/
JANET
http://www.ja.net/documents/publications/technical-guides/ipv6multicast-web.pdf
BRKRST-3301
Cisco Public
95
References
CCO:
http://www.cisco.com/ipv6
IOS:
http://www.cisco.com/en/US/docs/ios/ipv6/configuration/guide/ip6roadmap.html
IOS-XR:
http://www.cisco.com/en/US/docs/routers/crs/software/crs_r3.9/multic ast/configuration/guide/mc39mcst.html
BRKRST-3301
Cisco Public
96
Multicast Applications
Microsoft Windows Media Server/Player (911) http://www.microsoft.com/windows/windowsmedia/ default.aspx
VideoLAN www.videolan.org
DVTS (Digital Video Transport System) http://www.sfc.wide.ad.jp/DVTS/http://www.dvts.jp/en/ dvts.html Internet radio stations over IPv6 http://www.ipv6.ecs.soton.ac.uk/virginradio/
Supported on iTunes 4.5, Windows Media Player, XMMS 1.2.8, etc.
97
Q&A
98
BRKRST-3301
Cisco Public
99
BRKRST-3301
Cisco Public
100
BRKRST-3301
Cisco Public
101
BRKRST-3301
Cisco Public
102
BRKRST-3301
Cisco Public
112