cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
487
Views
2
Helpful
11
Replies

Cisco Routing - routes in routing table, no connectivity

DSterling
Level 1
Level 1

I'm setting up a network (see image) and the issue I'm having is that I can see the redistributed routes in the routing table of R1 and R5, but I can't ping to them.  When I try to ping 2.2.20.2 (R2) from R5 it's doesn't work, I can ping from R4.  Same with R1 when I try to ping 5.5.50.5 it doesn't work, but when I try from R2 it works. I have connectivity from R3 to both 2.2.20.2 and 5.5.50.5. 

DSterling_2-1715360242189.png

What am I missing? 

Thank you, 

Dave

 

 

2 Accepted Solutions

Accepted Solutions

DSterling
Level 1
Level 1

I found that I needed static route's on each router to all the physical interfaces and it works now (see below)  I can ping to redistributed OSPF route's on R1 and R5.  Thank you for all the help. 

R1: 
Ip route 192.168.23.0 255.255.255.0 192.168.12.2
Ip route 192.168.34.0 255.255.255.0 192.168.12.2
Ip route 192.168.45.0 255.255.255.0 192.168.12.2

R2:
Ip route 192.168.34.0 255.255.255.0 192.168.23.3
Ip route 192.168.45.0 255.255.255.0 192.168.23.3

R4:
Ip route 192.168.23.0 255.255.255.0 192.168.34.3
Ip route 192.168.12.0 255.255.255.0 192.168.34.3

R5:
Ip route 192.168.34.0 255.255.255.0 192.168.45.4
Ip route 192.168.23.0 255.255.255.0 192.168.45.4
Ip route 192.168.12.0 255.255.255.0 192.168.45.4

 

View solution in original post

Lab if you in feature decided to recheck your config 
redistrubte ospf into bgp 
and notice you need static route in R3 for Link between R1-R2 and for Link between R4-R5 if you dont specify source in ping.

MHM

Screenshot (726).pngScreenshot (727).pngScreenshot (728).pngScreenshot (729).pngScreenshot (730).pngScreenshot (731).png

View solution in original post

11 Replies 11

You dont redistrubte ospf into bgp

Redistrubte it and dont forget add match internal external 1 external 2 in redistrubte command 

MHM

MHM, 

Thank you for the reply. I didn't redistribute ospf into bgp, it's bgp into ospf. Can you be more specific as to what commands are needed? 

R2 and R4 there bgp and you use network command only for LO in R2 and you dont redistrubte it to bgp' so how R5 can know R1 LO?

You need to redistrubte ospf into bgp in R2 to advertise R1 LO to other routers

MHM

DSterling
Level 1
Level 1

MHM, 

Are you able to see the diagram, R3 is static only, no bgp, R2 has network statements of Lo0 and Lo1. I'm simulating a live production network that I manage. 

Friend R4 how know the R1 LO 

You need redistrubte ospf in bgp in R2 and R4

The static route in R3 only for traffic forward by R3 not R4 and R5

MHM

Hello,

post the full running configurations (sh run) of all five routers...

Harold Ritter
Cisco Employee
Cisco Employee

Hi @DSterling ,

The bottom line is that R1 does not have routes to reach R5 and vice versa. As you already use network statements on R2 and R4 to advertise local routes, you could add the following network statement to advertise R1 and R5 routes as well.

R2:

router bgp 2400

network 1.1.10.1 mask 255.255.255.255

network 1.1.11.1 mask 255.255.255.255

R4:

router bgp 4200

network 5.5.50.5 mask 255.255.255.255

network 5.5.51.5 mask 255.255.255.255

Dont forget also that when you ping from R1 to R5 or vice versa, you need to specify the source address as follow:

R1:

ping 5.5.50.5 source 1.1.10.1

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

DSterling
Level 1
Level 1

I found that I needed static route's on each router to all the physical interfaces and it works now (see below)  I can ping to redistributed OSPF route's on R1 and R5.  Thank you for all the help. 

R1: 
Ip route 192.168.23.0 255.255.255.0 192.168.12.2
Ip route 192.168.34.0 255.255.255.0 192.168.12.2
Ip route 192.168.45.0 255.255.255.0 192.168.12.2

R2:
Ip route 192.168.34.0 255.255.255.0 192.168.23.3
Ip route 192.168.45.0 255.255.255.0 192.168.23.3

R4:
Ip route 192.168.23.0 255.255.255.0 192.168.34.3
Ip route 192.168.12.0 255.255.255.0 192.168.34.3

R5:
Ip route 192.168.34.0 255.255.255.0 192.168.45.4
Ip route 192.168.23.0 255.255.255.0 192.168.45.4
Ip route 192.168.12.0 255.255.255.0 192.168.45.4

 

So now you can ping from R1 LO to R5 LO?

Sure No

But anyway 

Glad issue you solve for your running test 

Have a nice weekend 

MHM

Lab if you in feature decided to recheck your config 
redistrubte ospf into bgp 
and notice you need static route in R3 for Link between R1-R2 and for Link between R4-R5 if you dont specify source in ping.

MHM

Screenshot (726).pngScreenshot (727).pngScreenshot (728).pngScreenshot (729).pngScreenshot (730).pngScreenshot (731).png

MHM, 

Thank you for all your help. Yes I did have to add static routes for everywhere on R3, good catch Thank you again. 

 

Review Cisco Networking for a $25 gift card