cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
339
Views
0
Helpful
1
Replies

BGP - How to advertise aggregate but use default route for unknown subnets?

James Hardman
Level 1
Level 1

Hi all,

 

Scenario:

 

MPLS Provider -----> WAN Router -----> Cloud Switch ------>Cloud Env.

 

Our MPLS provider provides us with specific RFC1918 and a default routes via BGP which are learnt via a WAN Router.  On the WAN Router, we aggregate the 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16 routes and advertise these (as well the specifics learnt from the MPLS Provider) to the Cloud Switch which only accepts the 3x aggregate routes (via route-maps).

 

The problem I have is our MPLS provider does not send EVERY subnet we own and we rely on the default-route capturing these non-specified routes.  Thus, although 10.2.0.0/24 is a valid subnet, that specific subnet is not learnt via BGP and the default route would normally capture this.  Currently, when a device within the Cloud Env, attempts to get to 10.2.0.0/24, the traffic hits the Cloud Switch, then goes to the WAN Router whereby the WAN Router routes it to Null0 as it's captured by the aggregate route; 10.0.0.0/8.

 

Is there a way of specifying on the router to advertise the aggregate route to peers but when it receives traffic which only matches the aggregate route and non-specific learnt ones, to send this traffic via the default route rather than routing it to Null0?

 

Thanks for your help!

 

Regards,

 

Jimmy

1 Reply 1

Hello,

 

just to be sure: you only have control over the WAN router ? My first thought would be to use an unsuppress-map, but that requires the more specific routes to be in the routing table of the WAN router.

 

Can you post the configuration of your WAN router ?

Review Cisco Networking products for a $25 gift card