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
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 127.0.0.1 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 ?
Last edited by J65nko; 1st February 2010 at 07:34 PM. Reason: Attempt to fix the diagram with [noparse][code][/noparse] tags
|Thread||Thread Starter||Forum||Replies||Last Post|
|Default terminal color||disappearedng||FreeBSD General||5||21st February 2012 01:28 AM|
|how APM & ACPI duke it out to be the default||ocicat||OpenBSD General||0||23rd June 2009 04:05 AM|
|Default message coloration||cyril||OpenBSD Installation and Upgrading||5||6th June 2009 02:13 PM|
|change default font of the X||rex||FreeBSD General||2||26th October 2008 05:54 PM|
|apache 2.2.8 , is it on chroot by default?||superslot||OpenBSD Security||9||30th June 2008 11:56 AM|