Sean, the longest match is the first characteristic considered. So, using your example, IOS will choose the route that has the longest prefix match- only when they are the same will the decison come down to administratice distance between protocols.
P.S. Due to your connections can I get some Red Sox tickets? >From: "Sean Wolfe" >Reply-To: "Sean Wolfe" >To: [EMAIL PROTECTED] >Subject: longest match vs. other metrics [7:41692] >Date: Tue, 16 Apr 2002 22:08:54 -0400 > >Quick question, hope it's not too trivial: > >When a router decides to forward a packet based on the longest match >principle, does this supersede other factors? > >For example, if there is a route to network A via EIGRP, but a more >specific >route available via OSPF, does it choose OSPF because of longest match, or >EIGRP because of lower administrative distance (90 vs. 110)? > >Thanks folks, fun reading your posts as always. Wish me luck as I take BCSN >this week. -Sean. _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com Message Posted at: http://www.groupstudy.com/form/read.php?f=7&i=41703&t=41692 -------------------------------------------------- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]