Solved

Redistribution of OSPF Routes into BGP

Posted on 2013-06-25
4
885 Views
Last Modified: 2013-06-25
Hi Experts,

We have a small, three-site network, and we're migrating to an MPLS cloud for site connectivity. Starting at the internet and working in, each site will look like this:

Internet --> Internet Provider Router --> Firewall --> LAN Router --> MPLS Provider Router --> MPLS Cloud

The firewall and LAN router at each site participates in OSPF and is a part of area 0. Each site needs to redistribute their OSPF routes into BGP, and we are unfamiliar with how to do this.

Here is our OSPF config from one site/router:

router ospf 1
 log-adjacency-changes
 network 192.168.16.0 0.0.7.255 area 0
 network 192.168.50.0 0.0.0.255 area 0
 network 192.168.117.0 0.0.0.255 area 0

It seems that the only command to redistribute these routes into BGP is this:

router bgp 100
 redistribute ospf 1

Can someone please confirm if this is correct or if anything else is needed? Are there any other considerations?

Thanks!
0
Comment
Question by:meade470
  • 2
  • 2
4 Comments
 
LVL 28

Expert Comment

by:Jan Springer
Comment Utility
Honestly, stability is better with BGP.

I would nail down the networks using a static route to null with a distance of 250 (if they're present in OSPF, the 110 will win) instead of redistributing OSPF into BGP.
0
 
LVL 2

Author Comment

by:meade470
Comment Utility
Thanks for the quick response. We're CCNA-like beginners with routing protocols. Could you elaborate on that a bit, please?
0
 
LVL 28

Accepted Solution

by:
Jan Springer earned 500 total points
Comment Utility
ip route 192.168.0.0 255.255.255.0 null 0 250

router bgp 65535
 network 192.168.0.0 mask 255.255.255.0


For a subnet to be announced via BGP, it must be in the routing table via an interior routing protocol.  I don't like my BGP to churn and my prefixes to be dampened if possible and so I nail down the null routes and identify the network to be announced in BGP.

I usually take that a step further and use a prefix-list to identify what I would like to announce so that I am not announcing my eBGP neighbor's prefixes to another eBGP neighbor.
0
 
LVL 2

Author Closing Comment

by:meade470
Comment Utility
Thanks for the insight!
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

As dyndns has reduced the capabilities of the free service, I looked around for other free providers of Dynamic DNS service. After testing several I decided to move my DNS hosting to Hurricane Electric as then domains that require dynamic hostnam…
Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now