- Introduced by
- Nick McKeown et al.
- Year
- 2008
- Type
- programmable network paradigm
- Family
- Network architecture
What does it do?
Software-Defined Networking (SDN) is a network architecture that separates the control plane, which decides how traffic should be handled, from the data plane, which forwards packets.
A central controller, running as software, installs forwarding rules in switches that carry out those decisions. The OpenFlow paper by McKeown et al. (2008) proposed a standardised switch interface for this kind of control and is a key reference for the approach. SDN is deployed in data centers and some service provider networks, although traditional distributed routing remains common elsewhere.
The intuition behind the method
In a conventional network, routing, switching and filtering logic runs inside each router and switch, so changing behaviour means reconfiguring many devices. In SDN, the forwarding devices hold only flow tables, which are sets of match-and-action rules installed by a controller, and they do not decide policy themselves. The controller uses its view of the network state and the operator's policies to compute those rules. When a policy changes, the controller can update the rules across switches without replacing hardware. The same general idea of separating control from execution is used in many cloud management interfaces.
History
The OpenFlow paper by McKeown et al. (2008) proposed an interface that allows a controller to add and remove flow entries in standard switches, aimed at letting researchers run experimental protocols in the campus networks they use every day. The paper describes planned OpenFlow deployments in two Stanford University buildings, using commercial Ethernet switches and routers. That work is a key reference point for the SDN approach discussed here. SDN has not replaced traditional routing in all settings, and hybrid deployments, which combine SDN with traditional routing, are also studied.
When to use it
Choose SDN when a network needs centrally managed policy, frequent reconfiguration, or application-aware traffic control, as is common in data center and cloud environments. It is also suited to operators who want to add services through software rather than through new hardware. Assumptions to check before adopting it: the controller must be reachable from every switch over a dependable control channel, the switches must support flow-table programming (for example through OpenFlow), and their flow tables must be large enough for the rules the policy needs. Avoid SDN when hard real-time behaviour is required, because a first packet of a new flow may wait for a controller decision. For small networks, or networks built on hardware that does not support flow-table programming, the added complexity may outweigh the benefits. Traditional distributed routing remains a reasonable choice where stable, simple topologies are sufficient.
Limitations and considerations
- The controller is a central dependency; redundancy requires replicated controllers and careful state synchronisation.
- Central control adds signalling load and latency as the network grows, which limits how well a single controller scales.
- Flow tables are stored in TCAM, which is costly and has limited capacity, so switches cannot hold rules for every possible flow.
- The first packet of a new flow waits for a controller decision, so flow setup adds delay that depends on controller response time.
- OpenFlow is one southbound interface, and interoperability between vendors' controllers and switches cannot be assumed; it should be tested in the target deployment.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Programmability: forwarding behaviour can be changed by updating controller software rather than replacing switches.
- Central view: the controller holds a global picture of topology and state, which makes policies that span many devices easier to express.
- Traffic engineering: the controller can recompute and reinstall rules when congestion or link failures are detected.
- Simpler switches: forwarding devices need only flow-table support rather than full control-plane logic, which can reduce per-device complexity.
Applications
- Data center networks: traffic engineering and placement of workloads and virtual machines under central control
- Cloud networking: multi-tenant isolation and policy management for virtualised environments
- Wide-area networks: centralised traffic engineering and failover control across sites
- Network function virtualisation: software-controlled steering of traffic through virtual network functions
- Campus networks: experimental protocols run on production campus backbones and wiring closets, as proposed in the OpenFlow work
How it works
How it works
The network operator defines forwarding policy and service objectives, such as quality of service, security rules, or traffic engineering goals.
The SDN controller translates this policy into forwarding rules (flow table entries). Each rule matches packet header fields such as IP address, port and protocol, and specifies an action such as forward, drop, modify or encapsulate.
The controller installs these rules in the switches using OpenFlow or a similar southbound protocol. Each switch keeps its flow table in fast memory, typically TCAM, which limits how many rules it can hold.
An incoming packet is compared against the flow table. If a rule matches, its action is executed, for example forwarding to a given port. If no rule matches, the packet is sent to the controller for a decision.
The controller uses its knowledge of the topology and policy to decide how the new flow should be routed, and installs the corresponding rules. Later packets in that flow are then forwarded by the switch without involving the controller.
Common pitfalls
- Assuming the controller can reroute all traffic instantly. Flow setup time and rule installation delay mean that rerouting is not immediate for every flow.
- Neglecting security. A compromised controller gives an attacker control over forwarding across the whole network, so controller access must be protected.
- Undersizing the flow table. When TCAM fills, new rules cannot be installed and forwarding performance can degrade sharply.
- Underestimating operations. Much of the operational effort moves from hardware configuration to software engineering, testing and controller maintenance.
- Running SDN alongside legacy networks without a clear design. Hybrid networks with partial SDN deployment add integration complexity at the boundary.
Frequently asked questions
What is OpenFlow and how does it relate to SDN?
OpenFlow is a protocol for communication between an SDN controller and switches. It defines how the controller adds, modifies and removes flow entries in the switch's flow table. The 2008 OpenFlow paper proposed this interface so that researchers could run experimental protocols on existing networks, and it is a key reference point for the approach described on this page. OpenFlow is not the only southbound interface, so SDN should not be treated as synonymous with it.
How does SDN handle failover and redundancy?
The controller can be replicated so that a standby takes over if the primary fails, and the replicas must keep their view of network state consistent. When a link fails, the controller detects the change through topology discovery and reprograms the remaining paths. Failover speed depends on detection time, replication design and rule installation, and poor design can create forwarding loops or inconsistent rules during the transition.
What is the control-plane versus data-plane latency impact?
The first packet of a new flow must wait for the controller to respond, which includes the round trip to the controller, the decision time and rule installation. This can delay application startup, and the effect is larger when flows are short and numerous. Later packets in the same flow are forwarded by installed rules without controller involvement, so the overall impact depends on how finely traffic is divided into flows.
Can SDN replace traditional routing protocols such as BGP and OSPF?
SDN can compute routes in the controller instead of through distributed protocols, but this trades distributed resilience for central control, and a controller failure affects the whole domain. Hybrid designs that keep distributed protocols for some roles, for example SDN inside a domain with BGP between domains, are one option. The right split depends on the network's size, resilience requirements and operational capacity.
Related methods
Sources
McKeown, N., Anderson, T., Balakrishnan, H., et al. (2008). OpenFlow: enabling innovation in campus networks. ACM SIGCOMM Computer Communication Review, 38(2), 69-74.
Open DOI referenceDoria, A., Hellstein, H., Haas, R., et al. (2013). Forwarding and Control Element Separation (ForCES) Protocol Specification. RFC 5810.
Open publication reference