Routed subnets

Last updated Aug 24, 2026 Each LAN interface (physical port + VLAN tag) on Cloudflare One Appliance (formerly Magic WAN Connector) is part of a directly-attached subnet — a subnet that the Appliance connects to directly. When you specify a static address for the LAN interface, you indicate both the interface's address and the subnet it attaches to. For example, 192.168.100.13/24 means the LAN interface has the IP address 192.168.100.13, and is part of the subnet 192.168.100.0/24.

Some LANs have additional subnets behind Layer 3 routers that sit between those subnets and the Cloudflare One Appliance. These are routed subnets — the Appliance does not connect to them directly but can reach them through a next-hop router. You need to configure routed subnets so that Cloudflare installs the correct routes to forward traffic to the right Appliance and LAN interface.

Refer to the following diagram for an example of how this might work:

Note

Blue represents directly-attached subnets, and red represents routed subnets.

    flowchart TB
    accTitle: Routed subnets
    accDescr: Some LANs are complex, and might have additional subnets behind L3 routers.

    a((WAN)) --> b

    subgraph b [Cloudflare One Appliance]
    direction TB
    c(LAN 1)
    d(LAN n)
    end

    c --- e(subnet x):::blue
    d --- f(subnet 192.168.100.0/24):::blue

    f---|192.168.100.10|g(Layer 3 router)

    g --- h(routed subnet y):::red
    g --- i(192.168.200.0/24):::red
    g --- j(layer 3 router)
    j --- k(routed subnet z):::red

    classDef blue fill:#add8e6,color: black
    classDef red fill:#ff6900,color: black

To add a routed subnet to your LAN, you need:

  • A prefix: The subnet's CIDR prefix; Cloudflare will automatically install static routes to this prefix in our global network (to forward packets ↗︎ for this subnet to the right Cloudflare One Appliance), and in your Cloudflare One Appliance (to forward packets for this subnet to the right LAN interface). In the figure above, the routed subnet in the center has the prefix 192.168.200.0/24.
  • A next-hop address: The address of the L3 router to which the Cloudflare One Appliance should forward packets for this subnet. In the figure, the routed subnet in the center has the next-hop address 192.168.100.10.

Optionally, you can also enable NAT for a subnet by providing a static overlay prefix.

Create routed subnets

For instructions on creating routed subnets, refer to Create a LAN in either Configure hardware Appliance or Configure Virtual Appliance.

Was this helpful?

YesNo

On this page

Routed subnets - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/cloudflare-wan/configuration/appliance/network-options/routed-subnets/#page","headline":"Routed subnets","description":"Learn how to configure routed subnets on a Cloudflare One Appliance, including setting static routes and next-hop addresses for complex LAN setups.","url":"https://developers.cloudflare.com/cloudflare-wan/configuration/appliance/network-options/routed-subnets/","inLanguage":"en","image":"https://developers.cloudflare.com/cloudflare-wan/configuration/appliance/network-options/routed-subnets/og.png?v=93ebd8ae7ffc6206","dateModified":"2026-08-24","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}


description: Reference information for Appliance configuration. title: Reference image: https://developers.cloudflare.com/cloudflare-wan/configuration/appliance/reference/og.png?v=bb1132817773c3a9


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/cloudflare-wan/llms.txt
Use this file to discover all available pages before exploring further.