Wednesday, March 20, 2013

MPLS VPN



BASIC MPLS VPN CONFIGURATION






The steps to configure the MPLS VPN



  1. Run an IGP in the SP Cloud.
  2. Run MPLS in SP Cloud, but not on interfaces facing the customer.
  3. Force MPLS to use loopback interface as Router-id on all SP routers.
  4. Configure necessary VRF's on PE routers.
Router(Conf)#ip vrp "name"
Router(Conf)#rd 100:1
Router(Conf)#route-target both 1:100

Now add interfaces to the vrf

(conf - if)#ip vrf  forwarding "name"

imp:You have to put the ip address again.

You can ping the customer router now with command 
ping vrf "name" x.x.x.x


5. Now configure EIGRP on HQ and BRANCH routers
6. Then configure EIGRP on the customer vrf's in PE router's

On CE router, enter the global EIGRP setup then  
#address-family ipv4 vrf "name"
#as 100
#no auto
#network x.x.x.x

for neighbors  -------show ip eigrp vrf  "name" neighbors
for route table-----------show ip route vrf  "name"

Now we will run MP-BGP in the SP cloud, for that we start with running IBGP between the PE routers by using loopback interfaces ip addresses.Also use loopback as update-source.

Configure correct BGP address families and make sure communities are sent between neighbors

at PE router 

#router bgp 1000
#address family vpnv4
#neighbor x.x.x.x activate
#naighbor x.x.x.x send-community both/extended

Now redistribute EIGRP into BGP and vice versa with correct vrf.,

at PE router

#router eigrp 1
#adrress-family ipv4 vrf  "name"
#redistribute bgp 1 metric 

Now an ping from HQ to BRANCH should be successful.

#router bgp 1
#address-family ipv4 vrf  "name"
#redistribute eigrp (customer AS no)
















No comments:

Post a Comment