Skip to the content ForoHackers
Log inJoin

Software-defined networking: start here

Software-defined networking
#3183 · · Quote · Report

Software-defined networking separates the part of a network that decides where traffic goes from the part that moves it. A central or logically central controller computes policy in ordinary software; simple switches follow the rules it installs. The result is a network you program, test and change like any other system.

Key concepts

  • Control plane and data plane: the first decides and the second forwards, and SDN splits them.
  • Match-action tables: a switch matches header fields and applies an action, such as forward, drop or rewrite.
  • Southbound and northbound interfaces: the controller speaks to devices with a protocol such as OpenFlow, and to applications through an API.
  • Programmable data planes: languages such as P4 describe how a switch parses and forwards packets.
  • Virtual networks: overlays that give tenants private networks on shared hardware.

Vocabulary

  • Controller: the software that holds the network's global view and installs rules.
  • Flow: a stream of packets sharing header values, the unit rules act on.
  • Overlay: a virtual network tunnelled over a physical one, as with VXLAN.
  • Open vSwitch: a widely used software switch for virtualised hosts.
  • Intent: a high-level statement of what the network should do, left to software to realise.

What to study, in order

  1. Classic switching and routing, so you know what is being separated.
  2. Run Open vSwitch and a network emulator such as Mininet on one machine.
  3. Write a small controller that learns MAC addresses and installs flows.
  4. Add a policy, such as blocking one host pair, and verify it with captured traffic.
  5. Read about failure: what happens to forwarding when the controller is unreachable, and how to scale it out.

Related tags

#routing #network-administration #virtualization #protocols

You are not logged in, so this goes up anonymously: no account, no name and no address is stored with it, and it may carry no link and no image. Log in or join to post under your name. Our web server's logs keep the address and time of every request for up to 14 days; to keep yours out of them, use Tor. To reach the staff in confidence, use the drop. Sign as a returning source (a key kept only in this browser)

Sending takes a few seconds here: your browser first works out a proof of work against spam.

Reply