-02 submitted

This commit is contained in:
Randy Bush 2022-02-17 13:10:18 -08:00
parent ad51fe351f
commit 73a8959625

View file

@ -11,7 +11,7 @@
<?rfc tocindent="yes"?> <?rfc tocindent="yes"?>
<?rfc tocompact="yes"?> <?rfc tocompact="yes"?>
<rfc consensus="yes" category="bcp" docName="draft-ymbk-grow-bgp-collector-communities-02" submissionType="IETF" ipr="noDerivativesTrust200902" obsoletes="4384"> <rfc consensus="yes" category="bcp" submissionType="IETF" docName="draft-ymbk-grow-bgp-collector-communities-02" ipr="trust200902" obsoletes="4384">
<front> <front>
@ -50,23 +50,23 @@
<abstract> <abstract>
<t>When BGP route collectors such as RIPE RIS and Route Views are <t>When BGP route collectors such as RIPE RIS and Route Views are
used by operators and researchers, currently one can not tell if a used by operators and researchers, currently one can not tell if the
path announced to a collector is from the ISP's customer cone, an collection of paths announced to a collector represents the ISP's
internal route, or one learned from peering or transit. This customer cone, includes internal routes, includes paths learned from
greatly reduces the utility of the collected data. This document peerings or transits. This greatly reduces the utility of the
specifies the use of BGP communities to differentiate the kinds of collected data. This document specifies the use of BGP communities
views being presented to the collectors.</t> to differentiate the kinds of views being presented to the
collectors.</t>
</abstract> </abstract>
<note title="Requirements Language"> <note title="Requirements Language">
<t>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL <t>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
are to be interpreted as described in "OPTIONAL" in this document are to be interpreted as described in
<xref target="RFC2119"/> only when they appear in all upper BCP 14 <xref target="RFC2119"/> <xref target="RFC8174"/> when,
case. They may also appear in lower or mixed case as English and only when, they appear in all capitals, as shown here.</t>
words, without normative meaning.</t>
</note> </note>
@ -77,58 +77,59 @@
<section anchor="intro" title="Introduction"> <section anchor="intro" title="Introduction">
<t>BGP route collectors such as <xref target="ris">RIPE RIS</xref> <t>BGP route collectors such as <xref target="ris">RIPE RIS</xref>
and and <xref target="rviews">Route Views</xref> are used by both
<xref target="rviews">Route Views</xref> are used by both operators and researchers. Unfortunately, one can not tell paths
operators and researchers. Unfortunately, one can not tell if a announced to a collector are solely from the ISP's customer cone
path announced to a collector is from the ISP's customer cone (one's own prefixes and the closure of those to whom transit is
(one's own prefixes and the closure of those to whom transit is provided; i.e. what one would announce to a peer), include internal
provided; i.e. what one would announce to a peer), an internal routes (e.g. inter-router links), or external paths learned via
route, or an external route learned via peering or transit. This peering or transit. This greatly reduces the utility of the
greatly reduces the utility of the collected data, and has been a collected data, and has been a cause of much pain over the years.
cause of much pain over the years. This document specifies the This document suggests the use of BGP communities to differentiate
use of BGP communities to differentiate between these between these categories.</t>
categories.</t>
<t>In 2006, <xref target="RFC4384"/> attempted a similar goal but <t>In 2006, <xref target="RFC4384"/> attempted a similar goal but
failed to gain traction in the operational community. We believe failed to gain traction in the operational community. We believe
this was due to its unnecessary complexity. This document this was due to its unnecessary complexity. This document proposes
proposes a much simpler marking scheme and, if published, will two much simpler marking schemes and, if published, will obsolete
obsolete <xref target="RFC4384"/>.</t> <xref target="RFC4384"/>.</t>
</section> </section>
<section anchor="rationale" title="Rationale"> <section anchor="rationale" title="Rationale">
<t>When an operator uses a collector to look at an ISP's <t>When an operator uses a collector to look at an ISP's
announcement of a prefix, it is very useful to know if the ISP announcement of a prefix, it is very useful to know if the ISP also
also announced it to their customers and/or peers/transits. announced it to their customers and/or peers/transits. Researchers
Researchers want to differentiate similarly in order to understand want to differentiate similarly in order to understand expected
expected route propagation.</t> route propagation.</t>
<t>One usually wishes to ignore any internal-only routes an ISP may <t>One usually wishes to ignore any internal-only routes, e.g.
announce to the collector, as they would not be announcing them to inter-router point-to-point links, an ISP may announce to the
peers, transits, or customers.</t> collector, as they would not be announcing them to peers, transits,
or customers. I.e. they would not be used operationally.</t>
<t>An ISP is expected to announce customer routes to their <t>An ISP is expected to announce customer routes to their
customers, and announce customer routes to their external peers customers, and announce customer routes to their external peers and
and transits.</t> transits.</t>
<t>In general, one does not need to differentiate whether the ISP <t>In general, one does not need to differentiate whether the ISP
will announce to peers or transits; and the ISP may not wish to will announce to peers or transits; and the ISP may not wish to
expose the business relationships with external providers. So we expose the business relationships with external providers. So this
do not propose to differentiate peers from transit providers.</t> document do not propose to differentiate peers from transit
providers.</t>
</section> </section>
<section anchor="categories" title="Categories"> <section anchor="categories" title="Categories">
<t>We define only three categories of announcements: <t>We consider only three categories of announcements:
<list style="hanging"> <list style="hanging">
<t hangText="Customer Cone:"> <t hangText="Customer Cone:">
One's own prefixes and the closure of those to whom transit is One's own prefixes and the closure of those to whom transit is
provided including routes announced by BGP customers, static provided including routes announced by BGP customers, static
prefixes used for non-BGP customers, datacenter routes, prefixes used for non-BGP customers, datacenter routes,
etc.</t> etc.</t>
<t hangText="External Routes:"> <t hangText="External Routes:">
Routes learned from peers and transit providers which the ISP Routes learned from peers and transit providers which the ISP
would normally announce to customers but not to peers. Often, would normally announce to customers but not to peers. Often,
@ -146,16 +147,16 @@
<section anchor="signal" title="Signaling"> <section anchor="signal" title="Signaling">
<t>BGP announcements to route collectors SHOULD be marked with <t>BGP announcements to route collectors SHOULD be marked with
communities indicating into which category the announcement falls. communities indicating into which category the announcement falls.
As most collector peers already use community markings similar to As most collector peers already use community markings similar to
these, but ad hoc, the additional effort should be trivial.</t> these, but ad hoc, the additional effort should be trivial.</t>
<t>The ASN in the marking SHOULD be that of the collector peer. The <t>The ASN in the marking SHOULD be that of the collector peer. The
communities were selected from community values which were unused communities were selected from community values which were unused at
at the time of this document and SHOULD be as follows:</t> the time of this document and SHOULD be as follows:</t>
<t>ASs which do not peer with collectors MAY chose to use these <t>ASs which do not peer with collectors MAY also choose to use
markings.</t> these markings.</t>
<texttable anchor='markings'> <texttable anchor='markings'>
<preamble></preamble> <preamble></preamble>
@ -169,6 +170,16 @@
</section> </section>
<section anchor="alt" title="Alternative Signaling">
<t>Alternatively, should marking at the path granularity be
considered too revealing, the collector peer could announce a single
well-known prefix, for example 10.10.10.10/10, with one or more of
the community markings as above, describing the set of paths being
announced to the collector.</t>
</section>
<section anchor="iana" title="IANA Considerations"> <section anchor="iana" title="IANA Considerations">
<t>As the number of categories is intentionally minimal, an IANA <t>As the number of categories is intentionally minimal, an IANA
registry should not be needed.</t> registry should not be needed.</t>
@ -181,6 +192,7 @@
<references title="Normative References"> <references title="Normative References">
<?rfc include="reference.RFC.2119.xml"?> <?rfc include="reference.RFC.2119.xml"?>
<?rfc include="reference.RFC.8174.xml"?>
<reference anchor="ris" target="https://www.ripe.net/analyse/internet-measurements/routing-information-service-ris/routing-information-service-ris"> <reference anchor="ris" target="https://www.ripe.net/analyse/internet-measurements/routing-information-service-ris/routing-information-service-ris">
<front> <front>