Skip to content

Commit c206604

Browse files
RebeccaTamachiroMaddy-Cloudflarestechedo
authored
[BYOIP] Update get-started with self-serve flow (#25122)
* Import changes based on initial Gdoc draft * Bring previous version for easier reference * Adjust formatting and add accepted RIRs list * Add links to RIRs list and order alphabetically * Add WIP note to work depending on API docs or tabled for later * Unnest delegate_loa_creation and use reserved docs IP * Adjust service bindings verbiage from overriding to adding * Add instruction to remove the token and placeholder for more detail * Review and complete service binding instructions * Fix cidr example to match throughout and mark id line * Use h3s and horizontal lines for better skimmability * Add example for aggregated CIDR in additional bindings * Add subnet calculation example based on Spec * Remove RADB and NTT so that registries lists are consistent * Remove ARIN focus and make intro paragraphs more generic * Make TabItem labels more uniform and fix missing monospace * Move prefix validation details into separate page * Delete old get-started reference page * Import missing component in prefix-validation.mdx * Fill in prefix-validation.mdx using bash code block for now * Bring new RPKI intro and updated IRR from dedicated branch * Link to address-maps from the get-started guide * LOA: acknowledge automation, link to service terms, and review loa.mdx * IRR instances: remove outdated recommentations and improve text * Overall review and text touch-ups * Remove MT-specific notes and call out out-of-scope at the top * Text review and move auto-LOA from note to its own section * Touch-up API examples after reviewing API staging docs * Apply suggestion from code review Co-authored-by: Maddy <[email protected]> * Reword intro paragraph for clarity Co-authored-by: stechedo <[email protected]> * Use APIRequest for create and validate endpoints --------- Co-authored-by: Maddy <[email protected]> Co-authored-by: stechedo <[email protected]>
1 parent 0330b85 commit c206604

File tree

8 files changed

+357
-65
lines changed

8 files changed

+357
-65
lines changed

src/content/docs/byoip/concepts/irr-entries/best-practices.mdx

Lines changed: 10 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,19 @@
11
---
2-
title: Best practices
2+
title: Manage IRR entries
33
pcx_content_type: reference
44
sidebar:
55
order: 7
6-
head:
7-
- tag: title
8-
content: IRR entry updates best practices
9-
106
---
117

12-
import { GlossaryTooltip } from "~/components"
13-
14-
An Internet Routing Registry (IRR) record is what notifies internet service providers (ISPs) of how you are allowing your resources to be used. It is necessary to keep your IRR entries up to date so that it is public information that Cloudflare has permission to advertise your prefix or prefixes and to ensure that your traffic can be properly routed on the internet.
8+
import { GlossaryTooltip } from "~/components";
159

16-
The American Registry for Internet Numbers (ARIN) maintains an IRR that allows registrants of AS numbers and IP addresses to publish that information so that ISPs can make appropriate routing decisions. This helps ensure ISPs will recognize your routes as legitimate and enables them to ignore unauthorized routes published by someone else.
10+
You must keep your <GlossaryTooltip term="Internet Routing Registry (IRR)" link="/byoip/concepts/irr-entries/">Internet Routing Registry (IRR)</GlossaryTooltip> entries up to date so that it is public information that Cloudflare has permission to advertise your prefix or prefixes, and to ensure that your traffic can be properly routed on the internet.
1711

1812
## Configure an IRR entry
1913

20-
You can add or update an IRR entry by following the directions within any of the recommended internet registries listed in the [Internet Routing Registry](https://www.irr.net/index.html).
21-
22-
If you own your own subnet, use the RIPE and APNIC routing registries. These registries allow you to verify subnet ownership.
23-
24-
If you lease your subnet, follow these guidelines:
25-
26-
* When you do not need ownership verification, use the AFRINIC or NTT routing registry.
27-
* When you submit a route object via email, use the ARIN registry. Address blocks owned by others do not appear in the ARIN interface.
14+
You can add or update an IRR entry by following the directions of your routing registry. Each routing registry has its own set of instructions to configure an IRR entry.
2815

29-
The recommended registries are AFRINIC, APNIC, ARIN, NTT, RADB, and RIPE.
30-
31-
Each routing registry has its own set of instructions to configure an IRR entry. Refer to the table below for more information.
16+
The recommended registries are AFRINIC, APNIC, ARIN, LACNIC, and RIPE. Refer to the table below for more information.
3217

3318
<table>
3419
<thead>
@@ -50,13 +35,9 @@ Each routing registry has its own set of instructions to configure an IRR entry.
5035
<td>ARIN</td>
5136
<td><a href="https://www.arin.net/resources/manage/irr/quickstart/">https://www.arin.net/resources/manage/irr/quickstart/</a></td>
5237
</tr>
53-
<tr>
54-
<td>NTT</td>
55-
<td><a href="https://www.gin.ntt.net/support-center/policies-procedures/routing-registry/">https://www.gin.ntt.net/support-center/policies-procedures/routing-registry/</a></td>
56-
</tr>
57-
<tr>
58-
<td>RADB</td>
59-
<td><a href="https://www.radb.net/support/">https://www.radb.net/support/</a></td>
38+
<tr>
39+
<td>LACNIC</td>
40+
<td><a href="https://lacnic.zendesk.com/hc/articles/360038667154-What-are-a-route-and-a-route-6-objects">https://lacnic.zendesk.com/hc/articles/360038667154-What-are-a-route-and-a-route-6-objects</a></td>
6041
</tr>
6142
<tr>
6243
<td>RIPE</td>
@@ -72,8 +53,8 @@ Verify your Internet Routing Registry (IRR) entries to ensure that the IP prefix
7253
Each IRR entry record must include the following information:
7354

7455
* **Route**: Each IP prefix Cloudflare advertises for you.
75-
* **Origin ASN**: Your ASN, or if you do not have your own ASN, the Cloudflare ASN (AS13335).
76-
* **Source**: The name of the routing registry, for example, AFRINIC, APNIC, ARIN, RADB, RIPE, or NTT.
56+
* **Origin ASN**: The Cloudflare ASN (AS13335) or your own ASN.
57+
* **Source**: The name of the routing registry (for example, ARIN).
7758

7859
Add or update IRR entries when they meet any of these criteria:
7960

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,22 @@
11
---
2-
title: Internet Routing Registry
2+
title: Internet Routing Registry (IRR)
33
pcx_content_type: concept
44
sidebar:
55
order: 2
6-
6+
label: Overview
7+
group:
8+
label: Internet Routing Registry
9+
head:
10+
- tag: title
11+
content: IRR Overview
712
---
813

9-
The [Internet Routing Registry (IRR)](http://www.irr.net/index.html) is a globally distributed database of routing information. The IRR contains announced routes and routing policies in a common format, and network operators use this information to configure their backbone routers.
14+
import { GlossaryDefinition } from "~/components";
1015

11-
The IRR consists of many individual [routing registries](http://www.irr.net/docs/list.html), and some are managed by regional entities, such as APNIC, ARIN, and RIPE. Each routing registry contains IRR entries that provide information about IP prefixes and the [autonomous systems](https://www.cloudflare.com/learning/network-layer/what-is-an-autonomous-system/) authorized to announce them.
16+
<GlossaryDefinition term="Internet Routing Registry (IRR)" prepend="The [Internet Routing Registry (IRR)](http://www.irr.net/index.html) is " />
1217

13-
To announce your subnet prefixes, Cloudflare requires accurate IRR entries for your prefixes and autonomous system numbers (ASNs).
18+
The IRR consists of many individual [routing registries](http://www.irr.net/docs/list.html), and some are managed by regional entities - such as the American Registry for Internet Numbers (ARIN), the Regional Internet Registry for Europe, Middle East and Central Asia (RIPE), and so on. Each routing registry contains IRR entries that provide information about IP prefixes and the [autonomous systems](https://www.cloudflare.com/learning/network-layer/what-is-an-autonomous-system/) authorized to announce them.
1419

15-
When you configure network infrastructure for services such as [Magic Transit](/magic-transit/about/), [verify your IRR entries](/byoip/concepts/irr-entries/best-practices/#verify-an-irr-entry).
20+
To announce your subnet prefixes, Cloudflare requires accurate IRR entries for your prefixes and autonomous system numbers (ASNs).
1621

17-
For help with adding missing IRR entries or updating inaccurate entries, refer to the [best practices for IRR entries](/byoip/concepts/irr-entries/best-practices/).
22+
When you configure network infrastructure for services such as [Magic Transit](/magic-transit/about/), or before onboarding your IP to Cloudflare, [verify your IRR entries](/byoip/concepts/irr-entries/best-practices/#verify-an-irr-entry).

src/content/docs/byoip/concepts/loa.mdx

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,26 @@ head:
1010

1111
import { Render } from "~/components";
1212

13-
A Letter of Agency (LOA) - sometimes referred to as a Letter of Authorization - is a document that authorizes Cloudflare to announce a prefix(es) on behalf of another entity. The LOA is required by Cloudflare's transit providers so they can accept the routes Cloudflare advertises on behalf of another entity.
13+
A Letter of Agency (LOA) - sometimes referred to as a Letter of Authorization - is a document that authorizes Cloudflare to announce prefixes on behalf of another entity. The LOA is required by Cloudflare's transit providers so they can accept the routes Cloudflare advertises on behalf of another entity.
1414

1515
The letter must contain both the prefixes you are authorizing Cloudflare to announce and which ASN they will be announced under. Cloudflare can announce a prefix under your ASN or you can use Cloudflare's ASN, which is AS13335.
1616

17-
:::note
18-
For all future onboardings, you must use AS13335. Current customers who are already using Cloudflare's AS209242 do not need to make any changes and can continue using that ASN.
19-
:::
17+
## Requirements
2018

21-
Cloudflare accepts digital signatures on an LOA, as long as it is clear who is signing the LOA.
19+
- For all future onboardings, if using the Cloudflare ASN, you must use AS13335. Current customers who are already using Cloudflare's AS209242 do not need to make any changes and can continue using that ASN.
2220

23-
:::note[Note]
24-
An LOA is a formal document which should be on company letterhead and contain a wet signature. The Letter of Agency must be a PDF. Transit providers may reject the LOA if it is in a JPG or PNG format.
25-
:::
21+
- Cloudflare accepts digital signatures on an LOA, as long as it is clear who is signing the LOA.
2622

27-
You can use the below template when creating an LOA document.
23+
- An LOA is a formal document which should be on company letterhead and contain a wet signature. The Letter of Agency must be a PDF. Transit providers may reject the LOA if it is in a JPG or PNG format.
24+
25+
## Auto-generated LOA
26+
27+
If you are onboarding your own IPs via the [self-serve flow](/byoip/get-started/), you can set `delegate_loa_creation` (in the [Add Prefix API call](/api/resources/addressing/subresources/prefixes/methods/create/)) to `true` . This will allow Cloudflare to automatically generate the LOA, speeding up the process.
28+
29+
Auto-generated LOAs rely on [RPKI-signed ROAs](/byoip/concepts/route-filtering-rpki/) and [ownership validation](/byoip/get-started/#validate-prefix-ownership) checks.
30+
31+
## Template
32+
33+
If you need to create an LOA document, you can use the template below.
2834

2935
<Render file="loa" product="byoip" />
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
title: Route filtering and RPKI
3+
pcx_content_type: concept
4+
sidebar:
5+
order: 2
6+
---
7+
8+
import { GlossaryTooltip } from "~/components";
9+
10+
As referred in the [IRR concept page](/byoip/concepts/irr-entries/), network operators use IRR records to configure backbone routers. In summary, it is the IRR records that provide information about IP prefixes and the <GlossaryTooltip term="autonomous system numbers (ASNs)">autonomous systems (ASN)</GlossaryTooltip> authorized to announce them. Then, network operators will apply filtering policies to avoid invalid announcements.
11+
12+
Considering this important role of IRR records, validation via Resource Public Key Infrastructure (RPKI) was introduced. With RPKI, the IP/ASN association is cryptographically validated before being passed on to the routers.
13+
14+
When registering your prefix under one of the five Regional Internet Registries (RIRs)[^1], you can generate a cryptographically-signed object called Route Origin Authorization (ROA). ROAs are public and you can use [Cloudflare's RPKI Portal](https://rpki.cloudflare.com/?view=validator) or other sources, such as [Routinator](https://rpki-validator.ripe.net/ui/), to check your prefixes.
15+
16+
[^1]: AFRINIC, APNIC, ARIN, LACNIC, and RIPE.

0 commit comments

Comments
 (0)