03-23-2022 02:05 AM
if Cisco router has connected route as 10.10.10.0/24 and eigrp route as 10.10.10.0/30 in its routing table and we want to go to user 10.10.10.2 then Cisco router would select which route ?
as per me ,selected route is eigrp route due to prefix length
please share explanation and Cisco article also on such issue.
03-23-2022 02:20 AM
Hello,
you are correct, longest prefix wins.
Check the article below:
Route Selection in Cisco Routers
03-23-2022 12:20 PM
friend for your case and for feature use
show ip route 10.10.10.2
this give you exactly the path the router will elect to forward the packet.
03-23-2022 03:12 PM
Hello
@knaik99 wrote:
if Cisco router has connected route as 10.10.10.0/24 and eigrp route as 10.10.10.0/30
as per me ,selected route is eigrp route due to prefix length
Correct longest match is always preferred before admin distance.
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