SD-WAN Hub-and-Spoke Tunnel Topology Guide
How to connect distributed branches through a secure, centrally managed SD-WAN hub
Hub-and-spoke is an SD-WAN design in which branch appliances establish encrypted tunnels to a central hub instead of creating a separate tunnel to every other branch. The hub commonly resides at a data center, headquarters, or shared-services location and becomes the principal exchange point for private network traffic.
The model is easy to understand and scales efficiently: adding a branch normally requires one logical relationship with the hub, not a new tunnel to every existing site. Central policy and monitoring also become simpler because inter-site connectivity converges at a known location.
Figure 1. Branch spokes connect to the central hub; traffic between spokes is forwarded through the hub.
The number of required tunnel relationships grows more slowly than in a full-mesh design. This reduces configuration complexity for deployments with many branches.
The hub provides a natural point for routing policy, shared security services, logging, and access to applications hosted at headquarters or in a data center.
A new spoke can join the SD-WAN fabric by receiving a tunnel address, advertising its local networks, and applying the standard SLA and routing policy.
Select a non-overlapping tunnel CIDR and confirm that all branch LAN subnets are unique. Determine which hub and branch networks must be exchanged. If the hub uses a static public IP, verify that it is reachable from every spoke and that the required ports are permitted by upstream firewalls.
In the parent cluster, create the SD-WAN network, choose HUB_AND_SPOKE, assign the tunnel range and SLA profile, and select suitable MTU and encryption settings. Enable optional L2 tunneling or WAN optimization only when the application design requires them.
Select the hub appliance, assign the HUB role, and provide its public endpoint where required. Choose participating WAN links and the path-selection behavior. Advertise hub-side LAN or shared-services networks that spokes need to reach.
Add each branch appliance with the SPOKE role, choose its WAN links, and advertise only the local LAN subnets intended for private connectivity. Configure outbound forwarding toward the LAN for traffic that must enter the branch network.
Create the required SD-WAN SLA and member rules at the hub and spokes. SLA monitoring should measure meaningful targets and thresholds for latency, jitter, packet loss, and reachability. Rules then use these measurements to select or fail over between available WAN links.
| Traffic pattern | Path | Operational note |
|---|---|---|
| Spoke to hub | Spoke -> Hub | Direct overlay path to shared services or data-center networks. |
| Hub to spoke | Hub -> Spoke | Requires the spoke LAN route and return path. |
| Internet traffic | Local breakout or via hub | Defined separately by routing and security policy; hub-and-spoke alone does not require central breakout. |
Hub-and-spoke favors operational simplicity and centralized governance. Full mesh provides direct spoke-to-spoke paths that can reduce latency, but it increases tunnel relationships and policy complexity. Hub-and-spoke is usually the better fit when branch-to-data-center traffic dominates, while mesh may suit environments with heavy real-time communication directly between branches.
This section expands the topology guide into a design draft. Product labels vary between SD-WAN platforms, but the networking principles below apply to a Ray hub-and-spoke deployment and should be validated against the software release in use.
The underlay is the real IP network beneath SD-WAN. It consists of WAN interfaces, ISP or carrier circuits, provider routing, public or private addressing, and any upstream NAT or firewall devices. Typical underlays include broadband internet, dedicated internet, MPLS, leased lines, LTE/5G, and cloud private interconnects. A site can use more than one underlay at the same time.
The overlay is the encrypted network created between SD-WAN appliances over the available underlays. It abstracts the service network from individual carriers. Tunnel addresses identify overlay members, while advertised LAN prefixes describe the networks reachable behind each member. Policies decide which routes are visible, which paths are eligible, and how applications use available tunnels.
Figure 2. The underlay transports packets between tunnel endpoints; the overlay carries protected enterprise traffic and route intent.
| Layer | Contains | Must answer |
|---|---|---|
| Underlay | WAN circuits, provider routing, public/private endpoint IPs, upstream NAT | Can every spoke reach the hub endpoint over each intended circuit?. |
| Overlay | Encrypted tunnels, tunnel CIDR, advertised LAN routes, segmentation and policy | Which enterprise prefixes and applications may communicate, and through which hub? |
| Control/management | Controller sessions, configuration, identity, telemetry, route and policy distribution | How are devices authenticated, configured, monitored, and instructed? |
| Data plane | Actual user packets forwarded by hub and spoke appliances | Which path carries this session now, and what happens if that path fails? |
Carries administrator actions, configuration changes, inventory, software updates, dashboards, logs, and reporting between appliances and the management platform. It should be protected with role-based access, strong authentication, and restricted management reachability.
Exchanges topology, member identity, reachable prefixes, path information, policy, and often encryption metadata. The control plane tells edge appliances what is reachable and permitted; it should not be assumed to carry ordinary user payloads.
Carries application and user packets across encrypted tunnels. The hub forwards transit traffic between spokes, toward shared services, or toward a breakout. Path selection uses measured tunnel conditions and configured policy.
| Flow | Expected path | Key requirements |
|---|---|---|
| Spoke to hub LAN | Client -> spoke -> overlay tunnel -> hub -> server | Hub network advertised; spoke route installed; firewall and return route allow session. |
| Hub LAN to spoke | Server -> hub -> overlay tunnel -> spoke -> client | Spoke prefix advertised; hub route installed; branch firewall permits inbound flow. |
| Spoke to spoke | Spoke A -> hub -> Spoke B | Hub learns both prefixes and allows transit; no direct tunnel is assumed. |
| Spoke to internet: local breakout | Client -> spoke WAN -> internet | Local default route, source NAT, DNS and branch security policy. |
| Spoke to internet: central breakout | Client -> spoke tunnel -> hub WAN -> internet | Overlay default route/policy, hub forwarding, NAT, security inspection, and symmetric return. |
| Spoke to SaaS/cloud | Local breakout, central hub, or cloud hub based on application policy | Defined route/policy; predictable DNS; correct NAT and cloud allow-listing. |
| Spoke to shared security service | Spoke -> hub -> firewall/IDS/proxy -> destination | Service health tracking, steering policy, return path and failure behavior. |
| Guest or untrusted traffic | Separate segment -> approved local/central security path | Segmentation, no corporate-route leakage, appropriate DNS/NAT/filtering. |
| Voice/video | Chosen low-loss, low-jitter tunnel; may transit hub | SLA thresholds, QoS marking/queuing, capacity and asymmetric-path review. |
| Management/control traffic | Appliance -> controller/portal services | Reachable endpoints, certificate/time validity, DNS and restricted access. |
| Tunnel keepalive/SLA probes | Between SD-WAN endpoints or configured probe targets | Targets must represent path health; thresholds avoid flapping. |
| Multicast/broadcast/L2 | Not carried by default L3 overlay; requires explicit L2 design | Loop prevention, broadcast-domain sizing and supported L2 tunnel feature. |
A spoke should learn hub reachability and the remote networks that policy allows through the hub. In a strict design, spokes do not build direct data-plane adjacencies to other spokes. Inter-spoke traffic therefore consumes two overlay tunnel legs and hub forwarding capacity. Route advertisement can use connected/static information or a dynamic protocol at the service edge, depending on product support and deployment scale.
The spoke sends internet traffic directly through its WAN. This normally reduces latency and hub bandwidth demand but requires branch security, NAT, and consistent policy. SaaS traffic often benefits from local breakout.
The spoke sends selected or all internet traffic through the overlay to the hub. The hub applies firewalling, inspection, logging, and source NAT. This provides a predictable public identity and common controls but adds path length and makes hub capacity critical.
Traffic may be steered through a firewall, IDS/IPS, proxy, load balancer, or other service at the hub. Service health must be tracked, and policy must state whether traffic should fail open, fail closed, or use a backup service when the primary instance is unavailable.
Each logical site pair can have multiple overlay tunnels because tunnels can be built over multiple underlay WAN links. SLA monitoring measures reachability and path quality. Policy then maps new sessions or packets to eligible tunnels.
| Method | Behavior | Use / caution |
|---|---|---|
| Session-based weighted | Assigns an entire flow to one tunnel according to weight. | Good general default; preserves packet order within the session. |
| Best path | Selects a tunnel using latency, jitter, loss, reachability or bandwidth policy. | Good for application-aware routing; thresholds and hysteresis should prevent flapping. |
| Packet cloning | Sends duplicates on multiple paths and accepts the first useful arrival. | High resilience for critical traffic; consumes extra bandwidth. |
| Per-packet weighted | Distributes packets across tunnels. | Can maximize usage but packet reordering may affect TCP and real-time applications. |
| Active/standby | Uses primary path until it fails or breaches policy. | Predictable and simple; backup capacity still needs testing. |
NAT can exist in the underlay, at a spoke breakout, or at the central hub. These are different roles. Upstream underlay NAT affects tunnel establishment. Breakout source NAT translates user traffic for internet access. Stateful firewalls and NAT require replies to return through the device holding the session state.
Hub-and-spoke does not automatically mean every site can communicate. Separate users, servers, guests, IoT, voice, and management into appropriate routing or policy segments. Route visibility and firewall policy should follow least privilege. The hub is a convenient enforcement point for inter-spoke traffic, but local controls may still be needed for traffic that never reaches the hub.
| Option | What it protects | Design note |
|---|---|---|
| Dual WAN per site | Underlay circuit or carrier failure | Prefer diverse carriers and physical paths; two links from one provider may share a failure domain. |
| Dual hub | Hub appliance, site, or upstream failure | Define route preference, stateful-service behavior, and deterministic failback. |
| Failure | Expected reaction | Validation |
|---|---|---|
| One spoke WAN fails | Sessions move to another eligible spoke tunnel. | Disconnect link and measure loss, convergence, and application recovery. |
| Hub WAN fails | Use alternate hub WAN or alternate hub if designed. | Confirm every spoke can reach backup endpoint through its underlays. |
| Hub appliance fails | Peer hub becomes active or traffic stops if no redundancy exists. | Test routing, NAT/firewall state, and service reachability. |
| SLA target fails but link remains up | Path is degraded or removed according to policy. | Introduce loss/latency and verify thresholds and recovery timer. |
| Controller unreachable | Existing forwarding may continue while changes/onboarding are impaired, product dependent. | Document platform behavior and test within vendor guidance. |
| Security service fails | Fail open, fail closed, or use backup according to design. | Stop service and verify policy plus alerting. |
| Route withdrawn | Traffic uses backup route or becomes unreachable. | Withdraw advertised prefix and inspect tables and logs. |
A hub-and-spoke SD-WAN topology gives distributed sites a scalable private overlay with the hub acting as the connectivity and policy center. Success depends on more than bringing tunnels online: addressing, route advertisement, forwarding policy, SLA monitoring, return paths, hub capacity, and resilience must work as one design. When these elements are aligned, branches gain dependable access to shared services and to one another without the operational burden of a full mesh.
A hub-and-spoke SD-WAN topology connects branch locations through a central hub. Each branch establishes an encrypted tunnel to the hub, which acts as the primary exchange point for private traffic between branches and shared services.
In a hub-and-spoke design, branches connect to the central hub rather than creating individual tunnels with every other branch. This simplifies deployment and management, while a full-mesh design provides direct branch-to-branch paths but requires more tunnel relationships and greater configuration complexity.
Traffic from one branch travels through its encrypted tunnel to the hub, where it is forwarded through the destination branch’s tunnel. This means inter-spoke traffic depends on the hub having the correct routes and sufficient forwarding capacity.
Key considerations include non-overlapping LAN subnets, tunnel addressing, WAN capacity, route advertisements, SLA policies, MTU, encryption settings, segmentation, redundancy, and hub capacity. These elements need to work together to provide reliable traffic forwarding and failover.
Yes. Internet traffic can use either local breakout at the spoke or central breakout through the hub. The choice depends on routing and security policy. Central breakout provides centralized inspection and control, while local breakout can reduce latency and hub bandwidth usage.