Propagating a default route in eigrp
I just wondering about the different methods to propagate a default route
using eigrp.
Lets say i have my gateway router to the internet with the external port ip address 200.0.10.1/30, far side 200.0.0.2
So i have eigrp enabled
1) i could create a static route,
ip route 0.0.0.0 0.0.0.0 200.0.10.2
router eigrp 1
no auto
redistribute static metric xxxxx
2)
ip route 0.0.0.0 0.0.0.0 200.0.10.2
router eigrp 1
no auto
network 0.0.0.0
( I have seen this in a manual but it doesnt work for me,i'm using with 12.3, can someone confirm if it works on 12.4?)
3)
ip route 200.0.10.0 255.255.255.0 200.0.10.2
ip default-network 200.0.10.0
router eigrp 1
no auto
network 200.0.10.0
Any other ways i can do this that i'm missing?
I've seen under eigrp i can use "default-information" command, this can be used with an access-list.
I've created, access-list 1 deny 0.0.0.0 0.0.0.0
router eigrp 1
no auto
default-information in 1
After i clear eigrp neighbors, the default route reappears.
Anyone know how i can use this command?
using eigrp.
Lets say i have my gateway router to the internet with the external port ip address 200.0.10.1/30, far side 200.0.0.2
So i have eigrp enabled
1) i could create a static route,
ip route 0.0.0.0 0.0.0.0 200.0.10.2
router eigrp 1
no auto
redistribute static metric xxxxx
2)
ip route 0.0.0.0 0.0.0.0 200.0.10.2
router eigrp 1
no auto
network 0.0.0.0
( I have seen this in a manual but it doesnt work for me,i'm using with 12.3, can someone confirm if it works on 12.4?)
3)
ip route 200.0.10.0 255.255.255.0 200.0.10.2
ip default-network 200.0.10.0
router eigrp 1
no auto
network 200.0.10.0
Any other ways i can do this that i'm missing?
I've seen under eigrp i can use "default-information" command, this can be used with an access-list.
I've created, access-list 1 deny 0.0.0.0 0.0.0.0
router eigrp 1
no auto
default-information in 1
After i clear eigrp neighbors, the default route reappears.
Anyone know how i can use this command?
Networking, sometimes i love it, mostly i hate it.Its all about the $$$$
Comments
-
wildfire Member Posts: 654heres another way,
http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cg/hirp_c/ch07/erconfig.htm#wp1001283
I think your second question follows on from this, you want to deny this default route? using the link above you can also create a distribute-list to filter out what you do or dont require.Looking for CCIE lab study partnerts, in the UK or Online. -
BubbaJ Member Posts: 323To suppress EIGRP candidate information in incoming or outbound updates, use the no default-information in command.
-
EdTheLad Member Posts: 2,111 ■■■■□□□□□□BubbaJ wrote:To suppress EIGRP candidate information in incoming or outbound updates, use the no default-information in command.
Yeah, i tryed it but it didnt work.Maybe i 'll give it another shot.Networking, sometimes i love it, mostly i hate it.Its all about the $$$$ -
Yankee Member Posts: 157One way is a combo of your examples 1 and 3 where you use the default static on a border router, redistribute it and the default network command. On the rest of your network, use the default network command, while supreessing other all 0 routes with the no default-information in command.
Another more complicated way you can investigate is to tag a default route (as many as you want) then match the tag on your remote sites to vary where the traffic goes. Look it up, as this can be useful.
Yankee