cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
592
Views
0
Helpful
2
Replies

Route Question

mikemercer77
Level 1
Level 1

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

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 rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

View solution in original post

2 Replies 2

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 rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Thanks for the help!!