cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5289
Views
0
Helpful
8
Replies

BGP - Same ASN, but different subnets

Hello

My customer has multiple sites, each with an internet connection using a different ISP for each site.

They also have their own public IP address range and AS# that will be used.

- For discussion, let's assume the range they own is 100.100.0.0/16 and they own AS# 999

The would like to sub-divide the public IP range over multiple sites, but use the same AS# for each site.

Site 1 would advertise 100.100.0.0/27 via asn 999 to ISP "A"

Site 2 would advertise 100.100.8.0/27 via asn 999 to ISP "B"

Site 3 would advertise 100.100.16.0/27 via asn 999 to ISP "C"

In a failure case, Site 1 would advert Site2's subnets .. etc

No Site would ever advert the whole 100.00.0.0/16 class B

Is it 'legal' to use the same ASN like this?

Thanks

2 Accepted Solutions

Accepted Solutions

Harold Ritter
Cisco Employee
Cisco Employee

Wes,

It is certainly "legal" to have three independant sites using the same ASN to advertise different prefixes. Here are a few questions for you.

1. Is there any need for inter-site communication?

2. Are any of these sites dual-homed?

3. In a case of failure, are you planning on the subnet for the other site to be announced automatically. It would probably be easier just to advertise the specific /27 from each site and then the full /16 (or an aggregate covering the 3 sites) as well from the 3 sites, which would provide full redundancy in case of failure.

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

View solution in original post

Wes,

You do not necessarily need to run iBGP in this scenario. Each router can run standalone and make its own routing decisions.

iBGP would only be required if the 3 routers needed to have a certain level of cohesion in making their routing decisions.

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

View solution in original post

8 Replies 8

Harold Ritter
Cisco Employee
Cisco Employee

Wes,

It is certainly "legal" to have three independant sites using the same ASN to advertise different prefixes. Here are a few questions for you.

1. Is there any need for inter-site communication?

2. Are any of these sites dual-homed?

3. In a case of failure, are you planning on the subnet for the other site to be announced automatically. It would probably be easier just to advertise the specific /27 from each site and then the full /16 (or an aggregate covering the 3 sites) as well from the 3 sites, which would provide full redundancy in case of failure.

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

Hi Harold

Thanks for answering.

1. Is there any need for inter-site communication?

###>>> Not via the Internet ... There is an internal/nat'd path for this if required.

2. Are any of these sites dual-homed?

###>> Each site has one ISP connection.

###>> Internet redundancy via the internal network.

3. In a case of failure, are you planning on the subnet for the other site to be anounced automatically.

### > yes .. that is the plan. Playing with both methods. Probably will use an aggregate as you described.

Again, thanks for the help !

Most ISP's wont allow prefixes lower than /24

Get it verified by the ISP as the /27 may get rejected by other upstream ISPs

Narayan

Arg... Those subnets were supposed to read /22 not /27.

Thanks!

I have a 2nd question on this.

In the case above the 3 sites are all part of the same ASN.

In this case, do all the routers in this ASN still need to be I-BGP peers ?

Diagram for the i-bgp peering question

Wes,

You do not necessarily need to run iBGP in this scenario. Each router can run standalone and make its own routing decisions.

iBGP would only be required if the 3 routers needed to have a certain level of cohesion in making their routing decisions.

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

Thanks Harold

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:

Review Cisco Networking products for a $25 gift card