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

Some query about router

Hi team,

We are getting this 2 route

over static: 10.10.0.0/16

Over bgp : 10.10.10.20/28

1) Pls confirm whether both will be installed in my route table

2) for traafic with dest: 10.10.10.25 will take my bgp route ?

3) fopr traffic with dest: 10.10.57.5 will take my static route >

Br/Subhojit

  • LAN Switching and Routing
1 REPLY
VIP Purple

Some query about router

Routing is done based on the longest match. With both routes installed (the bgp route will only be installed when the route is valid) then a packet to 10.10.10.25 will match the BGP-route with a longer match then the static route. So the BGP-route is used. A packet for 10.10.57.5 that won't match a learned route from a routing-protocol will match your static route and that one is used for the packet.

-- 
Don't stop after you've improved your network! Improve the world by lending money to the working poor:
http://www.kiva.org/invitedby/karsteni

-- Don't stop after you've improved your network! Improve the world by lending money to the working poor: http://www.kiva.org/invitedby/karsteni
91
Views
0
Helpful
1
Replies
This widget could not be displayed.