12-03-2009 10:20 PM - edited 03-04-2019 06:52 AM
Hi,
i have a wan router as shown s1-----ospf------R1----eigrp-------s2.
ospf is running on s1 interface and eigrp on s2 interface. i m learning many network from ospf domain ,but i m advertising eigrp summary as default route(default route 0.0.0.0/0) to eigrp domain.
My question is can we track ospf interface before advertising eigrp summary? , eg- if s1 interface is down then eigrp will not advertise default summary route on s2 interface.
Thanks in advance.
12-03-2009 10:46 PM
Hi,
Try to configure a default static route pointing out the S1 interface and then redistribute only this static route with a relevant ROUTE MAP in the EIGRP instance. If the s1 interface is down the default route will not been inserted in routing table and will not been advertised to EIGRP domain.
I have already tried this and it works!
Of course you can use the default route with object tracking for more accurate results!
Take a look below:
router eigrp 90
redistribute static route-map DEFAULT-ROUTE
!
!
ip route 0.0.0.0 0.0.0.0 s1
!
ip access-list standard DEFAULT-ROUTE
permit 0.0.0.0
deny any
!
!
route-map DEFAULT-ROUTE permit 10
match ip address DEFAULT-ROUTE
Hope help!
12-07-2009 12:41 AM
Thanks John , this is execllent solution.
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