cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3580
Views
0
Helpful
7
Replies

BGP Multiple Default routes, specific for each region and backup of each other

matarasov
Level 1
Level 1

I have a BGP/routing/design question.

Here is the example: we have remote offices in the US, Asia and Africa that go into MPLS cloud, we run BGP with our ISP. We also have 3 data centers in each region, that have ineternet exit points.   Right now we have only 1 default route that is advertised into the MPLS cloud so every office accesses Internet from one location, Asia.

My question is, what can I do to setup 3 default routes, 1 for each region.  Where, US will be primary only for US offices, Africa default route only for AF offices and same for the Asia , but the Asia will be the backup for both?

We use different AS# for each locations.

Thanks,

2 Accepted Solutions

Accepted Solutions

milan.kulik
Level 10
Level 10

Hi,

that's not so easy, as each CE router will receive only one best route advertised by the PE router.

IMHO, you need to ask your MPLS provider  to tag the default prefixes received from each data centre (using communities, e.g.) and configure PE routers in each region to choose the proper default route prefix based on those tags.

Or generally: do you need a default route to access the Internet?

Isn't it safer to use a proxy in each data centre?

HTH,

Milan

View solution in original post

I agree with Milan that each CE router will receive only one best route advertised by the PE router. I believe that PE should choose the closest route [locally advertised in the region] as the best route should we start advertising default from all three locations, should it not?

Data Centers can use local exit point and rely on MPLS provided backup.

Thanks.

View solution in original post

7 Replies 7

rais
Level 7
Level 7

You should simply start advertising these defaults into the network. Depending upon BGP attributes, offices will pick the best exit route + provide redundancy automatically.

Rais.

How can I make sure 172.17.0.0/16 will pick Africa default route, 172.18.0.0/16 will pick Asia and 172.19.0.0/16 will pick US.

As mentioned, you have exit points in each region. A local route will be preferred over distant route. Whether you are using iBGP or IGP in your network, your metrics for each route would change with each hop and should reflect preference for a given default route.

What is making you think it wouldn't work?

Thanks.

milan.kulik
Level 10
Level 10

Hi,

that's not so easy, as each CE router will receive only one best route advertised by the PE router.

IMHO, you need to ask your MPLS provider  to tag the default prefixes received from each data centre (using communities, e.g.) and configure PE routers in each region to choose the proper default route prefix based on those tags.

Or generally: do you need a default route to access the Internet?

Isn't it safer to use a proxy in each data centre?

HTH,

Milan

I agree with Milan that each CE router will receive only one best route advertised by the PE router. I believe that PE should choose the closest route [locally advertised in the region] as the best route should we start advertising default from all three locations, should it not?

Data Centers can use local exit point and rely on MPLS provided backup.

Thanks.

Hi,

I believe that PE should choose the closest route [locally advertised in the region] as the best route

Not necessarilly.

I remember a very similar case when a US site used a default route advertised from London instead of the one advertised from New Jersey :-(

Don't forget PE router is chosing the best path based on BGP attributes.

Which depend on the ISP infrastructure sometimes - the lenght of the AS_PATH might be increased in some regions, e.g.

should we start advertising default from all three locations, should it not?

Well, you can try to advertise some dumb subnet from all data centres as a test.

You would see which path would each remote site use to route to the dumb subnet.

And probably the same path would be chosen for the default route when advertised.

But without the provider involved you are still not sure it will not change with some possible infrastructure change.

And also the second original request

US will be primary only for US offices, Africa default route only for AF offices and same for the Asia , but the Asia will be the backup for both.

can't be fulfilled without the provider involved, I'm afraid.

BR,

Milan

Thanks, it makes sense to involve the ISP, just want to know if we could avoid that or if anyone did that already.

Proxy wont work for our setup.

Thanks,

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: