IPv6 Using MPLS Vladimir Settey
IPv6 Using MPLS Vladimir Settey
IPv6 Using MPLS Vladimir Settey
Vladimir Settey
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public 1
• IPv6 only
IPv6 is the only protocol operating in the network
• Dual Stack
IPv4 and IPv6 operates in tandem over shared or dedicated links
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public 2
Dual Stack App IPv4 + IPv6 Edge IPv6 + IPv4 Core IPv4 and/or IPv4 edge
CE PE P P PE CE
IPv4
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public 3
Dual Stack App IPv4 + IPv6 Edge IPv6 + IPv4 Core IPv4 and/or IPv4 edge
CE PE P P PE CE
IPv4
CE#
ipv6 unicast-routing
interface Ethernet0
ip address 192.168.99.1 255.255.255.0
ipv6 address 2001:db8:213:1::1/64
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public 4
Customer Access Aggregation Edge Core
IP/MPLS
IPv6oPPP
IPv4oPPP
BNG
PP
IPv4|v6oP
• One PPPoE session per Address Family (IPv4 or IPv6) or one PPPoE session
carrying both IPv4 and IPv6 NCPs running as ships in the night
Dual stack must not consume extra BNG session state
• SLAAC or DHCPv6 can be used to number the WAN link with a Global address
• DHCPv6-PD is used to delegate a prefix for the Home Network
• Radius IPv6 attributes as per RFC 3162
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public 5
BNG Radius DHCPv6
Routed RG Ethernet or DSL Access Node
AAA
PPPoE
PPP LCP
RADIUS "user1“
Access-Request Line-id
DHCPv6 Solicit
PD + DNS DHCPv6 Relay Forward
Relay-fwd
DHCPv6 Relay Reply
DHCPv6 Reply* Relay-Reply
SLAAC PD=2001:DB8:AAAA::/56
ICMPv6 RA 、DNS server= 2001:DB8:BB:
2001:DB8: RA with O-bit
AAAA::1 + :1
Prefix=2001:DB8:AAAA::/64
Default
route
installed DHCPv6 Request
DNS
DHCPv6 Response * Assuming DHCPv6 rapid
DNS=2001:DB8:BB::1 commit is in effect
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public 6
IPv6 over MPLS Pseudowires
IPv6 over IPv4 over MPLS
IPv6 Transit using MPLS 6PE
IPv6 VPN using MPLS 6VPE
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public 7
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
IPv6 IPv6 VC Tunnel IPv6
Packet Packet Label Label Packet
CE PE P P PE CE
IPv6 Pseudowire
IPv6
IPv4
MPLS
IPv6 Pseudowire IPv6
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public 9
IPv6 IPv6 VC Tunnel IPv6
Packet Packet Label Label Packet
CE PE P P PE CE
IPv6 Pseudowire
IPv6
IPv4
MPLS
IPv6 Pseudowire IPv6
PE# PE#
interface loopback0 interface loopback0
ip address 200.10.10.1 255.255.255.0 ip address 200.11.11.1 255.255.255.0
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public 10
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
IPv6 IPv6 IPv4 Tunnel IPv6
Packet Packet Header Label Packet
CE PE P P PE CE
IPv6 Manual Tunnel over LSP
IPv6
IPv4
MPLS
IPv6 Manual Tunnel over LSP IPv6
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public 12
IPv6 IPv6 IPv4 Tunnel IPv6
Packet Packet Header Label Packet
CE PE P P PE CE
IPv6 Manual Tunnel over LSP
IPv6
IPv4
200.10.10.1 MPLS 200.11.11.1
IPv6 Manual Tunnel over LSP IPv6
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public 13
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
IPv6 IPv6 BGP Label LDP Label IPv6
IPv4
200.10.10.1 MPLS 200.11.11.1
IPv6 IPv6
• 6PEs must support dual stack IPv4+IPv6 (acts as normal IPv4 PE)
• IPv6 packets transported from 6PE to 6PE over Label Switch Path
• IPv6 addresses exist in global table of PE routers only
IPv6 addresses exchanged between 6PE using MP-BGP session
• Core uses IPv4 control plane (LDPv4, TEv4, IGPv4, MP-BGP)
• Benefits from MPLS features such as FRR, TE
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public 15
IPv6 IPv6 BGP Label LDP Label IPv6
IPv4
200.10.10.1 MPLS 200.11.11.1
IPv6 IPv6
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public 16
IPv6 IPv6 BGP Label LDP Label IPv6
IPv4
200.10.10.1 MPLS 200.11.11.1
IPv6 IPv6
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public 17
• LDP Label
Outer label that provides connectivity to the destination 6PE
• MP-BGP Label
Inner label used by egress 6PE for IPv6 forwarding
Older IOS use pool of 16 labels shared amongst all IPv6 prefixes
P routers hash this label if payload is not IPv4 for load balancing
IOS that support MFI [12.4(20)T & XR] use per prefix labels
Some code also allows IPv4 P-routers to hash IPv6 addresses
This label needed to avoid PHP dropping IPv6 packet
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public 18
IPv6 IPv6 BGP Label LDP Label IPv6
IPv4
200.10.10.1 MPLS 200.11.11.1
IPv6 IPv6
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public 19
IPv6 IPv6 BGP Label LDP Label IPv6
IPv4
200.10.10.1 MPLS 200.11.11.1
IPv6 IPv6
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public 20
IPv6 IPv6 BGP Label LDP Label IPv6
IPv4
200.10.10.1 MPLS 200.11.11.1
IPv6 IPv6
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public 21
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public 22
IPv6 IPv6 BGP Label LDP Label IPv6
10.1.1.0/24 10.1.2.0/24
2001:db8:beef:1::/64 P 2001:db8:beef:2::/64
200.10.10.1 P 200.11.11.1
• For VPN customers, IPv6 VPN service is exactly as IPv4 VPN service
• 6PE is “like VPN” but prefixes are in global table, 6VPE is true VPN
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public 23
IPv6 IPv6 BGP Label LDP Label IPv6
10.1.1.0/24 10.1.2.0/24
2001:db8:beef:1::/64 P 2001:db8:beef:2::/64
200.10.10.1 P 200.11.11.1
• Solution suitable for IPv6 support to enterprises and government with VPN
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public 24
IPv6 IPv6 BGP Label LDP Label IPv6
10.1.1.0/24 10.1.2.0/24
2001:db8:beef:1::/64 P 2001:db8:beef:2::/64
200.10.10.1 P 200.11.11.1
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
IPv6 IPv6 BGP Label LDP Label IPv6
10.1.1.0/24 10.1.2.0/24
2001:db8:beef:1::/64 P 2001:db8:beef:2::/64
200.10.10.1 P 200.11.11.1
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public 26
IPv6 IPv6 BGP Label LDP Label IPv6
10.1.1.0/24 10.1.2.0/24
2001:db8:beef:1::/64 P 2001:db8:beef:2::/64
200.10.10.1 P 200.11.11.1
ipv6 unicast-routing !
ipv6 cef interface Ethernet2/0
! description Link to Core Network
interface Loopback0 ip address 192.168.1.1 255.255.255.252
ip address 200.10.10.1 mpls ip
255.255.255.255 !
! router ospf 1
interface Ethernet0/0 log-adjacency-changes
Description Link to CE1 redistribute connected subnets
vrf forwarding GREEN passive-interface Loopback0
ip address 172.16.1.2 255.255.255.0 network 192.168.1.0 0.0.0.255 area 0
ipv6 address 2001:db8:cafe:1::2/64
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public 27
IPv6 IPv6 BGP Label LDP Label IPv6
10.1.1.0/24 10.1.2.0/24
2001:db8:beef:1::/64 P 2001:db8:beef:2::/64
200.10.10.1 P 200.11.11.1
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public 28
IPv6 IPv6 BGP Label LDP Label IPv6
10.1.1.0/24 10.1.2.0/24
2001:db8:beef:1::/64 P 2001:db8:beef:2::/64
200.10.10.1 P 200.11.11.1
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public 29
IPv6 IPv6 BGP Label LDP Label IPv6
10.1.1.0/24 10.1.2.0/24
2001:db8:beef:1::/64 P 2001:db8:beef:2::/64
200.10.10.1 P 200.11.11.1
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public 30
IPv6 IPv6 BGP Label LDP Label IPv6
10.1.1.0/24 10.1.2.0/24
2001:db8:beef:1::/64 P 2001:db8:beef:2::/64
200.10.10.1 P 200.11.11.1
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public 31
• RFC4659 BGP-MPLS IP Virtual Private Network (VPN) Extension
for IPv6 VPN
• 6VPE adds IPv6 support to IPv4 MPLS VPN feature
• For Providers
Same configuration operation for VPNv4 and VPNv6 VPN
No upgrade of IPv4 MPLS core (IPv6 unaware)
Upgrade of affected PE routers
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public 32
Thank you.