[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: bicknell at ufp.org (Leo Bicknell)
- Date: Thu, 26 Oct 2017 12:19:43 -0700
- In-reply-to: <[email protected]>
- References: <[email protected]> <CAP-guGVLHrvhoqGZ8c3fZ5wO-zJyagx6WQhRPJ=5H=p=VKqh2Q@mail.gmail.com> <[email protected]>
In a message written on Thu, Oct 26, 2017 at 02:47:44PM -0400, Jason Lixfeld wrote:
> 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.
Imagine:
You are 1.
ISP is 2.
ISP's peers are 3 & 4.
Your B2B partner is 5.
There are paths:
1 2 3 5
1 2 4 5
If you prepend your ASN, you get:
1 1 2 3 5
1 1 2 4 5
No difference. If you send the ISP a prepend community for 3, you get:
1 2 3 3 5
1 2 4 5
And you just forced all traffic to the second, shorter path.
--
Leo Bicknell - bicknell at ufp.org
PGP keys at http://www.ufp.org/~bicknell/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 793 bytes
Desc: not available
URL: <http://mailman.nanog.org/pipermail/nanog/attachments/20171026/7b2cfa35/attachment.sig>