redistribute default route to EIGRP?

I have the below setup. sw1, sw2, and sw3 are configured for EIGRP. sw3 has a default route pointed to the the FW (thus accessing the Internet). sw1 & sw2 will need to go through sw3 to get to the Internet. Is there a way to redistribute the default route on sw3 to EIGRP so that sw1 and sw2 know how to get to the Internet? Thanks

sw1_layer3<-->sw2_layer3<-->w2_layer3<-->FW<-->Internet
LVL 1
leblancAccountingAsked:
Who is Participating?
 
JustInCaseConnect With a Mentor Commented:
Create static default route and then redistribute it into EIGRP:

ip route 0.0.0.0 0.0.0.0 x.x.x.x
!
router eigrp 1
redistribute static metric 100 1 255 1 1500    <---- or default-metric 100 1 255 1 1500 (with whatever metric you want to assign)


By use of summary route on interface(s) to other devices:

router eigrp 1
network 10.0.0.0
!
interface fa0/1
no switchport
ip address 10.0.0.1 255.0.0.0
ip summary-address eigrp 1 0.0.0.0 0.0.0.0

Details in article - Configure Default-route in EIGRP
0
 
JustInCaseCommented:
Just for the record, the same also can be achieved by:

1.
ip route 0.0.0.0 0.0.0.0 fa0/0
!
router eigrp 1
 network 0.0.0.0
!
ip default-network 0.0.0.0              <--in this case edge router sends traffic to fa0/0 interface

edge router partial output
sh ip route

Gateway of last resort is X.X.X.X to network 0.0.0.0    

D*   0.0.0.0/0 [90/332800] via X.X.X.X, 00:00:17, FastEthernet0/0    <--- where X.X.X.X is address of router in direction of edge router

2. way (not having 0.0.0.0 0.0.0.0 route)

ip route 20.0.0.0 255.255.255.0 <next-hop>
!
router eigrp 1
redistribute static metric 100 1 255 1 1500
!
ip default-network 20.0.0.0

eigrp 1 non edge router partial output
sh ip route

Gateway of last resort is X.X.X.X to network 20.0.0.0

D*EX 20.0.0.0/8 [170/256053760] via X.X.X.X, 00:04:40, FastEthernet0/0        <--- where X.X.X.X is address of router in direction of edge router
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.