cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2109
Views
4
Helpful
26
Replies

BGP MPLS PING ISSUE

Ammartehsein
Level 1
Level 1

CUSTOMER SITE NOT ABLE TO PING SITE 2, even routes are advertised properly via mpls bgp. I am pinging using loopback 10.10.10.1 as source from site 1.as you see below 10.10.10.0 network is received on other end

PE1 vrd routing table:

PE1#sh ip route vrf Riyadh-branch

Routing Table: Riyadh-branch
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override

Gateway of last resort is not set

1.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 1.1.1.0/30 is directly connected, Ethernet1/0
L 1.1.1.2/32 is directly connected, Ethernet1/0
2.0.0.0/30 is subnetted, 1 subnets
B 2.2.2.0 [200/0] via 90.90.90.2, 01:14:58
10.0.0.0/24 is subnetted, 1 subnets
B 10.10.10.0 [20/0] via 1.1.1.1, 02:10:24
20.0.0.0/24 is subnetted, 1 subnets
B 20.20.20.0 [200/0] via 90.90.90.2, 01:14:58

 

 

PE-2 vrf routing table:

PE2#sh ip route vrf
PE2#sh ip route vrf Jeddah-branch

Routing Table: Jeddah-branch
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override

Gateway of last resort is not set

1.0.0.0/30 is subnetted, 1 subnets
B 1.1.1.0 [200/0] via 70.70.70.1, 00:56:50
2.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 2.2.2.0/30 is directly connected, Ethernet1/0
L 2.2.2.2/32 is directly connected, Ethernet1/0
10.0.0.0/24 is subnetted, 1 subnets
B 10.10.10.0 [200/0] via 70.70.70.1, 00:56:50
20.0.0.0/24 is subnetted, 1 subnets
B 20.20.20.0 [20/0] via 2.2.2.1, 00:56:50

 

Cust site-1 routing table:

Cust-1#sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override

Gateway of last resort is not set

1.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 1.1.1.0/30 is directly connected, Ethernet1/0
L 1.1.1.1/32 is directly connected, Ethernet1/0
2.0.0.0/30 is subnetted, 1 subnets
B 2.2.2.0 [20/0] via 1.1.1.2, 00:54:00
10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
B 10.10.10.0/24 [200/0] via 0.0.0.0, 01:41:56, Null0
C 10.10.10.1/32 is directly connected, Loopback1
20.0.0.0/24 is subnetted, 1 subnets
B 20.20.20.0 [20/0] via 1.1.1.2, 00:54:00

 

Cust site-2 routing table:

Cust-2#sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override

Gateway of last resort is not set

1.0.0.0/30 is subnetted, 1 subnets
B 1.1.1.0 [20/0] via 2.2.2.2, 00:54:13
2.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 2.2.2.0/30 is directly connected, Ethernet1/0
L 2.2.2.1/32 is directly connected, Ethernet1/0
10.0.0.0/24 is subnetted, 1 subnets
B 10.10.10.0 [20/0] via 2.2.2.2, 00:54:13
20.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
B 20.20.20.0/24 [200/0] via 0.0.0.0, 01:44:39, Null0
C 20.20.20.1/32 is directly connected, Loopback1

 

1 Accepted Solution

Accepted Solutions

Hi @Ammartehsein ,

You should use the PE loopback interface to establish the VPNv4 session between the two PEs. Also make sure the loopback interface is advertised by ospf.

This should solve the issue.

Regards,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

View solution in original post

26 Replies 26

@Ammartehsein 

 what do you have netween PE-1 and PE-2?

 PE-1 receive the 20.20.20.0 on the interface 90.90.90.2

PE-2 receive 10.10.10.0 on interface 70.70.70.1

Traceroute from Site 1 to Site 2 or vice-versa show what?

 

I have attached network diagram. It will clarify a bit more.

What protocol use between PE and CE 

Under this protocol ""redistrubte connect""

MHM

BGP is used. 

No problem 

Under address family ipv4 vrf xxx

Redistrubte connect 

MHM

added this cmd but still same not pinging

It is lab so mpls label assign and bgp advertise prefix need time.

For fast wr config 

Trun off the lab and trun on again and check ping 

MHM

No routes are already there The only issue is that it is not pinging

 

Mpls label this issue.

Only close and open lab and check' sure after wr

MHM

Harold Ritter
Spotlight
Spotlight

Hi @Ammartehsein ,

Could you please attach PE1 and PE2 configuration.

Regards,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

PE1#sh run
Building configuration...

Current configuration : 1984 bytes
!
! Last configuration change at 15:43:20 UTC Sat Nov 16 2024
upgrade fpd auto
version 15.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname PE1
!
boot-start-marker
boot-end-marker
!
aqm-register-fnf
!
vrf definition Riyadh-branch
rd 200:1
route-target export 300:1
route-target import 300:1
!
address-family ipv4
exit-address-family
!
!
no aaa new-model
!
!
!
!
!
!
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
redundancy
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback20
ip address 30.30.30.30 255.255.255.255
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface Ethernet1/0
vrf forwarding Riyadh-branch
ip address 1.1.1.2 255.255.255.252
duplex half
!
interface Ethernet1/1
ip address 70.70.70.1 255.255.255.252
ip ospf 1 area 0
duplex half
mpls ip
!
interface Ethernet1/2
no ip address
shutdown
duplex half
!
interface Ethernet1/3
no ip address
shutdown
duplex half
!
interface FastEthernet2/0
no ip address
shutdown
duplex half
!
router ospf 1
!
router bgp 200
bgp log-neighbor-changes
network 70.70.70.0 mask 255.255.255.252
neighbor 90.90.90.2 remote-as 200
neighbor 90.90.90.2 soft-reconfiguration inbound
!
address-family vpnv4
neighbor 90.90.90.2 activate
neighbor 90.90.90.2 send-community extended
exit-address-family
!
address-family ipv4 vrf Riyadh-branch
redistribute connected
neighbor 1.1.1.1 remote-as 100
neighbor 1.1.1.1 activate
neighbor 1.1.1.1 soft-reconfiguration inbound
exit-address-family
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
!
!
!
control-plane
!
!
mgcp behavior rsip-range tgcp-only
mgcp behavior comedia-role none
mgcp behavior comedia-check-media-src disable
mgcp behavior comedia-sdp-force disable
!
mgcp profile default
!
!
!
gatekeeper
shutdown
!
!
line con 0
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
transport input all
!
!
end

 

 

 

PE2#sh run
Building configuration...

Current configuration : 1847 bytes
!
! Last configuration change at 15:22:10 UTC Sat Nov 16 2024
upgrade fpd auto
version 15.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname PE2
!
boot-start-marker
boot-end-marker
!
aqm-register-fnf
!
vrf definition Jeddah-branch
rd 300:1
route-target export 300:1
route-target import 300:1
!
address-family ipv4
exit-address-family
!
!
no aaa new-model
!
!
!
!
!
!
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
redundancy
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface Ethernet1/0
vrf forwarding Jeddah-branch
ip address 2.2.2.2 255.255.255.252
duplex half
!
interface Ethernet1/1
ip address 90.90.90.2 255.255.255.252
ip ospf 1 area 0
duplex half
mpls ip
!
interface Ethernet1/2
no ip address
shutdown
duplex half
!
interface Ethernet1/3
no ip address
shutdown
duplex half
!
interface FastEthernet2/0
no ip address
shutdown
duplex half
!
router ospf 1
!
router bgp 200
bgp log-neighbor-changes
network 90.90.90.0 mask 255.255.255.252
redistribute connected
neighbor 70.70.70.1 remote-as 200
!
address-family vpnv4
neighbor 70.70.70.1 activate
neighbor 70.70.70.1 send-community extended
exit-address-family
!
address-family ipv4 vrf Jeddah-branch
redistribute connected
neighbor 2.2.2.1 remote-as 100
neighbor 2.2.2.1 activate
exit-address-family
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
!
!
!
control-plane
!
!
mgcp behavior rsip-range tgcp-only
mgcp behavior comedia-role none
mgcp behavior comedia-check-media-src disable
mgcp behavior comedia-sdp-force disable
!
mgcp profile default
!
!
!
gatekeeper
shutdown
!
!
line con 0
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
transport input all
!
!
end

Ohh ok

You use same as in same site 

Then you need 

Allowas-in or as override 

https://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/112236-allowas-in-bgp-config-example.html

MHM

Still you need to close and then open lab for mpls label.

MHM

No, I already use this cmd and I am reacving routes. I closed lab and run again as you said but still same