You are on page 1of 37

IPv6 over MPLS 6PE and 6VPE

Hernn Contreras G. Consulting Systems Engineer Cisco Systems Chile

IPv6 over MPLS

2007 Cisco Systems, Inc. All rights reserved.

Cisco Publicl

IPv6 over MPLS


Many service providers have already deployed MPLS in their IPv4 backbone for various reasons MPLS can be used to facilitate IPv6 integration Dual stack PE routers accommodating both IPv4 and IPv6 client networks IPv4 or MPLS core infrastructure is IPv6-unaware Benefits from MPLS features such as FRR, TE
inter-PE MPLS Tunnel (LSP) P (4)

IPv4 IPv6

IPv4 IPv6

PE 4/6

IPv4/MPLS Backbone

PE 4/6

IPv6 over MPLS

2007 Cisco Systems, Inc. All rights reserved.

Cisco Publicl

MPLS Tunnels 6PE/6VPE


IPv6 NLRI redistribution IPv6 MP-BGP w/ IPv6+labels IPv6 NLRI redistribution IPv6

IPv6
PE 4/6

IPv6
IPv4/MPLS Backbone
PE 4/6

IPv6 packets transported from 6PE to 6PE over Label Switch Path
RFC 4798: IPv6 provider edge router (6PE) over MPLS offers global IPv6 connectivity across IP/MPLS backbone (PSN) RFC 4659: IPv6 VPN provider edge (6VPE) over MPLS offers global or VPN IPv6 connectivity across IP/MPLS backbone (PSN)

BGP exchanges external client prefixes, labels, etc.


IPv6prefixes +Label for 6PE VPNv6 prefixes for 6VPE

In both cases backbone runs IPv4 control plane (plus label control for MPLS forwarding used)
IPv6 over MPLS 2007 Cisco Systems, Inc. All rights reserved. Cisco Publicl

IPv6 over MPLS Tunnels


IPv6 Header Transport Header Data

IPv6 Host IPv6 Network

Dual-Stack Dual-Stack PE Router PE Router IPv4/MPLS

IPv6 Host IPv6 Network

Tunnel: IPv6 in MPLS packet


MPLS Header IPv6 Header Transport Header Data

Dual Protocol PE is encapsulating the IPv6 packet into MPLS packets MPLS Core remains IPv4 Optionally PE provide VPN services for IPv6 (network virtualization)
IPv6 over MPLS 2007 Cisco Systems, Inc. All rights reserved. Cisco Publicl

IPv6 Provider Edge Router (6PE) over MPLS


IPv6 global connectivity over and IPv4-MPLS core
iBGP (MBGP) Sessions
2001:DB8:: 145.95.0.0 v6 v6 2003:1::

v4

6PE

6PE

v6

2001:CAFE::

Dual Stack IPv4-IPv6 Routers 2001:F00D:: v6 CE 192.76.10.0 v4 CE

Dual Stack IPv4-IPv6 Routers

P
6PE
IPv4 MPLS

P
6PE
v4 CE 192.254.10.0

6PEs must support dual stack IPv4+IPv6 (6PE) IPv6 addresses exist in global table of PE routers only IPv6 reachability exchanged among 6PEs via iBGP (MP-BGP)
IPv6 AF (2) + Label SAFI (4) used to exchange prefixes between PEs

IPv6 packets transported from 6PE to 6PE inside MPLS (label switching) Core uses IPv4 control plane (LDPv4, TEv4, IGPv4, MP-BGP)
IPv6 over MPLS 2007 Cisco Systems, Inc. All rights reserved. Cisco Publicl

6PE-1 Configuration (IOS)


CE-1

6PE-1

iBGP Session

6PE-2

2001:DB8:: router bgp 100 bgp router-id 200.10.10.1 no synchronization no bgp default ipv4 unicast neighbor 2001:DB8:1::1 remote-as 65014 neighbor 200.10.10.2 remote-as 100 neighbor 200.10.10.2 update-source Loopback0 ! address-family ipv6 neighbor 200.10.10.2 activate neighbor 200.10.10.2 send-label neighbor 2001:DB8:1::1 activate redistribute connected no synchronization exit-address-family
Cisco Publicl

2001:DB8:1::1 Is the Local CE

200.10.10.2 Is the Remote 6PE Send Labels Along with IPv6 Prefixes by Means of MP-BGP

IPv6 over MPLS

2007 Cisco Systems, Inc. All rights reserved.

6PE-1 Configuration (IOS-XR)


CE-1

6PE-1 iBGP Session

6PE-2

2001:DB8::

200.10.10.2 Is the Remote 6PE Send Labels Along with IPv6 Prefixes by Means of MP-BGP 2001:DB8:1::1 Is the Local CE

router bgp 100 bgp router-id 200.10.10.1 ! address-family ipv6 unicast redistribute connected allocate-label all ! neighbor 200.10.10.2 remote-as 100 update-source Loopback0 ! address-family ipv6 labeled-unicast neighbor 2001:DB8:1::1 remote-as 65014 address-family ipv6 unicast

IPv6 over MPLS

2007 Cisco Systems, Inc. All rights reserved.

Cisco Publicl

6PE Routing And Label Distribution Example


IPv6 Packet
IPv6 Network

IPv6 Packet

BGP Label

LDP Label

IPv6 Packet
IPv6 Network

MPLS IPv4 Backbone

CE3

6PE3

6PE4

IPv6 IPv6
200.10.10.1 IPv4 IPv4 MPLS MPLS 200.11.11.1

CE 4

IPv6 IPv6

IPv6 IPv6
2001:f00d:: CE1 6PE1 IGPv4 200.10.10.1 reachable LDPv4 {Pop} Binds label {Pop} to 200.10.10.1 MP-eBGP Advertises 2001:f00d:: to 6PE1
IPv6 over MPLS 2007 Cisco Systems, Inc. All rights reserved.

IPv6 IPv6
P 6PE2 IGPv4 200.10.10.1 reachable LDPv4 {48} Binds label {48} to 200.10.10.1 MP-eBGP Advertises 2001:f00d:: to CE2
8

P IGPv4 200.10.10.1 reachable LDPv4 {27} Binds label {27} to 200.10.10.1

CE2

2001:db8::

IPv6 MP-iBGP Advertises 2001:f00d:: to 6PE2 BGP Next Hop ::ffff:200.10.10.1 Label Binding {65}
Cisco Publicl

6PE Routing/Label Distribution


IGP or MP-BGP Advertising 2001:F00D::
2001:DB8:: 6PE-2 Sends MP-iBGP Advertisement to 6PE-1 Which Says: 2001:F00D:: Is Reachable Via BGP Next Hop = 200.10.10.1 (6PE-2) Bind BGP Label to 2001:F00D:: (*) IPv6 Next Hop Is an IPv4 Mapped IPv6 Address Built from 200.10.10.1

6PE-1

IGPv4 Advertises Reachability of 200.10.10.1

2001:F00D::

200.11.11.1

LDPv4 Binds Label to 200.10.10.1

6PE-2 P1 LDPv4 Binds Label to 200.10.10.1 P2


200.10.10.1

LDPv4 Binds Implicit-Null (i.e. Pop) to 200.10.10.1

IGPv6 or MP-BGP Advertising 2001:F00D::


9

IPv6 over MPLS

2007 Cisco Systems, Inc. All rights reserved.

Cisco Publicl

6PE Routing Information


6PE-1# show bgp ipv6 unicast label 2001:F00D::/64 BGP routing table entry for 2001:F00D::/64, version 2 Paths: (1 available, best #1, table Global-IPv6-Table) Not advertised to any peer Local ::FFFF:200.10.10.1 (metric 10) from 200.10.10.1 (192.168.254.1) Origin incomplete, metric 0, localpref 100, valid, internal, best

6PE-1# show route ipv6 2001:F00D::/64 B 2800:F00D::/64 via ::ffff:200.10.10.1 (nexthop in vrf default), 00:02:29 [200/0]

IPv6 over MPLS

2007 Cisco Systems, Inc. All rights reserved.

Cisco Publicl

10

6PE Forwarding Information


6PE-1# sh bgp ipv6 uni labels 2001:F00D::/64 Network Next Hop Rcvd Label *>i20001:F00D::/64 200.10.10.1 65 Local Label 16269

6PE-1# show mpls forwarding Local Label 39 Outgoing Label or VC 48 Prefix

200.10.10.1 Bytes Label Switched 0 Outgoing interface Te1/2 192.168.1.5 Next Hop

or Tunnel Id 200.10.10.1/32

6PE-1# sh cef

ipv6 2001:F00D::/64

2001:F00D::/64, version 0, internal 0x40040001 (0x796d3a08) [1], 0x0 (0x0), 0x4100 (0x796fd478) Prefix Len 64, traffic index 0, precedence routine (0) via ::ffff:200.10.10.1, 3 dependencies, recursive next hop ::ffff:200.10.10.1 via ::ffff:200.10.10.1:0 local label 16269 next hop 192.168.1.5 Te1/2 labels imposed {48 65}

IPv6 over MPLS

2007 Cisco Systems, Inc. All rights reserved.

Cisco Publicl

11

6PE Label Forwarding


IPv6 Packet
IPv6 Network

IPv6 Packet

BGP Label

LDP Label

IPv6 Packet
IPv6 Network

MPLS IPv4 Backbone

CE3

6PE3

6PE4

IPv6 IPv6
200.10.10.1 IPv4 IPv4 MPLS MPLS 200.11.11.1

CE 4

IPv6 IPv6

IPv6 IPv6
2001:f00d:: CE1 6PE1 P P 6PE2
Item

IPv6 IPv6
CE2
Value

2001:db8::

IPv6 Prefix: 2001:f00d:: BGP NH: ::ffff:200.10.10.1 IPv4 NH: 200.10.10.1 LDP Label: {48}

IPv6

MPLS

MPLS {27}

MPLS {48} {65} 2001:f00d::

IPv6 LDP IPv4 Label BGP IPv6 Label 2001:f00d:: IPv6 Prefix
12

{65} 2001:f00d::
IPv6 over MPLS

{65} 2001:f00d::

2001:f00d::
Cisco Publicl

2007 Cisco Systems, Inc. All rights reserved.

6PE Forwarding (6PE-1)


IPv6 Forwarding and Label Imposition:
6PE-1 receives an IPv6 packet Lookup is done on IPv6 prefix Result is: 6PE-1
Label binded by MP-BGP to 2001:F00D:: Label1 binded by LDP/IGPv4 to the IPv4 address of BGP next hop (6PE-2)

2001:DB8::
IPv6 Packet to 2001:F00D::1

2001:F00D::

LDP/v4 Label1 to 6PE-2

MP-BGP Label

IPv6 Packet

6PE-2

P1

P2

IPv6 over MPLS

2007 Cisco Systems, Inc. All rights reserved.

Cisco Publicl

13

6PE Forwarding (P1)


IPv6-UNaware MPLS Label Switching:
2001:DB8:: P1 receives an MPLS packet Lookup is done on Label1 Result is Label2

6PE-1

2001:F00D::

6PE-2

P1
LDP/v4 Label2 to 6PE-2 MP-BGP Label

P2

IPv6 Packet

IPv6 over MPLS

2007 Cisco Systems, Inc. All rights reserved.

Cisco Publicl

14

6PE Forwarding (P2)


IPv6-UNaware MPLS Label Switching:
2001:DB8:: P2 receives an MPLS packet Lookup is done on Label2 Result includes Pop label (PHP), if used

6PE-1

2001:F00D::

6PE-2

P1

P2

MP-BGP Label

IPv6 Packet

IPv6 over MPLS

2007 Cisco Systems, Inc. All rights reserved.

Cisco Publicl

15

6PE Forwarding (6PE-2)


MPLS label forwarding: 6PE-2 receives an MPLS packet Lookup is done on label Result is:
2001:DB8::
Pop label and do IPv6 lookup on v6 destination

6PE-1

2001:F00D::

6PE-2

P1

P2

IPv6 over MPLS

2007 Cisco Systems, Inc. All rights reserved.

Cisco Publicl

16

6PE Benefits
IPv6 global table connectivity for different sites Incremental deployment possible
Only upgrade the PE routers which have to provide IPv6 connectivity

Core network (Ps) untouched


no HW/SW upgrade, no configuration change

IPv6 traffic inherits MPLS benefits Each site can be v4-only, v4VPN-only, v4+v6, v4VPN+v6 P routers wont be able to send ICMPv6 messages (TTL expired, traceroute) No VRF configuration

IPv6 over MPLS

2007 Cisco Systems, Inc. All rights reserved.

Cisco Publicl

17

IPv6 VPN 6VPE (RFC 4659)


IPv6 Packet
IPv6/IPv4 Network 10.1.1.0/24 2001:db8:beef:1::/64

IPv6 Packet

VPN Label

LDP Label

IPv6 Packet
IPv6/IPv4 Network 10.1.2.0/24 2001:db8:beef:2::/64

MPLS IPv4 Backbone

200.10.10.1
VRF

P IPv4 IPv4 MPLS MPLS P

200.11.11.1
VRF

IPv4 IPv4 IPv6 IPv6

CE1 6VPE1 172.16.1.0.0/30 2001:db8:cafe:1::/64

6VPE2 CE2 172.16.3.0/30 2001:db8:cafe:3::/64

IPv4 IPv4 IPv6 IPv6

6VPE uses existing IPv4 MPLS infrastructure to provide IPv6 VPN


Core uses IPv4 control plane (LDPv4, TEv4, IGPv4)

PEs must support dual stack IPv4+IPv6 Offers same architectural features as MPLS-VPN for IPv4
RTs, VRFs, RDs are appended to IPv6 to form VPNv6 address MP-BGP distributed both VPN address families BGP NH uses IPv4 to IPv6 mapped address format ::ffff:A.B.C.D

VRF can contain both VPNv4 and VPNv6 routes Solution suitable for IPv6 support to enterprises and government with VPN
IPv6 over MPLS 2007 Cisco Systems, Inc. All rights reserved. Cisco Publicl

18

6VPE: BGP-MPLS VPN extension for IPv6 (RFC 4659)


Layer-3 VPNs for IPv6 customers
VPN BLUE v4 and v6 VPN

iBGP (MBGP) Sessions

v4 and v6 VPN VPN BLUE

VPN YELLOW

v6 Only

P
VPN BLUE v4 and v6 VPN

P
VPN YELLOW v6 Only

v6 Only VPN YELLOW

MPLS VPNs

Apply all RFC4364bis mechanisms to IPv6 VPNs: IPv6-VPN reachability exchanged among PEs via MP-BGP New BGP address family: AFI=2 (IPv6), SAFI=128 (VPN) NLRI in the form of <length, VPN-IPv6-prefix, label> 192bits Address (24 Byte) including the 64 bits route distinguisher (8 Bytes) <RD:IPv6> and the 128 bits IPv6 address (16 Bytes) Nexthop is carried as RD:v4-mapped-v6-address VRFs, RT, SOO, RRs,operate exactly as with IPv4-VPN IPv6 packets
IPv6 over MPLS 2007 Cisco Systems, Inc. All rights reserved. Cisco Publicl

19

6VPE Configuration (IOS) New Multi-AF VRF Configuration


New VRF AF definition
VRF GREEN IPv4 IPv4 IPv6 IPv6 CE1 CE1-BLUE

6VPE1
172.16.1.0/30 VRF 2001:db8:cafe:1::/64

Allows address-families Each with unique or common policies


vrf upgrade-cli multi-af-mode {common-policies | non-commonpolicies} [vrf <name>]

This command can update existing VRF definitions


interface Ethernet0/0 Description Link to CE1 vrf forwarding GREEN ip address 172.16.1.1 255.255.255.0 ipv6 address 2001:db8:cafe:1::1/64

vrf definition GREEN rd 200:1 ! address-family ipv4 route-target export route-target import exit-address-family ! address-family ipv6 route-target export route-target import exit-address-family
IPv6 over MPLS

200:1 200:1

200:1 200:1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Publicl

20

6VPE Configuration (IOS-XR) New Multi-AF VRF Configuration


VRF GREEN IPv4 IPv4 IPv6 IPv6 CE1 CE1-BLUE vrf GREEN ! address-family ipv4 unicast import route-target 200:1 ! export route-target 200:1 ! address-family ipv6 unicast import route-target 200:1 ! export route-target 200:1 !
IPv6 over MPLS 2007 Cisco Systems, Inc. All rights reserved. Cisco Publicl

6VPE1
172.16.1.0/30 VRF 2001:db8:cafe:1::/64

interface Ethernet0/0 vrf GREEN ipv4 address 172.16.1.2 255.255.255.0 ipv6 address 2001:db80:cafe:1::1/64 dot1q vlan 2

21

6VPE MP-BGP Configuration (IOS)


VRF GREEN IPv4 IPv4 IPv6 IPv6 CE1 CE1-BLUE

6VPE1
172.16.1.0/30 VRF 2001:db8:cafe:1::/64

6VPE1
MP-iBGP Session

router bgp 100 neighbor 200.10.10.2 neighbor 200.10.10.2 ! address-family ipv4 neighbor 200.10.10.2 no auto-summary no synchronization exit-address-family ! address-family vpnv4 neighbor 200.10.10.2 neighbor 200.10.10.2 exit-address-family

address-family vpnv6 To 6VPE2 neighbor 200.10.10.2 activate remote-as 100 update-source lo0 neighbor 200.10.10.2 send-community ext exit-address-family Internet Routes ! activate address-family ipv4 vrf GREEN To CE1 redistribute connected neighbor 172.16.1.1 remote-as 500 neighbor 172.16.1.1 activate exit-address-family ! To 6VPE2 activate address-family ipv6 vrf GREEN To CE1 send-community ext neighbor 2001:db8:cafe:1::1 remote-as 500 neighbor 2001:db8:cafe:1::1 activate exit-address-family
Cisco Publicl

IPv6 over MPLS

2007 Cisco Systems, Inc. All rights reserved.

22

6VPE MP-BGP Configuration (IOS-XR)


VRF GREEN IPv4 IPv4 IPv6 IPv6 CE1 CE1-BLUE

6VPE1
172.16.1.0/30 VRF 2001:db8:cafe:1::/64

6VPE1
MP-iBGP Session

router bgp 100 bgp router-id 192.168.0.6 ! address-family vpnv4 unicast ! address-family vpnv6 unicast ! neighbor 200.10.10.2 remote-as 100 update-source Loopback0 ! address-family vpnv4 unicast ! address-family vpnv6 unicast !
IPv6 over MPLS 2007 Cisco Systems, Inc. All rights reserved. Cisco Publicl

vrf GREEN rd 200:1 ! address-family ipv6 unicast redistribute connected ! neighbor 2001:db80:cafe:1::2 remote-as 500 address-family ipv6 unicast route-policy pass in route-policy pass out !

23

6VPE: IPv4 Routing/Label Distribution


2001:BEEF:1::

Regular IPv4 routing and IPv4 Label Distribution For reachability of 6VPEs
mpls ldp
router-id 200.10.10.1

mpls ldp
router-id 200.10.10.2

Site-1

6VPE-1 IGPv4 advertises reachability of 200.10.10.2


2001:BEEF:1::

Site-1

LDPv4 binds label1 to 200.10.10.2 6VPE-2 P1 LDPv4 binds label2 to 200.10.10.2 P2


192.254.10.17 LDPv4 binds Implicit-Null (ie pop) to 200.10.10.2

IPv6 over MPLS

2007 Cisco Systems, Inc. All rights reserved.

Cisco Publicl

24

6VPE VRF Routing/Label Distribution (MP-BGP)


Regular IPv6 vrf routing between PE-CE (eBGP, Static, OSPFv3) MP-BGP VPNv6 routing PE-to-PE
e-BGP advertising 2001:BEEF:1::
2001:BEEF:1::
Site-1

6VPE-2 sends MP-iBGP advertisement to 6VPE-1 which says: 2001:BEEF:2:: reachable via BGP Next Hop = ::FFFF:200.10.10.2 (6VPE-2)

6VPE-1
200.10.10.1

bind BGP 16010 to 2001:BEEF:2::


2001:BEEF:2:: MP-iBGP Session
Site-1

6VPE-2 P1 P2
200.10.10.2

e-BGP advertising 2001:BEEF:1::

IPv6 over MPLS

2007 Cisco Systems, Inc. All rights reserved.

Cisco Publicl

25

6VPE1 BGP VPNv6 Table


IPv6/IPv4 Network 10.1.1.0/24 2001:beef:1::/64 MPLS IPv4 Backbone IPv6/IPv4 Network 10.1.2.0/24 2001:beef:2::/64

200.10.10.1
VRF

P IPv4 IPv4 MPLS MPLS P

200.10.10.2
VRF

IPv4 IPv4 IPv6 IPv6

CE1 6VPE1 172.16.1.0/30 2001:db8:cafe:1::/64

6VPE2 CE2 172.16.2.0.0/30 2001:db8:cafe:2::/64

IPv4 IPv4 IPv6 IPv6

6VPE1#show bgp vpnv6 unicast all Network Next Hop Metric LocPrf eight Path IPv4-Mapped W IPv6 Address Route Distinguisher: 200:1 (default for vrf GREEN) (IPv4-Based *> 2001:beef:1::/64 LSP Setup) 2001:db8:cafe:1::1 Route from CE1 0 0 500 ? *>i2001:beef:2::/64 ::FFFF:200.10.10.2 Route from CE2 via 6VPE2 0 100 0 506 ? *>i2001:db8:cafe:2::/64 ::FFFF:200.10.10.2 PE/CE Connected route from 6VPE2 0 100 0 ?
IPv6 over MPLS 2007 Cisco Systems, Inc. All rights reserved. Cisco Publicl

26

6VPE2 IPv6 VRF Routes (IOS)


IPv6/IPv4 Network 10.1.1.0/24 2001:beef:1::/64 MPLS IPv4 Backbone IPv6/IPv4 Network 10.1.2.0/24 2001:beef:2::/64

200.10.10.1
VRF

P IPv4 IPv4 MPLS MPLS P

200.10.10.2
VRF

IPv4 IPv4 IPv6 IPv6

CE1 6VPE1 172.16.1.0/30 2001:db8:cafe:1::/64

6VPE2 CE2 172.16.2.0.0/30 2001:db8:cafe:2::/64

IPv4 IPv4 IPv6 IPv6

6VPE1#show ipv6 route vrf GREEN B 2001:beef:2::/64 [200/0] via 200.10.10.2%Default-IP-Routing-Table, indirectl connected y B 2001:beef:1::/64 [20/0] via FE80::A8BB:CCFF:FE01:FA00, Ethernet1/0 B 2001:db8:cafe:2::/64 [200/0] via 200.10.10.1%Default-IP-Routing-Table, indirectl connected y C 2001:db8:cafe:1::/64 [0/0] via Ethernet1/0, directly connected L 2001:db8:cafe:1::2/128 [0/0] via Ethernet1/0, receive L FF00::/8 [0/0] via Null0, receive
IPv6 over MPLS 2007 Cisco Systems, Inc. All rights reserved. Cisco Publicl

27

6VPE2 IPv6 VRF Routes (IOS-XR)


IPv6/IPv4 Network 10.1.1.0/24 2001:beef:1::/64 MPLS IPv4 Backbone IPv6/IPv4 Network 10.1.2.0/24 2001:beef:2::/64

200.10.10.1
VRF

P IPv4 IPv4 MPLS MPLS P

200.10.10.2
VRF

IPv4 IPv4 IPv6 IPv6

CE1 6VPE1 172.16.1.0/30 2001:db8:cafe:1::/64

6VPE2 CE2 172.16.2.0.0/30 2001:db8:cafe:2::/64

IPv4 IPv4 IPv6 IPv6

PE1#sh route vrf red ipv6 B C L 2001::beef:2::/64 [200/0] via ::ffff:200.10.10.2 (nexthop in vrf defaul 07:04:14 t), 2001:db80:cafe:1::/64 is directly connected, 08:28:12, GigabitEthernet0/0/1/3.1 2001:db80:cafe:1::1/128 is directly connected, 08:28:12, GigabitEthernet0/0/1/3.1

IPv6 over MPLS

2007 Cisco Systems, Inc. All rights reserved.

Cisco Publicl

28

6VPE Label Stack Forwarding:


Populating 6VPE-1 FIB VRF Table (2nd label)
2001:BEEF:1::

6VPE-2 sends MP-iBGP advertisement to 6VPE-1 which says: 2001:BEEF:2:: is reachable via BGP Next Hop = ::FFFF:200.10.10.2 (6VPE-2) 6VPE-1

Site-1

bind BGP 16010 to 2001:BEEF:2::


2001:BEEF:2::

200.10.10.1

Prefix
2001:BEEF:2:: P1

Labels
???/16010 P2
200.10.10.2

Site-1

6VPE-2

vrf GREEN

IPv6 over MPLS

2007 Cisco Systems, Inc. All rights reserved.

Cisco Publicl

29

6VPE Label Stack Forwarding:


Populating 6PE-1 FIB VRF Table (1st label)
2001:BEEF:1::

6VPE-2 sends MP-iBGP advertisement to 6VPE-1 which says: 2001:BEEF:2:: is reachable via BGP Next Hop = 200.10.10.2 (6VPE-2) 6VPE-1

Site-1

bind BGP label 16010 to 2001:BEEF:2::


2001:BEEF:2::

200.10.10.1

Prefix
LDPv4 binds label1 to 200.10.10.2 2001:0421:: P1

Labels
label1/16010 P2
200.10.10.2

Site-1

6VPE-2

Recursion of BGP Next Hop: populate entry with LDP label


IPv6 over MPLS 2007 Cisco Systems, Inc. All rights reserved. Cisco Publicl

30

6VPE1 LFIB
IPv6 Packet
IPv6/IPv4 Network 10.1.1.0/24 2001:beef:1::/64

IPv6 Packet

VPN Label

LDP Label

IPv6 Packet
IPv6/IPv4 Network 10.1.2.0/24 2001:beef:2::/64

MPLS IPv4 Backbone

200.10.10.1
VRF

P IPv4 IPv4 MPLS MPLS P

200.10.10.2
VRF

IPv4 IPv4 IPv6 IPv6

CE1 6VPE1 172.16.1.0/30 2001:db8:cafe:1::/64

6VPE2 CE2 172.16.3.0.0/30 2001:db8:cafe:2::/64

IPv4 IPv4 IPv6 IPv6

6VPE2#show mpls forwarding Local Outgoing Prefix Outgoing Next Hop Label Label interface 16010 No Label 2001:BEEF:2::/64 Et0/0 FE80::A8BB:CCFF:FE01:F400

6VPE1#show mpls forwarding 200.10.10.2 Local Outgoing Prefix Outgoing Next Hop Label Label interface 17 18 200.10.10.2/32 Et0/0 192.168.1.1 6VPE1#sh ipv6 cef vrf BLUE 2001:BEEF:2::/64 nexthop 192.168.1.1 Ethernet0/0 label18 16010

IPv6 over MPLS

2007 Cisco Systems, Inc. All rights reserved.

Cisco Publicl

31

6VPE Forwarding (6VPE-1)


2001:BEEF:1:: 2001:BEEF:2::

IPv6 packet to 2001:BEEF:2::

vrf yellow

Site-1

6VPE-1
200.10.10.1

6vpe1#sh ipv6 cef vrf BLUE 2001:BEEF:2::/64 nexthop 192.168.1.1 Ethernet0/0 label18 16010

IGPv4/LDP MP-BGP 16010 label1 to 6VPE-2to 2001:BEEF:2::

IPv6 packet to 2001:BEEF:2::

Site-1

IPv6 Forwarding and Label Imposition:


6VPE-1 receives an IPv6 packet Lookup is done on IPv6 prefix, in vrf yellow Result is push two labels: Label 16010 binded by MP-BGP to 2001:BEEF:2:: Label1 binded by LDP/IGPv4 to the IPv4 address of BGP Next Hop (6VPE-2)

6VPE-2 P1 P2
200.10.10.2

IPv6 over MPLS

2007 Cisco Systems, Inc. All rights reserved.

Cisco Publicl

32

6VPE Forwarding (P1)


2001:BEEF:1:: IPv6-UNaware MPLS Label Switching:
IPv6 packet to 2001:BEEF:2::

2001:BEEF:2::

vrf yellow

P1 receives an MPLS packet Lookup is done on Label1 Result is Label2

Site-1

6VPE-1
200.10.10.1

IGPv4/LDP MP-BGP 16010 label1 to 6VPE-2to 2001:BEEF:2::

IPv6 packet to 2001:BEEF:2::

Site-1

6VPE-2 P1
IGPv4/LDP label2 to 6PE-2 MP-BGP 16010 to 2001:BEEF:2::

P2

200.10.10.2

IPv6 packet to 2001:BEEF:2::

P1#show mpls forwarding 200.10.10.1 Local Outgoing Prefix Outgoing Next Hop Label Label interface 17 18 200.10.10.2/32 Et0/0 192.168.1.5
IPv6 over MPLS 2007 Cisco Systems, Inc. All rights reserved. Cisco Publicl

33

6VPE Forwarding (P2)


2001:BEEF:1:: 2001:BEEF:2:: IPv6-UNaware MPLS Label Switching:
IPv6 packet to 2001:BEEF:2::

vrf yellow

Site-1

P2 receives an MPLS packet Lookup is done on Label2 Result is Pop label (Penultimate Hop Popping)

6VPE-1
200.10.10.1

IGPv4/LDP MP-BGP 16010 label1 to 6VPE-2to 2001:BEEF:2::

IPv6 packet to 2001:BEEF:2:: IPv6 packet MP-BGP 16010 to 2001:BEEF:2:: to 2001:BEEF:2::

Site-1

6VPE-2 P1
IGPv4/LDP label2 to 6PE-2 MP-BGP 16010 to 2001:BEEF:2::

P2

200.10.10.2

IPv6 packet to 2001:BEEF:2::

P1#show mpls forwarding 200.10.10.2 Local Outgoing Prefix Outgoing Label Label interface 18 Pop Label 200.10.10.2 Et0/0
IPv6 over MPLS 2007 Cisco Systems, Inc. All rights reserved. Cisco Publicl

Next Hop 192.168.1.9


34

6VPE Forwarding (6VPE-2)


2001:BEEF:1:: MPLS Label Pop and IPv6 Forwarding :
6VPE-2 receives an MPLS packet Lookup is done on 16010 If per-vrf label allocation mode is configured, lookup is done on inner IPv6 destination address in the VRF yellow.

2001:BEEF:2::

IPv6 packet to 2001:BEEF:2::

vrf yellow

Site-1

6VPE-1
200.10.10.1

IPv6 packet to 2001:BEEF:2:: IPv6 packet to 2001:BEEF:2:: IPv6 packet MP-BGP 16010 to 2001:BEEF:2:: to 2001:BEEF:2::

IGPv4/LDP MP-BGP 16010 label1 to 6VPE-2to 2001:BEEF:2::

Site-1

6VPE-2 P1
IGPv4/LDP label2 to 6PE-2 MP-BGP 16010 to 2001:BEEF:2::

P2

200.10.10.2

IPv6 packet to 2001:BEEF:2::

pe1#show mpls forwarding 2001:BEEF:2::/64 Local Outgoing Prefix Outgoing Next Hop Label Label interface 16010 No Label 2001:DB8:CAFE:2::/64 Et0/0 FE80::A8BB:CCFF:FE01:F400
IPv6 over MPLS 2007 Cisco Systems, Inc. All rights reserved. Cisco Publicl

35

6VPE Summary
RFC4659: BGP-MPLS IP Virtual Private Network (VPN) Extension for IPv6 VPN 6VPE simply adds IPv6 support to current IPv4 MPLS VPN offering For end-users: v6-VPN is same as v4-VPN services (QoS, hub and spoke, internet access, etc.) For operators:
Same configuration operation for v4 and v6 VPN No upgrade of IPv4/MPLS core (IPv6 unaware)

IPv6 over MPLS

2007 Cisco Systems, Inc. All rights reserved.

Cisco Publicl

36

IPv6 over MPLS

2007 Cisco Systems, Inc. All rights reserved.

Cisco Publicl

37

You might also like