cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
630
Views
0
Helpful
5
Replies

IBGP routing issue

sankarmay
Level 1
Level 1

 

Dear All,

 

I am having two routers with IBGP and vrf configuration i m able to reach both end loop back via ospf but i m unable to reach both end vrf IP.

 

Can anyone help me.

R3 : 

 

R3#show ip route vrf RED 192.168.1.1

Routing Table: RED
Routing entry for 192.168.1.1/32
Known via "connected", distance 0, metric 0 (connected)
Routing Descriptor Blocks:
* directly connected, via FastEthernet0/1
Route metric is 0, traffic share count is 1
R3#ping vrf RED 192.168.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R3#sh run | se bgp
router bgp 9583
bgp log-neighbor-changes
neighbor 1.1.1.1 remote-as 9583
neighbor 1.1.1.1 update-source Loopback0
!
address-family vpnv4
neighbor 1.1.1.1 activate
neighbor 1.1.1.1 send-community extended
exit-address-family
!
address-family ipv4 vrf RED
redistribute connected
redistribute static
exit-address-family
R3#sh ip int bri
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 10.10.10.2 YES NVRAM up up
FastEthernet0/1 192.168.1.1 YES manual up up
Loopback0 2.2.2.2 YES NVRAM up up
R3#sh ip vrf int
Interface IP-Address VRF Protocol
Fa0/1 192.168.1.1 RED up
R3#ping vrf RED 192.168.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
R3#

 

R2 :

 

R2#show ip route vrf RED 192.168.1.1

Routing Table: RED
Routing entry for 192.168.1.0/24
Known via "bgp 9583", distance 200, metric 0, type internal
Last update from 2.2.2.2 00:04:19 ago
Routing Descriptor Blocks:
* 2.2.2.2 (default), from 2.2.2.2, 00:04:19 ago
Route metric is 0, traffic share count is 1
AS Hops 0
MPLS label: 17
MPLS Flags: MPLS Required
R2#pin
R2#ping vrf RED 192.168.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R2#sh run | se bgp
router bgp 9583
bgp log-neighbor-changes
neighbor 2.2.2.2 remote-as 9583
neighbor 2.2.2.2 update-source Loopback0
!
address-family vpnv4
neighbor 2.2.2.2 activate
neighbor 2.2.2.2 send-community extended
exit-address-family
!
address-family ipv4 vrf RED
redistribute connected
redistribute static
exit-address-family
R2#sh ip int bri
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 10.10.10.1 YES manual up up
FastEthernet0/1 192.168.2.1 YES manual up up
Loopback0 1.1.1.1 YES NVRAM up up
R2#sh ip vrf int
Interface IP-Address VRF Protocol
Fa0/1 192.168.2.1 RED up
R2#ping vrf RED 192.168.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/8/20 ms
R2#

5 Replies 5

Hi

The iBGP peer is based on the global table, is that correct? I assume you are using MBGP over MPLS (To create a MPLS L3) have you enabled LDP over the path? Could you please share your topology and PE configuration? The CE-PE interfaces should be configured under VRF as well.

 

As you are using static route, the CE should have a default route or static routes to reach the other end.

 

Thank you in advance




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Muhammad Uzair
Level 1
Level 1

What RD and RT you configured, you did not show in above output, also can you please check if you are having VPNV4 routes at both sides by performing "show bgp vpnv4 unicast vrf RED" moreover in one of your output it is showing MPLS details while on other router it is not showing anything. Can you also share the output of "show mpls interfaces " from both routers to make sure that LDP is enabled at both end and working properly.

 

Thank you.

 

Kindest regards,

uzzi



Kindest regards,
Uzair
CCENT, CCNA (R&S), CCNP (R&S).


In the same configuration if i m using RR it is working fine.

Now i m using only two routers.

VRF(192.168.1.1)---R2 <<<<<>>>>>R3--VRF(192.168.2.1)

sankarmay
Level 1
Level 1


In the same configuration if i m using RR it is working fine.

Now i m using only two routers.

VRF(192.168.1.1)---R2 <<<<<>>>>>R3--VRF(192.168.2.1)

It proves that your underlay routing is working fine as you already mentioned in first thread that OSPF reachability is there, RR is different technology than VRF. VRF works based on RD (router distinguisher) and RT (Route target), if both side are configured correctly and also mpls neighbors are up it should work fine while in RR if underlay reachability via IGP/Static route is there and on top of IGP you make RR it will work fine as decision is based on pure layer 3 ip routing which is already precalculated by OSPF while in VRF it totally depends on RD and RT. there might be something missing in your VRF configuration.

 

hope that clear the question, if you still want more on VRF kindly share the requested details in above thread :)

 

Thank you

 

Kindest regards,

uzzi   



Kindest regards,
Uzair
CCENT, CCNA (R&S), CCNP (R&S).
Review Cisco Networking for a $25 gift card