Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Route Question

Hi I am adding routes to my core switches and had a quick question. If i have a route in place say 192.168.4.0 255.255.255.0 192.168.1.1 and i need to add another route 192.168.0.0 255.255.0.0 192.168.1.2 will the first route still work? or will it be ignored because of the 192.168.0.0 route?

Thanks for your help

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Route Question

Hello

The longest matched prefix is always preferred so in your case 192.168.4.0/24 is preferred over 192.168.0.0/16

Res
Paul

Sent from Cisco Technical Support iPad App

Please don't forget to rate any posts that have been helpful. Thanks.
2 REPLIES

Re: Route Question

Hello

The longest matched prefix is always preferred so in your case 192.168.4.0/24 is preferred over 192.168.0.0/16

Res
Paul

Sent from Cisco Technical Support iPad App

Please don't forget to rate any posts that have been helpful. Thanks.
New Member

Re: Route Question

Thanks for the help!!

122
Views
0
Helpful
2
Replies