Posts

Showing posts from October, 2012

MPLS OSPF L3 VPN and SHAM links

Image
  Building this lab on our previous lab we will run OSPF between PE and CE and we will see how the OSPF process number on the PE affects the type of routes advertised to the CE We will also see how to setup sham links in mpls environment and why they are used. Configuration: R1 interface Loopback0   ip address 1.1.1.1 255.255.255.0 ! interface FastEthernet0/0   ip address 10.1.12.1 255.255.255.0   interface FastEthernet0/1   no ip address   shutdown   duplex auto   speed auto ! router ospf 1 router-id 1.1.1.1 net 0.0.0.0 0.0.0.0 area 0     R2 ip vrf CUST_A   rd 2.2.2.2:1   route-target export 1:1   route-target import 1:1 interface Loopback0   ip address 2.2.2.2 255.255.255.255 interface FastEthernet0/0   ip vrf forwarding CUST_A   ip address 10.1.12.2 255.255.255.0 interface FastEthernet0/1   ip address 10.1.23.2 255.255.255.0   mpls ip router ospf 1   log-adjacency-changes   network 10.1.12.2 0.0.0.0  area 0 router bgp 100   no bgp default ipv4-unicast   bgp log-ne

MPLS – BGP L3 VPN

Image
we will build this lab on previous post MPLS EIGRP L3 VPN   we will run BGP between CE and PE instead of EIGRP We will start by configuring BGP on the CEs R1 R1#show running-config | sec router router bgp 65011   no synchronization   bgp log-neighbor-changes   network 1.1.1.0 mask 255.255.255.0   neighbor 10.1.12.2 remote-as 100   no auto-summary R5 R5#show running-config | sec router bgp router bgp 65011   no synchronization   bgp log-neighbor-changes   network 5.5.5.0 mask 255.255.255.0   neighbor 10.1.45.4 remote-as 100   no auto-summary Now let’s run the BGP between the CE and PE on both router R2 and R4 router bgp 100   address-family ipv4 vrf CUST_A   neighbor 10.1.45.5 remote-as 65011   neighbor 10.1.45.5 activate   no synchronization   network 10.1.45.0 mask 255.255.255.0 let’s check BGP on R5 R5#show ip bgp summary   | b Nei Neighbor         V     AS MsgRcvd MsgSent    TblVer   InQ OutQ Up/Down   State/PfxRcd 10.1.45.4        4    100       35  

MPLS - EIGRP L3 VPN

Image
  We will build this post on the previous lab MPLS - RIP L3 VPN   Instead of using RIP for CUST_A VRF we will be using EIGRP we will enable EIGRP on both R1 and R5 R1 router eigrp 100   network 0.0.0.0   no auto-summary R5 router eigrp 100   network 0.0.0.0   no auto-summary now let’s enable the EIGRP on the PEs for VRF CUST_A R2 router eigrp 100   auto-summary   !   address-family ipv4 vrf CUST_A     network 0.0.0.0   no auto-summary   autonomous-system 100 R4 router eigrp 50   no auto-summary   !   address-family ipv4 vrf CUST_A   network 0.0.0.0   no auto-summary   autonomous-system 50 As we can see that autonomous system has to be configured under the address family in EIGRP, the autonomous system number has to match the client’s AS for EIGRP neighbor to be up now let’s mutual redistribute between the BGP-MP and EIGRP on both R2 and R4 R2 router eigrp 100   no auto-summary   !   address-family ipv4 vrf CUST_A   redistribute bgp 100 metric 1

MPLS RIP L3 VPN

Image
configurations R1 interface FastEthernet0/0   ip address 10.1.12.1 255.255.255.0 interf loopback 0 ip add 1.1.1.1 255.255.255.0 R2 i interface Loopback0 ip address 2.2.2.2 255.255.255.255 interface FastEthernet0/0   ip address 10.1.12.2 255.255.255.0   duplex auto   speed auto ! interface FastEthernet0/1   ip address 10.1.23.2 255.255.255.0   duplex auto   speed auto R3 interface FastEthernet0/0   ip address 10.1.23.3 255.255.255.0   shutdown   duplex auto   speed auto ! interface FastEthernet0/1   ip address 10.1.34.3 255.255.255.0   duplex auto   speed auto R4 interface Loopback0   ip address 4.4.4.4 255.255.255.255 ! interface FastEthernet0/0   ip address 10.1.45.4 255.255.255.0   duplex auto   speed auto ! interface FastEthernet0/1   ip address 10.1.34.4 255.255.255.0   duplex auto   speed auto R5 interface FastEthernet0/0   ip address 10.1.45.5 255.255.255.0   duplex auto   speed auto The goal is to run mpls within the  ISP network and we also

BGP Inject Map

Image
R1 configuration interface FastEthernet0/0   ip address 10.1.12.1 255.255.255.0   duplex auto   speed auto ! interface FastEthernet0/1   ip address 10.1.13.1 255.255.255.0   duplex auto   speed auto ! router bgp 100   no synchronization   bgp log-neighbor-changes   network 1.1.0.0 mask 255.255.255.0   network 10.1.13.0 mask 255.255.255.0   neighbor 10.1.12.2 remote-as 200   neighbor 10.1.13.3 remote-as 300   no auto-summary R2 configuration interface Loopback0   ip address 2.2.0.2 255.255.255.0 ! interface Loopback1   ip address 2.2.1.2 255.255.255.0 interface FastEthernet0/1   ip address 10.1.12.2 255.255.255.0   duplex auto   speed auto ! router bgp 200   no synchronization   bgp log-neighbor-changes   network 2.2.0.0 mask 255.255.255.0   network 2.2.1.0 mask 255.255.255.0   aggregate-address 2.2.0.0 255.255.252.0 as-set summary-only   neighbor 10.1.12.1 remote-as 100   no auto-summary R3 configuration interface FastEthernet0/0   no ip address   shutdown   duplex