Lesson 7 / 11
Module 7Lesson 1⏱ 45 min study

Lesson 7: SDN Architecture, Control Separation, & OpenFlow

Explore distributed routing protocol limitations, centralized SDN controllers (OpenFlow, OVS), and network programmability.

✦ Key Architectural Takeaways
  • •Traditional routers tightly couple the control plane (computing routes) and data plane (forwarding packets) inside proprietary vendor hardware.
  • •SDN centralizes control intelligence into software, exposing standardized southbound APIs to program bare-metal whitebox switches.
  • •OpenFlow abstracts switch forwarding tables into multi-stage flow tables with flexible header match-action pipelines.

1. The Stagnation of Traditional Router Design

In legacy computer networks, every router is a vertically integrated proprietary black box combining two distinct functions:

  1. 1Control Plane: Executes distributed routing algorithms (OSPF, BGP, RIP) to construct routing tables.
  2. 2Data Plane: High-speed ASIC silicon that inspects incoming packet headers and forwards bits to physical ports.

Because control decisions were distributed across thousands of autonomous boxes from diverse vendors, testing or deploying a novel routing feature required years of standardization, manual CLI configurations, and complex distributed convergence debugging.

§

2. The SDN Paradigm: Separation of Planes

Software-Defined Networking fundamentally breaks this hardware lock-in by separating the control plane from the data plane:

ARCHITECTURE DIAGRAMSYSTEM SCHEMATIC
          +--------------------------------------------+
          |      Centralized SDN Software Controller   |
          |    (Topology Discovery, Global Path Engine)|
          +--------------------------------------------+
                 | (Southbound Protocol: OpenFlow) |
                 v                                 v
          +--------------+                  +--------------+
          |  Data Plane  |                  |  Data Plane  |
          | (Whitebox)   |                  | (Whitebox)   |
          +--------------+                  +--------------+
  • Centralized Network Intelligence: The SDN controller holds an omniscient global view of the entire network topology, traffic loads, and link health.
  • Standardized Whitebox Hardware: Physical switches become fast, low-cost commodity forwarding engines that simply execute forwarding instructions issued by the controller.
§

3. The OpenFlow Protocol & Match-Action Pipeline

OpenFlow standardizes the language through which an SDN controller configures switch forwarding hardware:

  • Flow Tables: Each switch maintains a pipeline of flow tables. Each entry contains:
  • Match Fields: Ingress port, source/destination MAC addresses, VLAN tags, IP addresses, and TCP/UDP ports.
  • Counters: Real-time packet and byte counters for telemetry.
  • Instructions / Actions: Forward out port X, drop packet, rewrite header fields (NAT/VLAN push-pop), or forward to controller.
  • Proactive vs. Reactive Programming: Flow rules can be pre-programmed in advance (proactive) or injected dynamically in response to unknown incoming traffic (reactive).