From 4d45352607dc4f1d1f9889a99974a8a3f7951edd Mon Sep 17 00:00:00 2001 From: marciocloudflare Date: Thu, 6 Mar 2025 10:24:11 +0000 Subject: [PATCH 1/3] added summarized routes --- .../partials/magic-transit/static-routes.mdx | 25 ++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/src/content/partials/magic-transit/static-routes.mdx b/src/content/partials/magic-transit/static-routes.mdx index 9036c0e4571daa..6b080e38c37e08 100644 --- a/src/content/partials/magic-transit/static-routes.mdx +++ b/src/content/partials/magic-transit/static-routes.mdx @@ -11,7 +11,7 @@ params: - ipRanges? --- -import { GlossaryTooltip, Markdown, AnchorHeading, Render, TabItem, Tabs } from "~/components"; +import { Aside, GlossaryTooltip, Markdown, AnchorHeading, Render, TabItem, Tabs } from "~/components"; :::note If you are connecting to Cloudflare via a [Direct CNI connection](/network-interconnect/express-cni/), refer to BGP peering to learn how to take advantage of this [routing](https://www.cloudflare.com/learning/network-layer/what-is-routing/) protocol. If not, continue reading. @@ -68,6 +68,29 @@ In the example below, `TUNNEL_2_IAD` is likely to receive twice as much traffic ) } +{ props.magicProduct === "Magic Transit" && ( + <> + + + + + ) +} + ## Scoped routes for anycast GRE or IPsec tunnels To reduce latency for your anycast GRE or IPsec tunnel configurations, especially if you operate your own anycast network, Cloudflare can steer your traffic by scoping it to specific Cloudflare data center regions. Equal cost routes maintain an equal cost on a global scale so long as the routes are not scoped to specific regions. For example, if you use region-scoped routes, traffic from end users in New York will always land at their Ashburn network unless that tunnel is unhealthy. From ba56dfa495c0a5a09da8a62a43c6f60f8139d798 Mon Sep 17 00:00:00 2001 From: marciocloudflare Date: Thu, 6 Mar 2025 10:38:15 +0000 Subject: [PATCH 2/3] ip ranges for mt and mwan --- .../partials/magic-transit/static-routes.mdx | 42 +++++++++++++++---- 1 file changed, 33 insertions(+), 9 deletions(-) diff --git a/src/content/partials/magic-transit/static-routes.mdx b/src/content/partials/magic-transit/static-routes.mdx index 6b080e38c37e08..73a0b8ebde8fa8 100644 --- a/src/content/partials/magic-transit/static-routes.mdx +++ b/src/content/partials/magic-transit/static-routes.mdx @@ -8,7 +8,6 @@ params: - magicWANecmp? - createPath - tunnelEndpoints - - ipRanges? --- import { Aside, GlossaryTooltip, Markdown, AnchorHeading, Render, TabItem, Tabs } from "~/components"; @@ -130,17 +129,42 @@ Cloudflare has nine geographic regions across the world which are listed below. Configure scoping for your traffic in the **Region code** section when adding or editing a static route. Refer to [Create a static route](#create-a-static-route) and [Edit a static route](#edit-a-static-route) more information. -## Allowed IP ranges +{ props.magicProduct === "Magic Transit" && ( + <> + + + + ) +} -- `10.0.0.0/8` -- `172.16.0.0/12` -- `192.168.0.0/16` +{ props.magicProduct === "Magic WAN" && ( + <> + + + + ) +} - -If your use case requires IP prefixes outside RFC 1918, contact your Cloudflare -customer service manager. ## Create a static route From cf091d8883edce2f4c71a8fe117ad346bd612405 Mon Sep 17 00:00:00 2001 From: marciocloudflare Date: Thu, 6 Mar 2025 10:38:22 +0000 Subject: [PATCH 3/3] refined vars --- .../docs/magic-transit/how-to/configure-static-routes.mdx | 3 +-- .../configuration/manually/how-to/configure-static-routes.mdx | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/content/docs/magic-transit/how-to/configure-static-routes.mdx b/src/content/docs/magic-transit/how-to/configure-static-routes.mdx index 318e091fb2f395..e96fe837bdcb2c 100644 --- a/src/content/docs/magic-transit/how-to/configure-static-routes.mdx +++ b/src/content/docs/magic-transit/how-to/configure-static-routes.mdx @@ -22,7 +22,6 @@ import { Render } from "~/components" trafficSteering: "/magic-transit/reference/traffic-steering/", magicWANecmp: " ", createPath: "Magic Transit > Configuration", - tunnelEndpoints: "/magic-transit/how-to/configure-tunnels/", - ipRanges: " " + tunnelEndpoints: "/magic-transit/how-to/configure-tunnels/" }} /> diff --git a/src/content/docs/magic-wan/configuration/manually/how-to/configure-static-routes.mdx b/src/content/docs/magic-wan/configuration/manually/how-to/configure-static-routes.mdx index cb579911a4dcb5..1d8a08d9d38dcd 100644 --- a/src/content/docs/magic-wan/configuration/manually/how-to/configure-static-routes.mdx +++ b/src/content/docs/magic-wan/configuration/manually/how-to/configure-static-routes.mdx @@ -15,14 +15,14 @@ import { Render } from "~/components" file="static-routes" product="magic-transit" params={{ + magicProduct: "Magic WAN", productName: "Magic WAN", BGPpath: "/magic-wan/configuration/manually/how-to/bgp-peering/", anycastURL: "/magic-wan/reference/tunnels/", trafficSteering: "/magic-wan/reference/traffic-steering/", magicWANecmp: "The maximum number of routes you can have with the same priority is 64.", createPath: "Magic WAN > Configuration", - tunnelEndpoints: "/magic-wan/configuration/manually/how-to/configure-tunnels/", - ipRanges: "
When using Magic WAN and Cloudflare Tunnel together, remember to consider the IP ranges utilized in the static routes of Cloudflare Tunnel when selecting static routes for Magic WAN. For more information, refer to [Cloudflare Tunnel](/magic-wan/zero-trust/cloudflare-tunnel/).

" + tunnelEndpoints: "/magic-wan/configuration/manually/how-to/configure-tunnels/" }} />