Skip to content

Commit c4fd978

Browse files
marciocloudflareRebeccaTamachiro
authored andcommitted
[Static / BGP Routes] Consolidates and reorganizes info (#21782)
* edited static routes partial * added bgp * deleted bgp peering partial * changed partial from static routes to routes * changed name to configure routes * added bgp * ecmp * content * scoping routes * mt info * bgp subsection * refined text * added content * changed partial name * deleted bgp peering pages * changed path * added params * corrected param * added links * added links * removed text * imported components * added vars * removed var * removed var * indentation * removed extra imports * corrected param * added info * corrected params * refined anchor * removed extra space * added param * corrected link * refined text * refined params * refined link * refined text * corrected link * corrected links * monospaced * corrected link * corrected link * changed order * corrected link * corrected link * corrected links * corrected links * refined allowed ip ranges * added mt redirects * mwan redirects * corrected static routes links * bgp links * refined description * added new limitation * removed extra space * added link * reordered graph texts * refined names * corrected link
1 parent ceffea6 commit c4fd978

36 files changed

+691
-744
lines changed

public/__redirects

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@
804804
# magic-transit
805805
/magic-transit/magic-firewall/ /magic-firewall/ 301
806806
/magic-transit/set-up/onboarding/ /magic-transit/get-started/ 301
807-
/magic-transit/set-up/provide-configuration-data/assign-tunnel-route-priorities/ /magic-transit/how-to/configure-static-routes/ 301
807+
/magic-transit/set-up/provide-configuration-data/assign-tunnel-route-priorities/ /magic-transit/how-to/configure-routes/ 301
808808
/magic-transit/set-up/requirements/ /magic-transit/get-started/ 301
809809
/magic-transit/get-started/configure-tunnels/specify-gre-tunnel-endpoints/ /magic-transit/how-to/configure-tunnels/ 301
810810
/magic-transit/about/health-checks/ /magic-transit/reference/tunnel-health-checks/ 301
@@ -814,6 +814,8 @@
814814
/magic-transit/prerequisites/ /magic-transit/get-started/ 301
815815
/magic-transit/how-to/ /magic-transit/how-to/configure-tunnels/ 301
816816
/magic-transit/reference/ /magic-transit/reference/anti-replay-protection/ 301
817+
/magic-transit/how-to/configure-static-routes/ /magic-transit/how-to/configure-routes/ 301
818+
/magic-transit/how-to/bgp-peering/ /magic-transit/how-to/configure-routes/ 301
817819

818820
# magic-wan
819821
/magic-wan/tutorials/ipsec/ /magic-wan/reference/tunnels/#ipsec-tunnels 301
@@ -837,6 +839,8 @@
837839
/magic-wan/configuration/common-settings/view-analytics/ /magic-wan/analytics/ 301
838840
/magic-wan/prerequisites/ /magic-wan/get-started/ 301
839841
/magic-wan/configuration/common-settings/check-tunnel-health-dashboard/ /magic-wan/configuration/common-settings/tunnel-health-checks/ 301
842+
/magic-wan/configuration/manually/how-to/configure-static-routes/ /magic-wan/configuration/manually/how-to/configure-routes/ 301
843+
/magic-wan/configuration/manually/how-to/bgp-peering/ /magic-wan/configuration/manually/how-to/configure-routes/ 301
840844

841845
# notifications
842846
/fundamentals/notifications/ /notifications/ 301

src/content/docs/magic-transit/cloudflare-ips.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ In addition to using Magic Transit with your own IP address, you can use Magic T
1313
To protect your network using a Cloudflare IP address, contact your account manager. After receiving your IP address, you will need to:
1414

1515
- [Create a tunnel](/magic-transit/how-to/configure-tunnels/).
16-
- [Set up static routes](/magic-transit/how-to/configure-static-routes) or [BGP peering](/magic-transit/how-to/bgp-peering/).
16+
- [Set up static routes](/magic-transit/how-to/configure-routes/#configure-static-routes) or [BGP peering](/magic-transit/how-to/configure-routes/#configure-bgp-routes).
1717
- [Configure health checks](/magic-transit/how-to/run-endpoint-health-checks).
1818
- Confirm [tunnel](/magic-transit/how-to/tunnel-health-checks/) and endpoint health checks were properly configured.
1919
- Update your infrastructure at your own pace to use the allocated Cloudflare IPs.

src/content/docs/magic-transit/get-started.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Refer to [Maximum transmission unit and maximum segment size](/magic-transit/ref
9999

100100
## 4. Configure static routes or BGP peering
101101

102-
Configure [static routes](/magic-transit/how-to/configure-static-routes/) or [BGP peering](/magic-transit/how-to/bgp-peering/) to route traffic from Cloudflare's global network to your locations.
102+
Configure [static routes](/magic-transit/how-to/configure-routes/#configure-static-routes) or [BGP peering](/magic-transit/how-to/configure-routes/#configure-bgp-routes) to route traffic from Cloudflare's global network to your locations.
103103

104104
## 5. Run pre-flight checks
105105

src/content/docs/magic-transit/how-to/advertise-prefixes.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,12 @@ When you withdraw a prefix using BGP, you must ensure the prefix is withdrawn ac
8989

9090
### BGP peering
9191

92-
If you use Direct CNI as a way to on-ramp your network traffic to Magic Transit, refer to [BGP peering](/magic-transit/how-to/bgp-peering/) to learn how to use BGP to handle traffic routing between Cloudflare and your network. Note that this is a different option to using BGP as a means to control the advertisement status of your prefix.
92+
If you use Direct CNI as a way to on-ramp your network traffic to Magic Transit, refer to [BGP information](/magic-transit/reference/traffic-steering/#bgp-information) to learn how to use BGP to handle traffic routing between Cloudflare and your network. Note that this is a different option to using BGP as a means to control the advertisement status of your prefix.
9393

9494

9595
### Regional settings
9696

97-
Magic Transit requires static routing to steer traffic from Cloudflare's network over one of your configured tunnel off-ramps (for GRE and IPsec tunnels). For CNI, both static routing and [BGP](/magic-transit/how-to/bgp-peering/) options are available. Currently, advertisement of routes for traffic engineering purposes is not supported. As a best practice to reduce last-hop latency, you should consider scoping your routes regionally. The default setting for static route regions is **All Regions**. Refer to [Configure static routes](/magic-transit/how-to/configure-static-routes/) for more information.
97+
Magic Transit requires static routing to steer traffic from Cloudflare's network over one of your configured tunnel off-ramps (for GRE and IPsec tunnels). For CNI, both static routing and BGP options are available. Currently, advertisement of routes for traffic engineering purposes is not supported. As a best practice to reduce last-hop latency, you should consider scoping your routes regionally. The default setting for static route regions is **All Regions**. Refer to [Scoping routes to specific regions](/magic-transit/reference/traffic-steering/#scoping-routes-to-specific-regions) for more information.
9898

9999
## Example router configurations
100100

src/content/docs/magic-transit/how-to/bgp-peering.mdx

Lines changed: 0 additions & 23 deletions
This file was deleted.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
pcx_content_type: how-to
3+
title: Configure routes
4+
sidebar:
5+
order: 2
6+
head: []
7+
description: Magic Transit uses a static configuration to route your traffic through anycast tunnels from Cloudflare's global network to your locations. If you are connected through Direct CNI you also have access to BGP peering. Learn how to configure routing.
8+
9+
---
10+
11+
import { Render } from "~/components"
12+
13+
<Render
14+
file="routing/configure-routes"
15+
product="networking-services"
16+
params={{
17+
magicWord: "Magic Transit",
18+
trafficSteeringPage: "/magic-transit/reference/traffic-steering/",
19+
productName: "Magic Transit",
20+
tunnelEndpoints: "/magic-transit/how-to/configure-tunnels/",
21+
chooseWeights: "/magic-transit/reference/traffic-steering/#set-priority-and-weights-for-static-routes",
22+
publicAsnMT: "[Public ASNs used for Magic Transit](/magic-transit/how-to/advertise-prefixes/#cloudflare-asn-vs-your-own-asn) are verified during the onboarding process.",
23+
productGatewayOrEgress: "Magic Transit with Egress"
24+
}}
25+
/>

src/content/docs/magic-transit/how-to/configure-static-routes.mdx

Lines changed: 0 additions & 27 deletions
This file was deleted.

src/content/docs/magic-transit/how-to/configure-tunnels.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,4 @@ import { GlossaryTooltip, Render } from "~/components";
3131

3232
## Next steps
3333

34-
Now that you have set up your tunnel endpoints, you need to configure <GlossaryTooltip term="static route" link="/magic-transit/how-to/configure-static-routes/">static routes</GlossaryTooltip> to route your traffic through Cloudflare.
35-
36-
If you are connecting to Cloudflare through a [Direct CNI connection](/network-interconnect/express-cni/), you can [configure BGP routing](/magic-transit/how-to/bgp-peering/) instead.
34+
Now that you have set up your tunnel endpoints, you need to configure routes to route your traffic through Cloudflare. Refer to [Configure routes](/magic-transit/how-to/configure-routes/) to learn more about static routing and BGP peering (only available through Direct CNI connection).

src/content/docs/magic-transit/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Magic Transit steers traffic along tunnel routes based on priorities you define
3939
Use Cloudflare-owned IP addresses if you want to protect a smaller network and do not meet Magic Transit's `/24` prefix length requirements.
4040
</Feature>
4141

42-
<Feature header="BGP peering" href="/magic-transit/how-to/bgp-peering/">
42+
<Feature header="BGP peering" href="/magic-transit/how-to/configure-routes/#configure-static-routes">
4343
Use BGP peering between your networks and Cloudflare to automate the process of adding or removing networks and subnets, and take advantage of failure detection and session recovery features.
4444
</Feature>
4545

src/content/docs/magic-transit/reference/traffic-steering.mdx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,13 @@ import { Render } from "~/components";
1414
file="reference/traffic-steering"
1515
product="networking-services"
1616
params={{
17-
productName: "Magic Transit",
18-
greURL: "/magic-transit/reference/tunnels/",
19-
staticRoutesURL: "/magic-transit/how-to/configure-static-routes/",
20-
ipsecURL: "/magic-transit/reference/tunnels/#ipsec-tunnels",
17+
magicWord: "Magic Transit",
18+
productName: "Magic Transit",
19+
greIpsecReferenceURL: "/magic-transit/reference/tunnels/",
20+
createStaticRoute: "/magic-transit/how-to/configure-routes/#create-a-static-route",
21+
editStaticRoute: "/magic-transit/how-to/configure-routes/#edit-a-static-route",
22+
setupBgpPeering: "/magic-transit/how-to/configure-routes/#set-up-bgp-peering",
23+
legacyHCs: "/magic-transit/reference/tunnel-health-checks/#legacy-bidirectional-health-checks",
24+
tunnelHCsPage: "/magic-transit/reference/tunnel-health-checks/"
2125
}}
2226
/>

0 commit comments

Comments
 (0)