Config BGP Parte 2
Config BGP Parte 2
Config BGP Parte 2
The iBGP sessions distribute the IPv6 prefixes and the associated MPLS label. This is
known as IPv6 + label and is encoded according to RFC 3107. The sydney PE router
distributes the IPv6 prefix 2001:DB8:1:2::1/128 with a label of 22 to the london PE
via MP-iBGP. All PE and P routers run an IGP and LDP.
How 6PE Works
There is two labels on top of the packets: an IGP label as the top label and the
BGP label as the bottom label. The IGP label is the LDP or RSVP (traffic
engineering) label for the BGP next hop of the egress PE.
This BGP next hop is encoded as an IPv4-mapped IPv6 address containing an IPv4
address of the egress PE router.
6PE Benefits
- The P router does not need to run IPv6 or even be IPv6 capable.
- Only the PE router needs to be IPv6 capable.
- IPv6 packets are directly labeled without an extra header.
- Can be quickly deployed over an existing MPLS backbone.
- The operation of 6PE is similar to the operation of MPLS VPN.
1. Configure MPLS in the IPv4 core network (IPv4 unicast routing protocol and a label distribution
protocol) as for MPLS VPN for IPv4.
2. Configure an IPv6 VPN routing and forwarding (VRF) instance (with route-target import and
export policies) on the PE router.
3. Associate the IPv6 VRF to an interface on the PE router.
4. Configure address family vpnv6 and address family IPv6 VRF for the BGP routing protocol.
5. Configure an IPv6 routing protocol between the PE and the CE routers.
6VPE and MPLS VPN for IPv4 - Similiraties
The 6VPE and MPLS VPN for IPv4 solutions are different in the following ways:
- Address family vpnv6 is used instead of address family vpnv4 for BGP; there is
vpnv6 + label instead of vpnv4 + label between the PE routers.
- The next hop of the vpnv6 prefix is an IPv4-mapped IPv6 address of the egress PE.
A vpnv6 prefix is an IPv6 prefix that is prepended with a 64-bit route distinguisher
(RD). This combination of an IPv6 prefix and RD makes the vpnv6 prefix unique
throughout the network, allowing overlapping IPv6 prefix ranges in different VPNs,
as long as those VPNs are not allowed to communicate with each other.
You can use 6VPE and MPLS VPN for IPv4 at the same time, even on the same
interface on the PE router toward the CE router. You can have both an IPv6 VRF and
an IPv4 VRF configured on the same interface.
IPv6 Internet Access Through 6VPE
RFC 4364 specifies how to access the Internet from within a VPN. These methods for
accessing the Internet from CE routers belonging to a VPN that is built from the MPLS
VPN for IPv4 architecture. These three methods are as follows:
- Non-VRF Internet access: The PE router has 2 interfaces to the CE (a VRF interface
toward the CE router and other interface that is not in a VRF toward the CE router
for Internet in global routing)
- VRF Internet access : Put the Internet routes into one VRF
- Static and static VRF routes providing Internet access: Using the global keyword to
route the VRF traffic to the global routing in the PE route.