two Locations , same BGP AS number

Unanswered Question
May 15th, 2009

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

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Giuseppe Larosa Fri, 05/15/2009 - 12:42

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

Actions

This Discussion