Try to make configuration below :
EIGRP - Distribute List
Now, What if the ip loopback R2, don't have to be appear in routing table R1? then we could make filtering route using distribute-list :
Now, What if the ip loopback R2, don't have to be appear in routing table R1? then we could make filtering route using distribute-list :
Now, seems that Ip loopback R2 isn't included in R1 routing table.
is there any other option to deny IP address in Eigrp ? Check this one :
Filtering - Prefix List
Filtering prefix list being used, if we decided to make a filtering based on its netmask. For example on R3 where prefix /24-/28 will be blocked.
You have to make several ip loopbacks in R3, ip loopback in R3 is used as client network.
It shown on R1 that routing table with /24-/28 prefix is not included in routing table.
Eigrp - Filtering ACL
Configure ip loopback in R1 the advertised into eigrp and then make filtering as odd/even numbers.
In R3, make access-list & distribute list which define odd/even numbers as shown below :
- R3(config)#access-list 1 permit 0.0.0.0 255.255.255.254 ----------------> it is which define even
- R3(config)#access-list 1 permit 0.0.0.1 255.255.255.254 ----------------> it is which define odd
Intergate that access-list on router eigrp1 on R3.
- R3(config-router)#distribute-list 1 in fa0/0
As shown in R3, routing table only receive network 10.10.10.0 with even prefix.
EIGRP - Filtering AD
Configure with bigger AD, for example 255
EIGRP - Filtering AD
Configure with bigger AD, for example 255
- R3(config)#access-list 2 permit 1.1.1.1
- R3(config)#router eigrp 1
- R3(config-router)#distance 255 0.0.0.0 255.255.255.255 2 ---> access-list 2