06-10-2009 12:01 PM - edited 03-06-2019 06:11 AM
On our core switch we have a default route to the Internet as well as a number of static routes to VPN end hosts (via a firewall). When we redistribute static (eigrp), do all static routes get redistributed to the the eigrp routing table? even default routes to the Internet?
Is it best practice not to redistribute all routes, how would you block 0.0.0.0 0.0.0.0 as well as other static (or connected) routes?
06-10-2009 12:09 PM
Yes, all static routes will be redistributed into EIGRP. You can selectively redistribute routes into EIGRP by using a route-map.
HTH,
__
Edison.
06-10-2009 12:15 PM
Hello Ron,
you can decide what routes are injected in EIGRP domain by using a route-map:
router eigrp 100
default-metric 10000 1000 255 1 1500
redistribute static route-map selected_routes
route-map selected_routes permit 10
match ip address prefix routes_to_eigrp
you can use a prefix-list to specify what routes you want to be seen in the EIGRP domain or you can use an access-list.
don't add an empty second route-map block or every route will be redistributed:
the route-map like an ACL has an implicit deny any at the end and only routes matching the prefix-list or acl will be redistributed
to allow only routes in network 10.0.0/8 with prefix length between /25 and /23 you can use
ip prefix-list routes_to_eigrp permit 10.0.0.0/8 ge 23 le 25.
Actually default static routes are redistributed into EIGRP.
Hope to help
Giuseppe
06-16-2009 01:14 AM
you can also use distribute list static out 5 (where 5 is access-list no.),define all interesting traffic in access-list 5.
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