Openbsd: Bgp ospf conditional redistribute default - Router Forums
LinkBack Thread Tools Display Modes
post #1 of 4 (permalink) Old 02-01-2010, 12:13 PM Thread Starter
Join Date: Feb 2010
Posts: 2
Default Openbsd: Bgp ospf conditional redistribute default

I'm trying to distribute a default route to my intern network thought ospf, but still searching the way to do this with the short path...

BGP Provider A        BGP Provider B
       |                             |
       |                             |
    BGP A                      BGP B
       |                             |
       |                             |          | 
       |                             |          | 
    GW 1                        GW 3    GW 4
All BGP server have the full table of internet routing.
The BGP A and BGP B have a iBGP configured, and announce the x.y.0.0/20 network to providers.
The GWs and BGP A and BGP B have ospf daemon installed.
Gws announce the x.y.z.0/24 networks to all servers in the ospf.

In the beginning no default route was set for GWs.
I use the !route add -reject default command for the BGPA and BGPB. So now a have two default route for the GWs.

Now if i cut down the bgp session between the BGPs A, the default gateway of the GW still is the BGPA. I means the transit is:
GW1 -> BGP A -> BGP B -> BGP provider B

I would like what the ospf announce the default route only if the bgp session is active.

I miss something ?
Anyone know how to do what ?

Best Regards.
osg is offline  
Sponsored Links
post #2 of 4 (permalink) Old 02-01-2010, 12:34 PM
Registered User
BrianS's Avatar
Join Date: Nov 2004
Country: Canada
First Name: Brian
Posts: 2,413
Send a message via Skype™ to BrianS

Sorry Vincent... this forum is for Wood Working Routers.


Sometimes I wonder whether the world is being run by smart people who are putting us on
or by imbeciles who really mean it.

(Origin uncertain)
BrianS is offline  
post #3 of 4 (permalink) Old 02-01-2010, 12:41 PM
Retired Moderator
Bob N's Avatar
Join Date: Oct 2004
Country: United States
First Name: Bob
Posts: 5,688

Hi Vincent.... man are you ever lost
Bob N is offline  
Sponsored Links
post #4 of 4 (permalink) Old 02-02-2010, 07:01 AM Thread Starter
Join Date: Feb 2010
Posts: 2

So... seems to be.

I still have some problem with the english language !!
osg is offline  

Quick Reply

Register Now

In order to be able to post messages on the Router Forums forums, you must first register.
Please enter your desired user name, your email address and other required details in the form below.

User Name:
Please enter a password for your user account. Note that passwords are case-sensitive.


Confirm Password:
Email Address
Please enter a valid email address for yourself.

Email Address:


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page
Display Modes
Linear Mode Linear Mode

Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook Express problems BrianS Lobby 6 01-06-2008 07:23 AM

Posting Rules  
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

For the best viewing experience please update your browser to Google Chrome