Concepts / Software-defined networking

Software-defined networking

OpenFlow

Also called flow table, flow entry, match and action, Open vSwitch, OVS, southbound protocol, TCP 6653, table-miss, fail mode secure

The protocol an SDN controller uses to write match-and-action rules (flows) into a switch's flow table.

The controller writes the rules, the switch only matches
The controller writes the rules, the switch only matches

The switch forwards each packet by the highest-priority flow that matches. A packet no other flow matches hits the table-miss flow, here sent to the controller to decide.

OpenFlow is the protocol an SDN controller uses to write flows into a switch's flow table, over TCP 6653. A flow matches header fields (ports, MAC and IP addresses, TCP ports) and names an action: forward, drop, rewrite, or hand to the controller. The highest priority match wins; a table-miss flow (priority 0) catches the rest. Without a controller, Open vSwitch in fail mode secure forwards only by its flows.

See it on real machines

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab