02-21-2011 03:40 AM - edited 03-04-2019 11:30 AM
02-21-2011 04:15 AM
Hello Abdul,
All the routes you are complaining about have their IP next hop set to 10.254.1.2. Is it reachable according to your current routing table?
Best regards,
Peter
02-21-2011 04:20 AM
yes
sh ip route 10.254.1.2
Routing entry for 10.254.1.0/24
Known via "connected", distance 0, metric 0 (connected, via interface)
Redistributing via bgp 65535
Advertised by bgp 65535
Routing Descriptor Blocks:
* directly connected, via Vlan719
Route metric is 0, traffic share count is 1
its also pingable. The thing is that there are more than those thee routes that are known from 10.254.1.2 but why are these three sticking in the routing table.
thanks
Abdul
02-21-2011 05:59 AM
Hi,
aren't you redistributing OSPF to BGP on your router?
Can you provide
sh ip bgp 10.90.41.0/24
output?
BR,
Milan
02-21-2011 06:06 AM
Hi,
can you do a
sh ip bgp 10.90.41.0 255.255.255.0
sh ip bgp 10.90.243.0 255.255.255.0
sh ip bgp 10.90.134.64 255.255.255.192
Regards.
alain.
02-21-2011 06:24 AM
ospf is redistributed into bgp..
yes here are the commands you wanted..
sh ip bgp 10.90.41.0
BGP routing table entry for 10.90.41.0/24, version 798777
Paths: (3 available, best #3, table Default-IP-Routing-Table)
Multipath: iBGP
Advertised to non peer-group peers:
10.15.250.1 10.15.250.2 10.15.255.11
Local
10.254.2.2 (metric 101) from 10.15.255.11 (10.15.255.11)
Origin incomplete, metric 20, localpref 100, valid, internal
64829, (received & used)
10.15.253.170 from 10.15.253.170 (10.15.253.170)
Origin incomplete, metric 20, localpref 100, valid, external
Local
10.254.1.2 from 0.0.0.0 (10.15.255.10)
Origin incomplete, metric 20, localpref 100, weight 32768, valid, sourced
sh ip bgp 10.90.243.0
BGP routing table entry for 10.90.243.0/24, version 798372
Paths: (3 available, best #3, table Default-IP-Routing-Table)
Multipath: iBGP
Advertised to non peer-group peers:
10.15.250.1 10.15.250.2 10.15.255.11
Local
10.254.2.2 (metric 101) from 10.15.255.11 (10.15.255.11)
Origin incomplete, metric 20, localpref 100, valid, internal
64829, (received & used)
10.15.253.170 from 10.15.253.170 (10.15.253.170)
Origin incomplete, metric 20, localpref 100, valid, external
Local
10.254.1.2 from 0.0.0.0 (10.15.255.10)
Origin incomplete, metric 20, localpref 100, weight 32768, valid, sourced, best
#sh ip bgp 10.90.134.64 255.255.255.192
BGP routing table entry for 10.90.134.64/26, version 798376
Paths: (3 available, best #3, table Default-IP-Routing-Table)
Multipath: iBGP
Advertised to non peer-group peers:
10.15.250.1 10.15.250.2 10.15.255.11
Local
10.254.2.2 (metric 101) from 10.15.255.11 (10.15.255.11)
Origin incomplete, metric 20, localpref 100, valid, internal
64829, (received & used)
10.15.253.170 from 10.15.253.170 (10.15.253.170)
Origin incomplete, metric 20, localpref 100, valid, external
Local
10.254.1.2 from 0.0.0.0 (10.15.255.10)
Origin incomplete, metric 20, localpref 100, weight 32768, valid, sourced,
02-21-2011 06:57 AM
Hi,
which means:
You had received the prefix via OSPF first and redistributed that to BGP.
Even if received from the eBGP neighbor, it would not win, as the 32768 weight would beat the received prefix.
But it seems your eBGP router is not sending the prefix to you, as you had sent your prefix to him first and he realized it had better BGP attributes (AS_PATH might be the reason) than the same prefixes received from the backbone.
So IMHO, you need to tune your OSPF to BGP redistribution - block the prefixes from redistribution or decrease the weight while redistributed
(see similar recent thread https://supportforums.cisco.com/message/3298132#3298132).
Don't forget to clear your BGP sessions (soft at least) then.
HTH,
Milan
02-21-2011 05:00 PM
Milan, I thought the same but you are way quicker than me ;-)
Abdul,
To test this what you can do on your router is to put a filter on your ospf process to stop learning one of the below sunbets via your ospf neighbor and see if you receive it from your eBGP neighbor. If you still dont receive it then I guess you need to check with your eBGP peer whether they are advertising it. But, if you see it in the bgp table then you could do something what Milan has suggested by reducing the weight to 0 and local pref to 90 or something or maybe nost advertise it back( you dont want to advertise the same network to the peer you learned from)
10.90.41.0 255.255.255.0
10.90.243.0 255.255.255.0
10.90.134.64 255.255.255.192
HTH,
Regards,
Please rate if helpful
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide