10-20-2009 06:55 PM - edited 03-04-2019 06:26 AM
I am advertising the default route from my firewall into OSPF. I am then redistributing my OSPF into my MPLS private BGP to my branches. Everything is redistributing except for my OSPF default route. I have the redistribute statement as redistribute ospf 100 match external 1 external 2. The OSPF default route is a metric-type 2.
Is there a way to do this?
Solved! Go to Solution.
10-20-2009 07:08 PM
You can't redistribute a default into BGP.
Couple of options:
1) Use the network 0.0.0.0 under the BGP process.
Note: 0.0.0.0 must be in the routing table
2) Default-information originate
Same as note as above..
3) Default-Originate on the neighbor. With this approach, you don't need a 0.0.0.0 in the routing table.
Regards
Edison.
10-20-2009 07:08 PM
You can't redistribute a default into BGP.
Couple of options:
1) Use the network 0.0.0.0 under the BGP process.
Note: 0.0.0.0 must be in the routing table
2) Default-information originate
Same as note as above..
3) Default-Originate on the neighbor. With this approach, you don't need a 0.0.0.0 in the routing table.
Regards
Edison.
10-20-2009 07:23 PM
Right now I have the 0.0.0.0 network statement under the BGP process at my main office.
At my DR site I am also advertising the default route in OSPF with a higher metric. I wanted to be able to failover outbound across the MPLS if one of the gateways went down..At my DR site should I also advertise the 0.0.0.0 in the BGP process. Would I use a route map to make it a lower priority?
10-20-2009 07:28 PM
If you are bringing 2 defaults into BGP, you will need to use the BGP attributes to prefer one default over the other.
http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080094431.shtml
Regards
Edison
10-20-2009 08:05 PM
I tried this but no dice, I did a clear soft, but it did't change the weight to 200. Any ideas?
router bgp 65001
network 0.0.0.0 route-map bgpdefaultroute
route-map bgpdefaultroute permit 10
match ip access bgpdefaultroute
set weigth 200
ip access-list extended bgpdefaultroute
permit ip any any
10-20-2009 08:14 PM
WEIGHT is local to the router and it applies to routes received via BGP from other routers.
I recommend using AS_Prepend outbound on the DR site to the MPLS network.
10-21-2009 05:10 AM
Thank you.
Prepending worked like a charm.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide