[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

BGP + OSP problem - Cisco

Posted on 2012-09-12
8
Medium Priority
?
561 Views
Last Modified: 2012-09-19
Topology attached.


Problem: R31 (and then ISP2) do not learn about BGP 25.25.25.25 from R32

Some show commands:

show ip bgp summary

R17#sh ip bg sum
BGP router identifier 192.168.200.2, local AS number 9000
Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
192.168.200.1   4  9000      70      14       90    0    0 00:09:50        5
192.168.200.3   4  9000      52      14       90    0    0 00:09:57        5


R32#sh ip bg su
BGP router identifier 192.168.200.1, local AS number 9000
Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
5.5.5.1         4 10000      19      54      100    0    0 00:11:27        6
192.168.1.2     4  9000      41      77      103    0    0 00:11:36        5
192.168.200.2   4  9000      15      77      103    0    0 00:10:57        1
192.168.200.3   4  9000      57      76      103    0    0 00:10:38        5



R31#sh ip bg sum
BGP router identifier 192.168.3.2, local AS number 9000
Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
6.6.6.1         4 20000      22      40       53    0    0 00:13:02        6
192.168.1.1     4  9000      84      46       55    0    0 00:12:40        5

Open in new window



i am redistributing bgp into ospf on R17 by using: redistribute bgp 9000 subnets.

That is why I've got ' RIB-failure' on R32. But I 've read it should NOT stop bgp neighbors from advertising this network.

here is 'sh ip bgp'


R32#sh ip bgp
BGP table version is 130, local router ID is 192.168.200.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
r> 5.5.5.0/30       5.5.5.1                  0             0 10000 i
* i6.6.6.0/30       33.33.33.1               0    100      0 40000 30000 20000 i
*>                  5.5.5.1                                0 10000 30000 20000 i
* i                 6.6.6.1                  0    100      0 20000 i
* i15.15.15.0/30    33.33.33.1               0    100      0 40000 30000 20000 i
*>                  5.5.5.1                                0 10000 30000 20000 i
* i                 6.6.6.1                  0    100      0 20000 i
* i16.16.16.0/30    33.33.33.1               0    100      0 40000 30000 i
*>                  5.5.5.1                                0 10000 30000 i
* i                 6.6.6.1                  0    100      0 20000 30000 i
* i17.17.17.0/30    33.33.33.1               0    100      0 40000 30000 i
*>                  5.5.5.1                                0 10000 30000 i
* i                 6.6.6.1                  0    100      0 20000 30000 i
r>i25.25.25.25/32   192.168.200.2            0    100      0 i
*>i33.33.33.0/30    33.33.33.1               0    100      0 40000 i
*                   5.5.5.1                                0 10000 30000 40000 i
* i                 6.6.6.1                  0    100      0 20000 30000 40000 i




R31#sh ip bgp
BGP table version is 69, local router ID is 192.168.3.2
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
*  5.5.5.0/30       6.6.6.1                                0 20000 30000 10000 i
*>i                 5.5.5.1                  0    100      0 10000 i
r i6.6.6.0/30       5.5.5.1                  0    100      0 10000 30000 20000 i
r>                  6.6.6.1                  0             0 20000 i
* i15.15.15.0/30    5.5.5.1                  0    100      0 10000 30000 20000 i
*>                  6.6.6.1                  0             0 20000 i
* i16.16.16.0/30    5.5.5.1                  0    100      0 10000 30000 i
*>                  6.6.6.1                                0 20000 30000 i
* i17.17.17.0/30    5.5.5.1                  0    100      0 10000 30000 i
*>                  6.6.6.1                                0 20000 30000 i
*> 33.33.33.0/30    6.6.6.1                                0 20000 30000 40000 i


R31#sh ip route | i 25.25.25.25
O E2    25.25.25.25 [110/1] via 192.168.3.1, 00:16:41, FastEthernet1/0

Open in new window


R31 cannot see 25.25.25.25 from bgp, it can see it from ospf only and as a result ISP2 does not see it either. On the other hand ISP1 can see 25.25.25.25 in its routing table.
Why? And how to fix it so ISP2 knows about 25.25.25.25
bgp-problem.png
0
Comment
Question by:m1979
  • 4
  • 4
8 Comments
 
LVL 32

Expert Comment

by:harbor235
ID: 38394661
Well OSPF has a lower Administrative distance so it will prefer OSPF for router 25.25.25.25


harbor235 ;}
0
 

Author Comment

by:m1979
ID: 38396318
that is correct harbor235 but does not explain why R31 did not learn about bgp route from R32. As a result - ISP2 which is bgp router only does not have a direct bgp route to 25.25.25.25
0
 
LVL 32

Expert Comment

by:harbor235
ID: 38399151
Filters?


harbor235 ;}
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Comment

by:m1979
ID: 38399171
No, nothing like this. I sorted it by creating a neighbour between R31 and R17 but... it should work without it?
0
 
LVL 32

Assisted Solution

by:harbor235
harbor235 earned 900 total points
ID: 38399468
Can you verify you are advertising it outbound?

show ip bgp regexp ^$   - your route show show up her eif it is being advertised



harbor235 ;}
0
 

Accepted Solution

by:
m1979 earned 0 total points
ID: 38399876
Found it on a different board - split horizon iBGP.

Thx harbor235
0
 
LVL 32

Expert Comment

by:harbor235
ID: 38399912
AAh, you did not say iBGP and I did not look to deeply into your configs and I assumed eBGP.  

good luck,

harbor235 ;}
0
 

Author Closing Comment

by:m1979
ID: 38412915
sorted
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

While it is possible to put two routes in place with the secondary having a higher metric, this may not always work. In the event of a failure that does not bring down the physical interface on the router the primary route is not removed. There is a…
Hello , This is a short article on how would you go about enabling traceoptions on a Juniper router . Traceoptions are similar to Cisco debug commands but these traceoptions are implemented in Juniper networks router . The following demonstr…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question