SDN & Programmable Forwarding
Read this concept as one more decision made about a packet in flight. The widget below lets you change the inputs and watch the consequence instead of memorising the rule.
Why it matters
Separating the forwarding decision from the device that executes it changes where a route comes from and how quickly it can be changed. Data packets still cross the switch, but control messages follow a separate path.
On the wire
An OpenFlow switch matches packet fields against flow entries and applies actions such as forward, drop, or rewrite; misses are sent to the controller as Packet-In messages. The controller installs or modifies flows with Flow-Mod messages over a separate TCP session, often TLS-protected.
When it breaks
A controller that becomes unreachable leaves existing flows working but prevents new flows from being installed, so first packets of new flows stall or flood. A flow entry with overly broad match fields can hijack traffic that should have followed a different path.
Programmable forwarding
Click links to fail or restore them, then send a packet to follow the computed path.
Table miss: the first packet goes to the controller as Packet-In; the Flow-Mod adds +3 to the displayed cost.