[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
What's the point of prepend communities?
- Subject: What's the point of prepend communities?
- From: bill at herrin.us (William Herrin)
- Date: Thu, 26 Oct 2017 15:05:25 -0400
- In-reply-to: <[email protected]>
- References: <[email protected]> <CAP-guGVLHrvhoqGZ8c3fZ5wO-zJyagx6WQhRPJ=5H=p=VKqh2Q@mail.gmail.com> <[email protected]>
On Thu, Oct 26, 2017 at 2:47 PM, Jason Lixfeld <jason+nanog at lixfeld.ca>
wrote:
> Hi Bill,
>
> > On Oct 26, 2017, at 2:37 PM, William Herrin <bill at herrin.us> wrote:
> >
> > BGP routing is based on "distance". Distance in BGP is primarily
> calculated as the number of ASNs in the AS Path. Prepends make a path more
> distance, encouraging routers to choose a different path if one is
> available.
>
> I understand how prepends fit in the context of best path selection, but
> my question was more the difference between a customer signalling the ISP
> to prepend their AS using a BGP community stamped to a prefix vs. the
> customer prepending their own AS instead.
>
>
Hi Jason,
You'd only use communities like that if you want to signal the ISP to
deprioritize your advertisement on a particular peer or set of peers but
not others. That's when you're getting fancy. It's not the norm. The norm
is you want to deprioritize one of your paths as a whole. Maybe that link
has less capacity or is enough better connected that it would always
override your other links unless you detune it a little.
I mean, you could tell the ISP to prepend everything based on a community,
assuming they support such a community, but why would you? That needlessly
makes things more complicated.
Regards,
Bill Herrin
--
William Herrin ................ herrin at dirtside.com bill at herrin.us
Dirtside Systems ......... Web: <http://www.dirtside.com/>