05-20-2013 05:02 AM - edited 03-04-2019 07:56 PM
Hello! I have two EIGRP routers - R1(192.168.0.1) and R2(192.168.0.2). R1 have two lo-interface. lo1 network - 1.1.1.0 is injecting to eigrp by using redistribut command. lo2-network - 2.2.2.0 is injecting to eigrp by using network command. As the result, R2 have following route table:
1.0.0.0/24 is subnetted, 1 subnets
D EX 1.1.1.0 [170/156160] via 192.168.0.1, 00:15:09, FastEthernet0/0
C 192.168.0.0 is directly connected, FastEthernet0/0
2.0.0.0/24 is subnetted, 1 subnets
D 2.2.2.0 [90/156160] via 192.168.0.1, 00:15:09, FastEthernet0/0
I am doing follow command:
access-list 10 permit 1.1.1.0 0.0.0.255
access-list 10 permit 2.2.2.0 0.0.0.255
router eigrp 100
distance 20 192.168.0.0 0.0.0.255 10
As the result, R2 have following route table:
1.0.0.0/24 is subnetted, 1 subnets
D EX 1.1.1.0 [170/156160] via 192.168.0.1, 00:15:09, FastEthernet0/0
C 192.168.0.0 is directly connected, FastEthernet0/0
2.0.0.0/24 is subnetted, 1 subnets
D 2.2.2.0 [20/156160] via 192.168.0.1, 00:15:09, FastEthernet0/0
AD for internal EIGRP network 2.2.2.0 is chsnging and equal 20. But AD for external network 1.1.1.0 isn't changing and equal 170. How set ad. distance for external eigrp?
Show access-list:
Standard IP access list 10
10 permit 1.1.1.0, wildcard bits 0.0.0.255 (2 matches)
20 permit 2.2.2.0, wildcard bits 0.0.0.255 (2 matches)
05-20-2013 05:22 AM
Hello,
you can use:
router eigrp
distante eigrp
!
It applies for all routes learned by EIGRP.
Regards.
05-20-2013 05:27 AM
Hi Egor,
If I remember correctly, you can not use the above method to modify the AD of EIGRP external routes. From what I know, you can only change the AD of all external routes summarily using the distance eigrp internalAD externalAD command. You can not make this modification specific to just a selected set of routes via an ACL.
Best regards,
Peter
05-21-2013 01:22 AM
Hi,
As Peter says, it is not possible to change the AD per prefix for EIGRP external routes. If you wan to make the routes less preferred, you may change the AD for all the external routes with distance eigrp or use an offset-list to select a set of routes, changing the metric instead of the AD.
Hope this helps,
Jose.
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