cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1881
Views
10
Helpful
4
Replies

Missing RIP Routes

feroz syed
Level 3
Level 3

Routes are visible on PE routers but on client side no rip routes showing. PE and Client connected with RIP protocol. Attached topology screenshot. Below show cmds and configs available.

*********************************************************************************************

R6#sh run | sec router rip
router rip
version 2
no auto-summary
!
address-family ipv4 vrf RIP
redistribute bgp 65000
network 10.0.0.0
no auto-summary
exit-address-family

****************************************************************************************
R6#sh runn
Building configuration...

Current configuration : 1974 bytes
!
! Last configuration change at 15:07:18 UTC Mon Feb 3 2020
!
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
!
hostname R6
!
boot-start-marker
boot-end-marker
!
!
vrf definition RIP
rd 100:100
route-target export 100:100
route-target import 100:100
!
address-family ipv4
exit-address-family
!
!
no aaa new-model
!
!
ip cef
no ipv6 cef
!
!
mpls label range 600 699
multilink bundle-name authenticated
!
!
interface Loopback0
ip address 6.6.6.6 255.255.255.255
!
interface Loopback1
no ip address
!
interface FastEthernet0/0
ip address 10.4.6.6 255.255.255.0
ip ospf network point-to-point
ip ospf 1 area 0
speed auto
duplex auto
!
interface FastEthernet0/1
vrf forwarding RIP
ip address 10.2.6.6 255.255.255.0
speed auto
duplex auto
!
interface Serial1/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router ospf 1
network 6.6.6.6 0.0.0.0 area 0
mpls ldp autoconfig
!
router rip
version 2
no auto-summary
!
address-family ipv4 vrf RIP
redistribute bgp 65000
network 10.0.0.0
no auto-summary
exit-address-family
!
router bgp 65000
bgp router-id 6.6.6.6
bgp log-neighbor-changes
neighbor 2.2.2.2 remote-as 65000
neighbor 2.2.2.2 update-source Loopback0
!
address-family ipv4
neighbor 2.2.2.2 activate
exit-address-family
!
address-family vpnv4
neighbor 2.2.2.2 activate
neighbor 2.2.2.2 send-community extended
exit-address-family
!
address-family ipv4 vrf RIP
redistribute rip
exit-address-family
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
mpls ldp router-id Loopback0
!

end

R6#

 

R6#sh ip route vrf RIP

Routing Table: RIP
Gateway of last resort is not set

1.0.0.0/32 is subnetted, 1 subnets
B 1.1.1.1 [200/1] via 2.2.2.2, 00:16:39
10.0.0.0/8 is variably subnetted, 6 subnets, 2 masks
B 10.1.1.0/24 [200/1] via 2.2.2.2, 00:16:39
B 10.1.2.0/24 [200/0] via 2.2.2.2, 00:16:39
B 10.1.3.0/24 [200/1] via 2.2.2.2, 00:16:39
C 10.2.6.0/24 is directly connected, FastEthernet0/1
L 10.2.6.6/32 is directly connected, FastEthernet0/1
R 10.2.7.0/24 [120/1] via 10.2.6.2, 00:00:05, FastEthernet0/1
11.0.0.0/32 is subnetted, 1 subnets
B 11.11.11.11 [200/2] via 2.2.2.2, 00:16:39
172.16.0.0/32 is subnetted, 1 subnets
B 172.16.1.1 [200/2] via 2.2.2.2, 00:16:39
192.168.1.0/32 is subnetted, 1 subnets
B 192.168.1.1 [200/1] via 2.2.2.2, 00:16:39

***************************************************************************************

R6#sh bgp vpnv4 uni all
BGP table version is 40, local router ID is 6.6.6.6
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 100:100 (default for vrf RIP)
*>i 1.1.1.1/32 2.2.2.2 1 100 0 ?
*>i 10.1.1.0/24 2.2.2.2 1 100 0 ?
*>i 10.1.2.0/24 2.2.2.2 0 100 0 ?
*>i 10.1.3.0/24 2.2.2.2 1 100 0 ?
*> 10.2.6.0/24 0.0.0.0 0 32768 ?
*> 10.2.7.0/24 10.2.6.2 1 32768 ?
*>i 11.11.11.11/32 2.2.2.2 2 100 0 ?
*>i 172.16.1.1/32 2.2.2.2 2 100 0 ?
*>i 192.168.1.1/32 2.2.2.2 1 100 0 ?

 

 

******************************************************************

R6#sh bgp sum
BGP router identifier 6.6.6.6, local AS number 65000
BGP table version is 1, main routing table version 1

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
2.2.2.2 4 65000 70 65 1 0 0 00:52:36 0

 

*****************************************************************************************
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

CLIENT

SW-2#sh run | sec router rip
router rip
version 2
network 10.0.0.0
no auto-summary

SW-2#sh ip route rip
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
+ - replicated route, % - next hop override

Gateway of last resort is not set

 

EMPTY*

123.jpeg.jpg

 

 

 

 

 

 

 

 

 

1 Accepted Solution

Accepted Solutions

Hello

You redistributing bgp intp rip without any metric, rip wont understand those bgp routes otherwise.
router rip
address-family ipv4 vrf RIP
redistribute bgp 65000 metric 5

 

Also you could just advertise a default route ino the ce rtr rib table
router rip
address-family ipv4 vrf RIP
default-information originate


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

View solution in original post

4 Replies 4

Hello

You redistributing bgp intp rip without any metric, rip wont understand those bgp routes otherwise.
router rip
address-family ipv4 vrf RIP
redistribute bgp 65000 metric 5

 

Also you could just advertise a default route ino the ce rtr rib table
router rip
address-family ipv4 vrf RIP
default-information originate


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

it works !! but how could it happen because on R6 PE router we redistribute Rip route to Bgp , it affect on other side of the client or PE router. how this command "redistribute bgp 65000 metric 5" here we export the routes to BGP, but on PE which is R6 it already has Routes coming from R2-PE . if the redistribute cmd under bgp protocol means there is some logic, but here am totally confused. Thanks for your reply.

Hello

Route redistributed into bgp will be assigned with bgp attributes including weight and admin distance these ebgp routed are routed within the bgp vpn between the pe rtrs of R6-R2 however for those now bgp routes to be seen as valid rip routes in the vrf of the r1 then rip needs to understand these bgp routes in the form of a redistribution route with metric hence why you need to append a metric value that the rip protocol understands 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Thanks for your help. ☺