ā01-05-2017 06:20 AM - edited ā03-05-2019 07:47 AM
Hi all,
i have router 892f and connect to my ISP, using BGP and divided into 2 links (different VLAN).
the BGP state was established in both of peers, also can receive prefix from ISP. but it still cannot advertise any prefix to ISP.
when i check show ip bgp neighbors advertised-routes on both of peers it says total number of prefixes 0.
i attach the config (use different IP)
please advise
Regards,
Ahmed
Solved! Go to Solution.
ā01-05-2017 06:30 AM
Ahmed
Try adding the mask to your network statements and let us know if the behavior changes.
network 10.10.10.0 mask 255.255.255.0
network 10.10.11.0 mask 255.255.255.0
HTH
Rick
ā01-05-2017 06:30 AM
Ahmed
Try adding the mask to your network statements and let us know if the behavior changes.
network 10.10.10.0 mask 255.255.255.0
network 10.10.11.0 mask 255.255.255.0
HTH
Rick
ā01-05-2017 06:40 AM
Hi,
You need to add the IP address of the provider in the show command:
sh ip bg neighbors xx.xx.xx.xx advertised-routes
Also, what is the public IP segment you are trying to advertise?
HTH
ā01-05-2017 06:47 AM
Hello
just like to add to Richards post
I would also suggest to disable auto-summary and remove the soft-configuration inbound feature as later ios support the more upto date route refresh feature and is less process intensive
lastly what is your thinking behind as -pre-pending on both isp peers?
res
paul
ā01-05-2017 06:57 AM
Hi Paul,
thanks for your help, when i remove soft-rreconfiguration inbound it says % Inbound soft reconfiguration not enabled on x.x.x.x
i know those command will double up memory consumption, but i have to add that so i can receive prefix.
please advise
ā01-05-2017 02:06 PM
Hi rick,
Thanks for guide, it was can send prefix.
I've configured loopback address as you see in my config but after bgp established and advertised i still cannot ping the loopback0 from internet. I did sh ip int bri loopback0 is up.
Fyi gi9 still down
Please advise
ā01-05-2017 02:42 PM
Ahmed
If gi9 is still down then you would not advertise it to the BGP peers. But if the loopback is up/up then you should be advertising its address. Can you check the output from show ip bgp neighbors advertised-routes and verify that you are advertising the address of the loopback.
HTH
Rick
ā01-05-2017 06:22 PM
Hi,
i do sh ip bgp x.x.x.x neigh advertiseed-routes, it says
sh ip bgp neighbors 20.10.10.197 advertised-routes
BGP table version is 44342, local router ID is 10.10.10.1
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
*> 10.10.10.0/24 0.0.0.0 0 32768 i
*> 10.10.11.0/24 0.0.0.0 0 32768 i
Total number of prefixes 2
ā01-05-2017 06:53 PM
Why are you advertising private IP segments to your provider? If they have provided you a public segment, that need to be advertised to them.
HTH
ā01-05-2017 07:03 PM
Hi reza,
thanks for help, actually i use public ip, i change the public ip to private ip just for posting on this forum, because this is public forum
ā01-05-2017 07:24 PM
Hi Ahmad,
Thanks for clarification.
ā01-06-2017 07:13 AM
Ahmed
Your config shows that there are two BGP peers. Your output shows that you are advertising two prefixes to one peer. Are your two prefixes being advertised to both peers and you showed us only one of them, or is it that you are advertising to only one peer (which might have something to do with not being able to ping to your loopback)?
If you attempt to ping something in the Internet from your router and specify the source address to be your loopback address does that ping work?
HTH
Rick
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