Bookmarks

SDN — software-defined networking

An approach to building networks in which a central controller decides where traffic goes, and switches and routers simply forward packets according to its rules.

Also: software-defined network, controller-based networking

checked 9 Nov

All terms

In a traditional network, every switch and router decides for itself where to forward packets: devices exchange routing information and compute their tables independently. The idea behind SDN is to separate control from forwarding: a single controller builds a picture of the whole network and hands ready-made rules to the devices, which only move packets quickly.

The three planes

PlaneWhat it does
Dataforwards packets according to rule tables; runs on every device, as fast as possible
Controldecides where each kind of traffic goes: computes routes and rules for the devices
Managementconfiguration and bookkeeping: device settings, policy, monitoring

A classic network combines the control plane and the data plane in each device. In SDN the control plane moves out into a controller, which sees the whole network and keeps rules consistent across all devices.

How an SDN network is built

LayerExamples
Applicationssecurity policies, load balancing, topology discovery
Northbound APIa REST interface through which applications pass their intent to the controller
Controllerthe central node: OpenDaylight, ONOS, the built-in controller of commercial platforms
Southbound interfacesOpenFlow, NETCONF, OVSDB, ForCES: protocols the controller uses to talk to devices
Devicesphysical and virtual switches, such as Open vSwitch

The rules a controller hands to devices are called flows: an entry in a flow table describes which packets match and what to do with them. The foundational protocol for this kind of control is OpenFlow: the controller connects to a switch and fills in its flow table.

Where it is used

  • Data centres and clouds: a controller creates tenant networks on top of shared physical hardware, usually over VXLAN overlay tunnels.
  • SD-WAN: a controller picks the link between offices by latency and loss, and policy is set centrally.
  • Telecom networks: programmatic configuration instead of manually configuring thousands of devices, together with virtual network functions.
  • Hypervisor and Kubernetes networks: virtual switches are configured by a controller automatically, with no manual rules on each host.

The OpenFlow protocol is described in the paper “OpenFlow: Enabling Innovation in Campus Networks” (ACM SIGCOMM Computer Communication Review, April 2008), and in 2011 the Open Networking Foundation was founded to develop SDN and standardise OpenFlow.

Sources

the term is written from these pages

Verified 9 Nov

Not to be confused with

what it is mixed up with and how it differs

In depth in the references

where the topic is covered in detail