Software Defined Networking
Summary
Software-defined networking (SDN) separates the decisions about where traffic should go from the devices that forward it. A central controller programs the network through APIs, so networks can be configured, segmented and changed by software instead of device by device.
In plain words
SDN separates the network into three planes. The management plane monitors, the control plane decides (priorities, security, paths), and the data plane actually forwards traffic. A central controller applies policy. Applications talk to it through the northbound API, and it programs devices through the southbound API. NFV runs network functions such as firewalls and routers as VMs or containers.
Detailed explanation
- Software-defined networking (SDN): An architecture that centralizes network control in software and programs forwarding devices through APIs.
Network planes
- Management plane: Used to configure and monitor devices.
- Control plane: Makes decisions about how traffic should be forwarded; centralized in an SDN controller.
- Data plane: Forwards traffic according to the control plane's decisions. Also called the forwarding plane.
Interfaces
- Northbound API: Lets applications and orchestration tools tell the controller what they need.
- Southbound API: Lets the controller program switches and routers, such as with OpenFlow.
- Network functions virtualization (NFV): Running network functions such as firewalls, routers and load balancers as software on standard servers.
- Security: The controller is a high-value target and must be protected, but SDN makes microsegmentation and rapid response easier.
Important terms
taken from the text above- Software-defined networking (SDN)
- An architecture that centralizes network control in software and programs forwarding devices through APIs.
- Management plane
- Used to configure and monitor devices.
- Control plane
- Makes decisions about how traffic should be forwarded; centralized in an SDN controller.
- Data plane
- Forwards traffic according to the control plane's decisions. Also called the forwarding plane.
- Northbound API
- Lets applications and orchestration tools tell the controller what they need.
- Southbound API
- Lets the controller program switches and routers, such as with OpenFlow.
- Network functions virtualization (NFV)
- Running network functions such as firewalls, routers and load balancers as software on standard servers.
Examples & real-world scenarios
- A controller pushing a new segmentation rule to every switch at once.
- A virtual firewall deployed as a VM (NFV).
- An orchestration tool using the northbound API to request a network path.
Scenario
A data centre needs to isolate a newly compromised VM immediately. With SDN, one policy change at the controller is pushed to the data plane everywhere, with no device-by-device work.
Common mistakes
- Swapping northbound (apps to controller) and southbound (controller to devices) APIs.
- Mixing up the control plane (decisions) and the data plane (forwarding).
Practical skills
- Name the three SDN planes and the two controller APIs.
What I should remember
- SDN: Separates the control plane from the data plane.
- Control plane: Decides how traffic is forwarded.
- Data plane: Moves the traffic.
- NFV: Network appliances delivered as software.