Software-Defined Networking Cheat Sheet

SDN architecture, control/data plane separation, OpenFlow protocol, network overlays, and modern SDN controllers compared.

Last Updated: July 15, 2025

SDN Architecture

PlaneFunctionLocation
ApplicationNetwork apps: routing, firewall, LBNorthbound API
ControlCentral brain — topology, path decisionsSDN Controller (ONOS, ODL)
DataPacket forwarding — match/actionSwitches (OVS, hardware)

OpenFlow Basics

ItemDescription
Flow TableMatch fields (src/dst IP, port, VLAN) → action (forward, drop, modify)
OpenFlow ChannelTLS-secured control channel between controller and switch
Packet-InSwitch sends unmatched packet to controller for decision
Flow-ModController installs forwarding rule in switch flow table
Reactive vs ProactiveReactive: controller queried per flow. Proactive: rules pre-installed

Network Overlays

TechnologyEncapsulationUse Case
VXLANL2 over UDP (port 4789)Multi-tenant cloud, VMware NSX
NVGREL2 over GREMicrosoft Hyper-V networks
GeneveExtensible L2 over UDPModern cloud networking
GENEVEFlexible metadataOpen vSwitch, Linux kernel

SDN Controllers

ControllerProtocolNotes
ONOSOpenFlow, NETCONFCarrier-grade, distributed
OpenDaylightOpenFlow, NETCONF, BGPModular Java platform
RyuOpenFlowPython framework — research/learning
FloodlightOpenFlowJava — Big Switch Networks
Pro Tip: SDN decouples the control plane (decision-making) from the data plane (packet forwarding). This centralizes network intelligence and makes automation possible via APIs.
Part of the Empire Builder Network