Posts

Showing posts with the label Administrative Distance AD

Administrative Distance Vs Longest Prefix Match

please setup your lab similar to previous lab add this line to R2 router eigrp 1  passive-interface Serial0/0  network 10.1.1.0 0.0.0.255  network 172.16.2.0 0.0.0.3  no auto-summary ip route 192.168.0.0 255.255.0.0 172.16.2.1 now R2 have two routes to reach 192.168.1.1 via EIGRP with AD = 90 via static route with AD = 1 R2#sh ip route ... D     192.168.1.0/24 [90 /2323456] via 10.1.1.1, 00:05:57, FastEthernet0/0 S     192.168.0.0/16 [1 /0] via 172.16.2.1 guess.. which path will the router use to reach 192.168.1.1 ? some of you may though that it'll be static because it has AD = 1, let's test.. R2#traceroute 192.168.1.1 ..   1 10.1.1.1 4 msec 4 msec 4 msec   2 172.16.1.1 12 msec 12 msec *   unfortunately it choose to use route learn via EIGRP.. thru R3. This is because it prefer longest prefix match compare to AD destination : 192.168.1.1 EIGRP route = 192.168.1.0/24 Static route = 192.168.0.0/16 EIG...

EIGRP metric

Image
prepare the config as below  R1 interface Loopback0  ip address 10.10.10.1 255.255.255.255 ! interface Loopback1  ip address 10.239.1.1 255.255.255.0 ! interface Loopback2  ip address 10.239.2.1 255.255.255.0 ! interface Loopback3  ip address 10.239.3.1 255.255.255.0 ! interface Loopback4  ip address 10.239.4.1 255.255.255.0 ! interface Loopback5  ip address 10.239.5.1 255.255.255.0 ! interface Loopback6  ip address 10.239.6.1 255.255.255.0 ! interface Loopback7  ip address 10.239.7.1 255.255.255.0 ! interface Loopback8  ip address 10.239.8.1 255.255.255.0 ! interface Loopback9  ip address 10.239.9.1 255.255.255.0 ! interface Serial0/0  bandwidth 128  ip address 10.1.12.1 255.255.255.252  clock rate 128000 ! interface Serial0/1  bandwidth 128  ip address 10.1.13.1 255.255.255.252  clock rate 128000 ! router eigrp 1  network 10.1.0.0 0.0.255.255  network 10.10.10.1 0.0.0.0  netwo...