Skip to content

Commit e0f4c2c

Browse files
[BYOIP] Clarify CIDR block usage and single account in mt-with-cdn (#17918)
* Clarifying CIDR block usage for Address Maps in MT w/ L7 guide * Clarifying CIDR block usage for Address Maps in MT w/ L7 guide - add note for prefix delegations * Clarifying CIDR block usage for Address Maps in MT w/ L7 guide - fixed typos * Remove Aside import and reword address maps vs subdomain setup callout * Clarify note on single account vs prefix delegations * Text review for first paragraph in Before you begin * Remove parenthesis and spell out efficiency perspective --------- Co-authored-by: Rebecca Tamachiro <[email protected]>
1 parent 9118c2f commit e0f4c2c

File tree

1 file changed

+18
-15
lines changed

1 file changed

+18
-15
lines changed

src/content/docs/byoip/service-bindings/magic-transit-with-cdn.mdx

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,37 +11,40 @@ import { Details, Example, TabItem, Tabs, GlossaryTooltip } from "~/components";
1111

1212
[Magic Transit](/magic-transit/) customers using BYOIP can also benefit from the performance, reliability, and security that Cloudflare offers for HTTP-based applications.
1313

14-
This documentation covers using the Cloudflare API to configure [service bindings](/byoip/service-bindings/) within Cloudflare's IP Address Management framework. Service bindings allow BYOIP customers to selectively route traffic on a per-IP address basis to the CDN pipeline (which includes [Cache](/cache/), [Web Application Firewal (WAF)](/waf/), and more).
14+
This documentation covers using the Cloudflare API to configure [service bindings](/byoip/service-bindings/) within Cloudflare's IP Address Management framework. Service bindings allow BYOIP customers to selectively route traffic on a per-IP address basis to the CDN pipeline (which includes [Cache](/cache/), [Web Application Firewall (WAF)](/waf/), and more).
1515

1616
It is also possible to define service bindings to route traffic to the Spectrum pipeline selectively. However, this is not in the scope of this guide.
1717

1818
It is important to note that traffic routed to the CDN pipeline is protected at Layers 3 and 4 by the inherent DDoS protection capabilities native to the CDN pipeline.
1919

2020
## Before you begin
2121

22-
Efficiency is paramount when planning how you will implement service bindings. Implementing service bindings through an aggregated CIDR block is strongly recommended.
22+
Although it is possible to add discrete bindings for non-contiguous CIDR blocks, implementing service bindings through an **aggregated** CIDR block is **strongly** recommended as it is more efficient.
2323

2424
<Details header="Example" >
2525

2626
**Magic Transit protected prefix:** `203.0.113.100/24`
2727

2828
**IPs to upgrade to the CDN:**
2929

30-
`203.0.113.16`
31-
`203.0.113.17`
32-
`203.0.113.18`
33-
`203.0.113.19`
34-
`203.0.113.20`
35-
`203.0.113.21`
36-
`203.0.113.22`
30+
`203.0.113.16`<br />
31+
`203.0.113.17`<br />
32+
`203.0.113.18`<br />
33+
`203.0.113.19`<br />
34+
`203.0.113.20`<br />
35+
`203.0.113.21`<br />
36+
`203.0.113.22`<br />
3737
`203.0.113.23`
3838

39-
**Best practice:** Add one discrete CDN service binding for `203.0.113.16` with a `/29` netmask.
39+
Add one discrete CDN service binding for `203.0.113.16` with a `/29` netmask.
4040

4141
</Details>
4242

43-
Once a service binding is created (or deleted), it will take four to six hours to propagate across Cloudflare's global network. Services for the IP addresses in scope will likely be disrupted during this window.
43+
Once a service binding is created (or deleted), it will take **four** to **six** hours to propagate across Cloudflare's global network. Services for the IP addresses in scope will likely be disrupted during this window.
4444

45+
:::note
46+
This guide assumes that the prefix is tied to a single Cloudflare account that has both Magic Transit and CDN properties. If you are using [prefix delegations](/byoip/concepts/prefix-delegations/), the service bindings must be [created](#2-create-service-binding) on the parent account.
47+
:::
4548

4649
## 1. Get account information
4750

@@ -129,7 +132,7 @@ You can choose between two different scopes:
129132
* Zone-level: uses the address map for all proxied DNS records within a zone.
130133

131134
:::note
132-
If you need to map only specific subdomains to specific IP addresses - and not all proxied DNS records -, you can use a [Subdomain setup](/dns/zone-setups/subdomain-setup/).
135+
If you need to map only specific subdomains (and not all proxied DNS records) to specific IP addresses, you can use a [Subdomain setup](/dns/zone-setups/subdomain-setup/).
133136
:::
134137

135138
<Tabs labels="Dashboard | API">
@@ -199,9 +202,9 @@ At this point, if an address map for a zone `example.com` specifies that Cloudfl
199202
4. As the HTTP response egresses the Cloudflare network back to the client side, the source IP address of the response becomes `203.0.113.100` (the IP address that the HTTP request originally landed on).
200203

201204
</Details>
202-
205+
:::note
203206
Having the same IP address as ingress IP (defined in the address map) and origin IP (listed in the DNS record) will not cause any loops.
204-
207+
:::
205208
<Details header="Example" >
206209

207210
Assuming `203.0.113.100` was also the origin IP, the DNS record would look like the following:
@@ -212,7 +215,7 @@ Assuming `203.0.113.100` was also the origin IP, the DNS record would look like
212215

213216
</Details>
214217

215-
## 5.(Optional) Add layer 7 functionality
218+
## 5. (Optional) Add layer 7 functionality
216219

217220
Leverage other features according to your needs:
218221

0 commit comments

Comments
 (0)