Deploy L3VPN Services for Customer 1¶
Preparing The Lab¶
- Log into the LabAccess jumpserver:
- Type
labs
, or select Option 97 to get to theAdditional Labs
menu. - Type or select the option for
ring-topology-evpn-supplemental-labs
in order to get to the EVPN labs. - Type
c1l3vpn
in this menu to configure the topology with the necessary prerequisites.
- Type
Lab Tasks¶
-
Customer-1 is attached to three Service Provider nodes,
EOS1
,EOS6
andEOS8
. These will be our Provider Edge, or PE nodes. Since this customer will require a Layer 3 VPN Service, create an isolated VRF for their traffic and use EVPN to advertise the customer networks to other interested PEs.-
Create a VRF Instance called CUSTOMER-1 on
EOS1
,EOS6
andEOS8
.Note
Since we are using MPLS to create VPNs in the Service Provider network, the VRF only needs to be created on the nodes attached to the customer the VRF is for; in this case Customer-1. Also, note that by default, ip routing is disabled by default in any VRF, so must be enabled for routing functions.
-
Place the interface attached to the Customer Edge, or CE, node for Customer-1 into VRF CUSTOMER-1 on
EOS1
to ensure their traffic remains isolated.Info
When an interface is moved from one VRF to another, in this case from the default VRF into our defined CUSTOMER-1 VRF, any IP settings, including address, will be removed and will need to be reapplied.
-
Repeat the above step for the interfaces on
EOS6
andEOS8
attached to Customer-1 CE devices.EOS6
EOS8
-
Now leverage BGP EVPN to advertise reachability of any routes learned in VRF CUSTOMER-1 from the customer by setting a Route Distinguisher, or RD, and a Route Target, or RT, within BGP on
EOS1
. It should have a unique RD following the format of Loopback0 IP :1 and the RT on all routers in the VPN should match as 1:1.Info
The RD can be used to determine the origination point of the VPN route and the RT is used by the routers in the Service Provider network to determine if they should import the advertised route into their local routing tables. If they receive a VPN route, they check the RT value and see if they have a matching RT configured in BGP. If they do, they import the route into the associated VRF. If they do not, they ignore the route.
-
Repeat the above step for
EOS6
andEOS8
, adjusting the RD and using the same RT.EOS6
router bgp 100 ! vrf CUSTOMER-1 rd 6.6.6.6:1 route-target import evpn 1:1 route-target export evpn 1:1
EOS8
-
Finally, define the BGP peers facing the CE devices for route exchange into the customer VRF on
EOS1
. The CE node (EOS11
) will use BGP ASN 123.Info
Typically, CE-PE peerings will leverage eBGP as we do here. This allows for automatic route forwarding from the PE to the Route Reflector. Also note that in the previous lab, we disabled the default activation of the IPv4 unicast address-family for BGP peers, so we must explicitly enable for our PE-CE peering.
-
Again, repeat the above step for
EOS6
andEOS8
, adjusting the peer IPs and ASN to reflect the attached CE node.EOS6
router bgp 100 ! vrf CUSTOMER-1 neighbor 10.6.13.13 remote-as 123 neighbor 10.6.13.13 maximum-routes 12000 ! address-family ipv4 neighbor 10.6.13.13 activate
EOS8
-
Verify configurations and VRF status. There will be no routes or BGP peers in our VRF as of yet since we have not configured and peered with the CE devices.
-
-
Now that the PE nodes are configured, configure CE nodes
EOS11
,EOS12
,EOS13
, andEOS15
for Layer 3 attachment to the Service Provider network.-
Since
EOS11
,EOS12
, andEOS13
represent a single customer site and LAN, configure OSPF to distribute routes locally within the site.Note
The scope of these labs is mainly around the Service Provider network functions so it does not cover the specifics of the customer network configurations.
EOS11
interface Ethernet2 ip ospf network point-to-point ! router ospf 100 network 0.0.0.0/0 area 0.0.0.0 max-lsa 12000
EOS12
interface Ethernet1 ip ospf network point-to-point ! interface Ethernet2 ip ospf network point-to-point ! router ospf 100 network 0.0.0.0/0 area 0.0.0.0 max-lsa 12000
EOS13
-
Configure the BGP peerings to the PE devices on
EOS11
,EOS13
andEOS15
ensuring that each router’s Loopback0 address is advertised to the attached PE.EOS11
router bgp 123 router-id 11.11.11.11 distance bgp 20 200 200 neighbor 10.1.11.1 remote-as 100 neighbor 10.1.11.1 maximum-routes 12000 network 11.11.11.11/32 network 12.12.12.12/32 network 13.13.13.13/32 ! router ospf 100 redistribute bgp
EOS13
router bgp 123 router-id 13.13.13.13 distance bgp 20 200 200 neighbor 10.6.13.6 remote-as 100 neighbor 10.6.13.6 maximum-routes 12000 network 11.11.11.11/32 network 12.12.12.12/32 network 13.13.13.13/32 ! router ospf 100 redistribute bgp
EOS15
-
Testing¶
-
With the peerings fully established, verify and test connectivity between the Customer-1 locations.
-
Verify BGP status and route exchange with the Service Provider network on
EOS15
. -
Validate route advertisement to
EOS12
to ensure routes are coming in from the Service Provider network and being redistributed by the CE nodes into the IGP. -
Test connectivity from
EOS12
toEOS15
using Loopback0 IP addressing.
-
-
From the Service Provider nodes, verify route exchange and MPLS control-plane status.
-
Display the peering status and routes being advertised by
EOS11
onEOS1
. -
Now validate the EVPN routes are exchanged between the PE nodes
EOS1
,EOS6
, andEOS8
via the Route Reflector.Note
The key fields to notice in the following outputs are the RD which denotes the originator of the specified EVPN Type-5 (IP Prefix) route, the RT which denotes the associated Customer VRF and the assigned MPLS label, which represents the VPN or VRF label that EOS dynamically assigns.
-
Finally, validate the forwarding path traffic will take for each destination in the customer VRF on the Service Provider network PEs,
EOS1
,EOS6
, andEOS8
.
-
Final Lab Tasks¶
To show the ability for Equal Cost Multi-Pathing, or ECMP, to automatically occur where applicable on the Service Provider network, adjust the configuration so that IS-IS calculates multiple equal paths for traffic between these PE nodes.
-
Adjust the IS-IS metric on the link between
EOS6
andEOS8
so that multiple paths become available for forwarding.Info
Normally, this would be done in a scenario where you would like to de-preference a given path in the network.
EOS6
EOS8
-
Re-verify the forwarding path for the Customer-1 VRF on
EOS1
,EOS6
, andEOS8
to see ECMP is now available.
Success
Lab Complete!