[j-nsp] General BGP question, single asn multi location

Per Granath per.granath at gcc.com.cy
Wed Jul 25 05:26:02 EDT 2012


> On Wed, Jul 25, 2012 at 01:32:50AM -0700, Morgan McLean wrote:
> > So I have a single ASN and two sites that do not peer directly with
> > each other, but have eBGP with providers.
> >
> > Site A takes full routes, advertises a /24 Site B takes defaults only,
> > advertises a /24
> >
> > I notice I do not get the route advertised at site B by any of my
> > providers at site A. Is this due to a general misconfiguration of BGP?
> > Are they not sending me routes from my own ASN?
> 
> You're hitting BGP loop prevention by means of AS_PATH.
> 
> Solution:
> http://www.juniper.net/techpubs/en_US/junos11.4/topics/reference/confi
> guration-statement/loops-edit-protocols-bgp-family.html
> 
> "loops 2" is your friend.
> 

This will make your customer router accept its own AS.

However, the ISP router, depending on vendor, may also need to be configured to advertise these prefixes:
http://www.juniper.net/techpubs/en_US/junos12.1/topics/reference/configuration-statement/advertise-peer-as-edit-protocols-bgp.html




More information about the juniper-nsp mailing list