01-26-2017 03:03 AM - edited 03-05-2019 07:54 AM
Hi All,
Please find the attached for network topology.
I've a problem with ospf routing protocol. If i'm use bgp everything running as well, no issue.
But when bgp was down at branch office, ospf is not working normally. Can't reach to Internet and Server to Vendor.
Example : from network 172.30.128.128/26 can reach to 172.22.0.0/20 but can't connect to internet and vendor 149.122.25.0/24
Please advice, how the correct configuration if i'm use ospf different process id and bgp.
Thank you
Regards
01-26-2017 09:53 AM
Hi Dayat,
Are you doing mutual redistribution at HQ between OSPF and BGP?
Cheers.
01-26-2017 07:38 PM
Dear Leonardo,
I'm redistribute ospf into bgp and vice versa at HQ router.
Here are the configuration.
Redistribute bgp into ospf.
router ospf 10
router-id 172.22.12.14
redistribute connected metric 10 subnets
redistribute bgp 65432 metric 10 metric-type 1 subnets route-map REJECT_BGP-OSPF
redistribute ospf 50 subnets
passive-interface default
no passive-interface Port-channel1.201
network 172.22.12.0 0.0.0.15 area 0
default-information originate
!
router ospf 50
redistribute ospf 10 subnets
network 1.2.47.0 0.0.0.7 area 20
default-information originate
!
Redistribute ospf to BGP
redistribute ospf 10 metric 10000
redistribute ospf 50 metric 10000
01-27-2017 02:02 PM
Hi Dayat,
I don't see BGP redistribution under OSPF process-id 50. Is it a typo?
Also, can you provide LSA 5 output from show ip ospf database of Branch office router?
Regards,
01-28-2017 04:21 AM
Interesting configuration.
Why is it necessary to run two OSPF processes? Especially since you are redistributing between the two. Why not run it as a single process?
Also, if with the Internet down at the branch site, trace routes to the Internet and server show only the first hop, which I assume is HQ, then chances are the next hop after HQ doesn't have the routes back. This would indicate that HQ may no longer be advertising the branch office network to them. That would be something to check.
It may be more involved than just that, but again, running a single OSPF process may rectify the situation.
01-29-2017 05:17 PM
With BGP down specific routes for the ISP or to the Server network, and probably also the default route, would not be distributed into the OSPF.
Internal routes would be present as part of the OSPF so the branch router would know how to get to HQ, but would have no way of knowing where to send traffic for the external sites.
01-26-2017 12:54 PM
Hello
What does a traceroute show from branch rtr
Do you have access to the HQ rtr - if so can you trace from there and from a source interface towards IVPN2
what does the route tables show for that branch subnet on HQ rtr
res
Paul
01-26-2017 07:48 PM
Hi Paul,
If i'm trace from HQ to branch, trace result complete. and vice versa.
But if I'm trace from branch to internet and server, only 1 hope to router. and ping result destination host unreachable.
Thank you
Regards
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