Saturday 1 February 2020

EIGRP Filtering with AD


We have filtered the R6 loopback on R2, R3 and R4's S0/0.14 but BB2 will be getting the loopback address from R4. Because R4 will be learning the loopback from s0/1 directly connected  interface.
So we want to filter R6 loopback on BB2's ip routing table. This we can achieve filter with AD value.

BB2#sh ip route 150.6.6.0
Routing entry for 150.6.6.0/24
  Known via "eigrp 100", distance 90, metric 2277376, type internal
  Redistributing via eigrp 100
  Last update from 155.1.42.4 on FastEthernet0/0, 00:00:02 ago
  Routing Descriptor Blocks:
  * 155.1.42.4, from 155.1.42.4, 00:00:02 ago, via FastEthernet0/0
      Route metric is 2277376, traffic share count is 1
      Total delay is 24200 microseconds, minimum bandwidth is 1544 Kbit
      Reliability 255/255, minimum MTU 1500 bytes
      Loading 1/255, Hops 3

To filter with AD. We should create a access-list and add the distance/ AD value.

BB2#sh run | in acces
access-list 1 permit 150.6.6.0 0.0.0.255
!
 ip summary-address eigrp 100 222.1.0.0 255.255.248.0 5 leak-map hide
router eigrp 100
 network 0.0.0.0
 distance 255 155.1.42.4 0.0.0.0 1
 no auto-summary
BB2#sh ip route 150.6.6.0
% Network not in table

BB2#ping 150.6.6.6
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 150.6.6.6, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 196/308/436 ms

Ping is reachable amazed its not magic its because we having the default route.

No comments:

Post a Comment