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

Pondering redistribution of routes into BGP

I'm working away at redistributing routes from OSPF/statics into BGP, and a thought popped up - when should I use "network" statements, when should I use "redistribute <OSPF|static>", and when should I use "redistribute <OSPF|static> route-map ..."?

One of the concepts we discussed in a BGP 3.2 course I attended was to divorce BGP from the IGP. Thus, I think it's a bad idea to use "redistribute <OSPF|static" on its own, but to use the more restricted form where I filter routes using route maps and access-control lists.

So, why use "network" statements instead of "redistribute ... route-map", or vice-versa?

In my particular instance, I'm using BGP across our WAN which is a VPN within carrier IP/MPLS environments - no Internet stuff, so it's tempting at times to ignore advice and use "redistribute <OSPF|static>" on its own without route filtering.

- bec

2 Replies 2

avillalva
Level 1
Level 1

Hi Rebecca,

Good question, without specific knowledge of your site the only thing that I would add is to ensure that you do not have two way redistribution.

For example I would use network statements if I also wanted to redistribute BGP into the IGP, which I would imagine you would want to do to some degree, even if it's just a default route.

HTH,

Andres

Jon Marshall
Hall of Fame
Hall of Fame

Hi Rebecca

We use BGP to peer with an SP's MPLS cloud and we use network statements to do this. This gives us more conrol over which networks we advertise to other sites. We considered using redistribution but chose not to as we redistribute routes received from BGP into our IGP (EIGRP) and we wanted to avoid any mutual redistribution problems.

Because we summarise most of our networks we can add a /25 vlan within one of our sites and there is no need to update the BGP advertisements but obviously if you add an entirely new range then you must remember to update the BGP network statements which you wouldn't have to do if you dynamically redistributed them.

If you do use redistribution into BGP it would be a good idea to use aggregate addressing in your advertisements. Without this a link flapping within one of your areas would get propogated to every other BGP router.

And as the previous poster mentioned, if you redistribute OSPF into BGP and BGP into OSPF then you shoudl utilise route-maps to enusre you do not create any routing loops in your network.

HTH

Jon

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card