cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
469
Views
5
Helpful
2
Replies

two Locations , same BGP AS number

mehrdad
Level 3
Level 3

Hi,

We have two locations with same AS number which they're connected to two different uplinks (one at Europe and another one at US) when we advertise local IP blocks at Europe location we can't see them at US location and vice versa so we have to use static route to solve this issue to uplink. is there any better solution for this issue?

Any advice would be appreciate.

Thanks,

Mehrdad

2 Replies 2

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Mehrdad,

this happens because a BGP speaker doesn't accept a prefix with an AS path attribute that already contains its own AS number.

There is a command that allows to override this behaviour:

neigh x.x.x.x allowas-in n

default n=1

Ideally you should connect the two connections with an EoMPLS service so that you can build an iBGP session.

This can be the best solution on the long term.

On the short term you can use that command on the eBGP session(s) with the upstream providers in the two locations:

notice

if you make use of AS path prepending on backup paths to be able to communicate in case of fault you need to specify a value that includes prepending

neigh x.x.x.x allowas-in n

default value if not specified is 1

Hope to help

Giuseppe

ANAND VALMIKI
Level 1
Level 1

Use the 'neighbor a.b.c.d allowas-in' command on both routers.

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: