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.

Network and control layers — conceptual cover
Generated conceptual illustration, not a product screen or research result.

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.

LayerResponsibilityIllustrative example
ApplicationsExpress network requirements and policiesLoad balancing or access policy
ControlTurn requirements into device rulesPath selection and forwarding rules
InfrastructureProcess packets using available rulesPhysical 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

From application requirements to packet forwarding
Application plane
RoutingQuality of serviceSecurity policies

Expresses network requirements and uses network-state information.

Application–control interface
Requirements ↓Network state ↑
Control plane
SDN controller

Connects application requirements to network-device behaviour.

Control–data interface
Forwarding rules ↓Statistics and events ↑
Data plane
Network device
Network device
Network device

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 architecture

Where 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 matchIllustrative action
Conditions for an allowed serviceForward to a selected port
Conditions for a blocked flowDrop

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.

AspectTraditional modelSDN approach
ControlFunctions distributed among devicesProgrammable control with a shared logical view
ConfigurationManual or automatedShared policies can be expressed through interfaces
CompatibilityDevices and protocols matterSupported interfaces and capabilities also matter
PerformanceRequires measurementRequires 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.

References

Help improve this content

Suggest a correction or edit

Your contribution is private and used to review and improve this content. The Privacy Policy explains how data is processed and retained and how to request deletion. Read the Privacy Policy and Terms of Use.