cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5823
Views
5
Helpful
1
Replies

Redistribute Static without default route EIGRP

stamper.brian
Level 1
Level 1

I'm not sure why I can't find this anywhere as I assume its a pretty common thing.  I have a network where I need to redistribute some static routes (headed to a FW for remote site to site tunnel) into my EIGRP AS so they propogate to the rest of my LAN/WAN but do not want the default route to go with it.  Example would be:

My config has 3 static routes:

ip route 192.168.68.0 255.255.255.0 10.10.100.1 (Network on other side of Site to site VPN)

ip route 10.100.1.0 255.255.255.0 10.10.100.1 (Network on other side of Site to site VPN)

ip route 0.0.0.0 0.0.0.0 10.10.100.1 (DFGW for Local LAN to internet)

Now I want to redistribute ONLY the 192.168.68.0 and the 10.100.1.0 subnets into the EIGRP AS but not the static default? 

I assumed this info would be everywhere but my seraching hasn't found anything thus far.

1 Reply 1

Peter Paluch
Cisco Employee
Cisco Employee

Hi Brian,

Use the following configuration:

ip prefix-list NoDefRoute permit 0.0.0.0/0

!

route-map Static2EIGRP deny 10

match ip address prefix-list NoDefRoute

!

route-map Static2EIGRP permit 20

!

router eigrp N

redistribute static route-map Static2EIGRP

This kind of configuration matches the 0.0.0.0/0 network and denies it from being redistributed into EIGRP. All other static networks, present and future, will be redistributed.

Best regards,

Peter