Articles
Software-defined networking: control and packet forwarding
An introduction to SDN layers, controllers and OpenFlow, comparing network control models while explaining the limits of performance and security claims.

How does a network know where to send a packet? One function decides the path; another forwards the packet according to that decision. Software-defined networking makes the control decision manageable through software while network devices continue to perform forwarding.
We will begin with that distinction, then connect applications, controllers and switches and explain where OpenFlow fits.
What is SDN?
Software-defined networking makes network behaviour programmable. Its central idea is to separate control decisions from packet forwarding, connecting them through interfaces. Network policies can then be expressed in software rather than only as isolated device settings. ONF definition
This does not mean that earlier network architectures stopped evolving or that routers and switches disappear. Devices still carry traffic; the allocation of control responsibilities changes.
Control and forwarding
A traditional router or switch includes functions that choose routes and functions that forward packets using those decisions. In an SDN design, a software controller can manage several devices and expose a shared network view.
Centralisation is logical, not necessarily physical. Several controller instances may cooperate to provide a common control function when availability and scale require it. ONF architecture
A three-layer teaching model
This simplified view explains the main idea; detailed reference models also distinguish management and abstraction functions.
| Layer | Responsibility | Illustrative example |
|---|---|---|
| Applications | Express network requirements and policies | Load balancing or access policy |
| Control | Turn requirements into device rules | Path selection and forwarding rules |
| Infrastructure | Process packets using available rules | Physical or virtual switches and routers |
Applications communicate with control through northbound interfaces; control communicates with devices through southbound interfaces. Monitoring is one possible application function, not the whole purpose of the layer. RFC 7426 terminology
Expresses network requirements and uses network-state information.
Connects application requirements to network-device behaviour.
Packets move between devices according to rules; not every packet passes through the controller.
A simplified SDN architecture: applications express requirements, control translates them into rules, and network devices forward packets.
Concept reference: Open Networking Foundation SDN architectureWhere OpenFlow fits
OpenFlow lets a controller communicate with a supporting switch, including management of flow tables. The switch matches packet fields against a rule and applies an action such as forwarding or dropping. The following table is conceptual, not a deployable network configuration.
| Illustrative match | Illustrative action |
|---|---|
| Conditions for an allowed service | Forward to a selected port |
| Conditions for a blocked flow | Drop |
SDN is broader than OpenFlow and may use other interfaces and protocols. Nor must every packet visit the controller: installed rules can process traffic locally. Whether the controller is consulted depends on the design. RFC 7426, RFC 7149
Comparing control models
The distinction is architectural, not a promise that either approach always wins.
| Aspect | Traditional model | SDN approach |
|---|---|---|
| Control | Functions distributed among devices | Programmable control with a shared logical view |
| Configuration | Manual or automated | Shared policies can be expressed through interfaces |
| Compatibility | Devices and protocols matter | Supported interfaces and capabilities also matter |
| Performance | Requires measurement | Requires measurement; separation alone proves no gain |
Adopting SDN does not guarantee a speed increase, and traditional network configuration does not always require a shutdown. Latency, throughput and availability should be measured in the actual operating context. RFC 7149
Challenges and use cases
Migration must consider existing devices, flow-table limits, controller placement, connectivity failures and state coordination. A new decision involving the controller can add latency, but this does not imply that all data traffic travels through it.
Network size alone does not determine suitability. Automation needs and shared policies must be weighed against operational complexity and cost.
Is SDN more secure?
Programmable control can support consistent policy, but its interfaces and software also need protection. Encryption alone is insufficient: identity checks, authorisation, application controls, updates and failure testing matter. Redundant controllers are a design decision, not an automatic guarantee. RFC 7149 security considerations
Relation to my work
This topic connects with my interest in network routing and software systems. The doctoral research overview introduces the ongoing work on routing and quality of service.

