Sub topic 12
SD-WAN Architecture: Separating Control, Management, and Data
This chapter explains how an SD-WAN splits its work into separate planes, what each plane does, and where the common failures occur. It assumes you can read basic router configuration, understand static and dynamic routing, and know at a conceptual level what BGP and IPsec do. The previous chapter covered the problems SD-WAN targets. This chapter covers how it is built.
Why split the architecture into planes
A traditional WAN router does everything itself. It runs a routing protocol, holds its own configuration, applies policy, and forwards packets. Each site is configured one box at a time, and each box makes decisions using only the information it learns from neighbors.
SD-WAN separates these jobs into planes. A plane is a group of functions that share a purpose and can run on different devices.
- The data plane forwards user traffic.
- The control plane builds and distributes the routing and policy information that the data plane needs.
- The management plane is where administrators monitor and configure the network.
- The orchestration plane automates the onboarding of new devices and joins them to the right controllers.
The point of the split is that the decisions about the network are made centrally, while packet forwarding stays at each site. A failure in a central component should not stop traffic that is already flowing.
The names of the components differ by vendor. Cisco SD-WAN (Viptela) uses vSmart, vManage, vBond, and WAN Edge. Other vendors use different names for similar roles. This chapter uses generic role names and gives the Cisco names in the table.
| Plane | Generic role | Cisco SD-WAN name | Main job |
|---|---|---|---|
| Data | Edge device | WAN Edge router | Forwards packets, builds tunnels, measures paths |
| Control | Controller | vSmart | Distributes routes, policy, and encryption keys |
| Management | Manager | vManage | Configuration, templates, monitoring, and troubleshooting |
| Orchestration | Orchestrator | vBond | Authenticates devices and tells them which controllers to join |
The data plane: edge devices
The edge device sits at each branch, data center, or cloud location. It is a router with extra software. It has one or more connections to transports such as MPLS, broadband internet, or LTE (a cellular data service).
The edge device does these things:
- It forwards user packets, using the routes it received from the controller and from the local LAN.
- It builds encrypted overlay tunnels to other edge devices over each transport. The next chapter covers these tunnels in detail.
- It sends probes through each tunnel to measure latency, loss, and jitter.
- It enforces the policy it receives, such as which application uses which path.
Edge devices can be physical appliances or virtual machines. A virtual edge is common in public cloud environments, where you cannot install hardware.
Because the edge device forwards traffic by itself, it keeps working if the controllers become unreachable. It continues to use the last routes and policy it received, for a limited time that depends on the vendor and configuration.
The control plane: the controller
The controller does not forward user traffic. It receives information from every edge device and sends the results back out. In Cisco SD-WAN, the protocol that carries this information is the Overlay Management Protocol (OMP). OMP behaves much like BGP. It carries three kinds of information:
- Routes: the prefixes reachable behind each edge device.
- Transport locators (TLOCs): the addresses and transports where an edge device can be reached, such as its public IP address on the broadband link.
- Policy and keys: centrally defined policy, plus the encryption material that edge devices use for their data tunnels.
Each edge device holds one control connection to a controller rather than a full mesh of routing sessions with every other edge device. With 500 sites, the controller handles 500 control connections. A traditional design that peered every site with every other site would need about 125,000 pairs (500 × 499 ÷ 2).
The controller also acts as a policy point. It can change what each edge device learns. For example, it can hide the routes of a branch from other branches so that sites only reach the data center. This is a hub-and-spoke topology created by policy, not by cabling.
The management plane: the manager
The manager is the single place where administrators work. It provides a graphical interface and an API. Its main functions are:
- Templates: a template is a reusable configuration. You define one for a branch type, fill in the values that differ per site, such as IP addresses, and apply it to many edge devices.
- Policy definition: you write centralized policy in the manager, and it pushes the policy to the controller.
- Monitoring: it collects statistics and shows tunnel health, application usage, and alarms.
- Software management: it handles software upgrades across the fleet.
Templates are what turn a 300-site rollout from 300 manual configurations into one template plus 300 sets of variables. They also reduce drift, which is the slow divergence of device configurations that happens when different people edit them by hand.
The orchestration plane: onboarding
A new edge device must find the controllers and prove it belongs to your network. The orchestrator handles this step. The device boots with minimal information, such as the address of the orchestrator. It contacts the orchestrator, and the two sides authenticate each other with certificates. The orchestrator then tells the device which controller and manager to connect to. After this, the device connects to them and receives its full configuration.
This process is called zero-touch provisioning (ZTP). A branch can receive a device that is shipped in a box, plugged in by a non-technical person, and configured from the center without anyone logging in locally.
The orchestrator also has to be reachable from every site. It needs a public IP address, since a new device has no overlay yet and no other way to find it.
Order of events when an edge joins
- The edge boots and obtains an IP address on its transport, for example by DHCP.
- It contacts the orchestrator and authenticates.
- The orchestrator returns the addresses of the controller and the manager.
- The edge builds control connections to both.
- The manager sends the configuration from the template.
- The edge advertises its routes and TLOCs to the controller.
- The controller sends back the routes and TLOCs of the other sites, plus policy.
- The edge builds data tunnels to the other sites and begins probing them.
Edge cases and failure modes
Separating the planes creates failure cases that a traditional WAN does not have.
| Failure | Effect on existing traffic | Effect on changes |
|---|---|---|
| Manager unreachable | Traffic continues | You cannot push configuration or view live statistics |
| Controller unreachable | Traffic continues with the last known routes, for a limited time | New routes and policy are not distributed |
| Orchestrator unreachable | Established devices are unaffected | New devices cannot onboard |
| One transport fails | Traffic moves to the remaining transports | None if policy permits the other path |
Several details are worth remembering:
- Controller redundancy matters. Deploy at least two controllers, in separate locations. A single controller is a single point of failure for any change in the network.
- Time and certificates. Authentication relies on certificates. An expired certificate or a badly set clock can stop a device from joining. This is a common cause of "the device will not come up."
- Firewalls and NAT. The control connections need specific ports to be open from the edge to the controllers. An edge behind NAT on a broadband link still works, because the controller learns both the private and the public address, but strict firewalls can block it.
- Scale limits. Each controller supports only a limited number of connections. Large networks add controllers and spread edge devices across them.
Comparing with a traditional WAN
| Item | Traditional router WAN | SD-WAN |
|---|---|---|
| Configuration | Per device, often by CLI | Central templates |
| Routing decisions | Each router, using local protocols | Controller distributes routes and policy |
| Path choice | Destination-based routing | Application-aware, using measured path quality |
| New site | Engineer configures on site or beforehand | Zero-touch provisioning |
| Failure of the central system | Not applicable | Forwarding continues, changes stop |
The trade-off is a new dependency. You gain central control and automation, and you take on the operation of the controllers, certificates, and a vendor's management system.
Exercise
An SD-WAN has two controllers, one manager, and one orchestrator. During an outage, the manager becomes unreachable for two hours. Does traffic between branches stop, and what can administrators not do during that time? Name the plane for each answer.
Show answer
Traffic does not stop, because the data plane on the edge devices keeps forwarding using the routes and policy it already holds, and the controllers (control plane) are still reachable. Administrators cannot push configuration changes, apply template updates, or view live monitoring data, because those are management plane functions that depend on the manager.
Exercise
A new branch edge device is plugged in and has an IP address from DHCP, but it never joins the network. Its certificate has expired. Which component does the device fail to authenticate with first, and in which plane does that component work?
Show answer
It fails to authenticate with the orchestrator (vBond in Cisco SD-WAN), which works in the orchestration plane. The orchestrator verifies the device certificate before it hands out the controller and manager addresses, so the device cannot proceed to the later steps.