Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Comprehensive Cloudflare platform skill covering Workers, D1, R2, KV, AI, Durable Objects, and security.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
references/network-interconnect/configuration.md
1# CNI Configuration23See [README.md](README.md) for overview.45## Workflow (2-4 weeks)671. **Submit request** (Week 1): Contact account team, provide type/location/use case82. **Review config** (Week 1-2, v1 only): Approve IP/VLAN/spec doc93. **Order connection** (Week 2-3):10- **Direct**: Get LOA, order cross-connect from facility11- **Partner**: Order virtual circuit in partner portal12- **Cloud**: Order Direct Connect/Cloud Interconnect, send LOA+VLAN to CF134. **Configure** (Week 3): Both sides configure per doc145. **Test** (Week 3-4): Ping, verify BGP, check routes156. **Health checks** (Week 4): Configure [Magic Transit](https://developers.cloudflare.com/magic-transit/how-to/configure-tunnel-endpoints/#add-tunnels) or [Magic WAN](https://developers.cloudflare.com/magic-wan/configuration/manually/how-to/configure-tunnel-endpoints/#add-tunnels) health checks167. **Activate** (Week 4): Route traffic, verify flow178. **Monitor**: Enable [maintenance notifications](https://developers.cloudflare.com/network-interconnect/monitoring-and-alerts/#enable-cloudflare-status-maintenance-notification)1819## BGP Configuration2021**v1 Requirements:**22- BGP ASN (provide during setup)23- /31 subnet for peering24- Optional: BGP password2526**v2:** Simplified, less BGP config needed.2728**BGP over CNI (Dec 2024):** Magic WAN/Transit can now peer BGP directly over CNI v2 (no GRE tunnel required).2930**Example v1 BGP:**31```32Router ID: 192.0.2.133Peer IP: 192.0.2.034Remote ASN: 1333535Local ASN: 6500036Password: [optional]37VLAN: 10038```3940## Cloud Interconnect Setup4142### AWS Direct Connect (Beta)4344**Requirements:** Magic WAN, AWS Dedicated Direct Connect 1/10 Gbps.4546**Process:**471. Contact CF account team482. Choose location493. Order in AWS portal504. AWS provides LOA + VLAN ID515. Send to CF account team526. Wait ~4 weeks5354**Post-setup:** Add [static routes](https://developers.cloudflare.com/magic-wan/configuration/manually/how-to/configure-routes/#configure-static-routes) to Magic WAN. Enable [bidirectional health checks](https://developers.cloudflare.com/magic-wan/configuration/manually/how-to/configure-tunnel-endpoints/#legacy-bidirectional-health-checks).5556### GCP Cloud Interconnect (Beta)5758**Setup via Dashboard:**591. Interconnects → Create → Cloud Interconnect → Google602. Provide name, MTU (match GCP VLAN attachment), speed (50M-50G granular options available for partner interconnects)613. Enter VLAN attachment pairing key624. Confirm order6364**Routing to GCP:** Add [static routes](https://developers.cloudflare.com/magic-wan/configuration/manually/how-to/configure-routes/#configure-static-routes). BGP routes from GCP Cloud Router **ignored**.6566**Routing to CF:** Configure [custom learned routes](https://cloud.google.com/network-connectivity/docs/router/how-to/configure-custom-learned-routes) in Cloud Router. Request prefixes from CF account team.6768## Monitoring6970**Dashboard Status:**7172| Status | Meaning |73|--------|---------|74| **Healthy** | Link operational, traffic flowing, health checks passing |75| **Active** | Link up, sufficient light, Ethernet negotiated |76| **Unhealthy** | Link down, no/low light (<-20 dBm), can't negotiate |77| **Pending** | Cross-connect incomplete, device unresponsive, RX/TX swapped |78| **Down** | Physical link down, no connectivity |7980**Alerts:**8182**CNI Connection Maintenance** (Magic Networking only):83```84Dashboard → Notifications → Add85Product: Cloudflare Network Interconnect86Type: Connection Maintenance Alert87```88Warnings up to 2 weeks advance. 6hr delay for new additions.8990**Cloudflare Status Maintenance** (entire PoP):91```92Dashboard → Notifications → Add93Product: Cloudflare Status94Filter PoPs: gru,fra,lhr95```9697**Find PoP code:**98```99Dashboard → Magic Transit/WAN → Configuration → Interconnects100Select CNI → Note Data Center (e.g., "gru-b")101Use first 3 letters: "gru"102```103104## Best Practices105106**Critical config-specific practices:**107- /31 subnets required for BGP108- BGP passwords recommended109- BFD for fast failover (v1 only)110- Test ping connectivity before BGP111- Enable maintenance notifications immediately after activation112- Monitor status programmatically via API113114For design patterns, HA architecture, and security best practices, see [patterns.md](./patterns.md).115