0% found this document useful (0 votes)
27 views5 pages

Understanding SDN Control and Data Planes

The document discusses automation and software defined networking. It describes the three planes of a router - the control plane, data plane, and management plane. The control plane is responsible for routing information exchange and building tables. The data plane forwards traffic based on information from the control plane. The management plane is used for accessing and managing devices. Software defined networking uses a central controller to manage the entire network control plane through southbound and northbound interfaces. The southbound interface programs the network devices, while the northbound interface provides access to the controller through APIs.

Uploaded by

Debashish Roy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views5 pages

Understanding SDN Control and Data Planes

The document discusses automation and software defined networking. It describes the three planes of a router - the control plane, data plane, and management plane. The control plane is responsible for routing information exchange and building tables. The data plane forwards traffic based on information from the control plane. The management plane is used for accessing and managing devices. Software defined networking uses a central controller to manage the entire network control plane through southbound and northbound interfaces. The southbound interface programs the network devices, while the northbound interface provides access to the controller through APIs.

Uploaded by

Debashish Roy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

AUTOMATION & SOFTWARE DEFINED NETWORKING (SDN)

Different tasks of a router are separated by different planes. There are three planes:

• control plane
• data plane
• management plane

Let’s take a look at the difference between these three planes…

Control Plane
The control plane is responsible for exchanging routing information, building the ARP
table, etc. Here are some tasks that are performed by the control plane:

• Learning MAC addresses to build a switch MAC address table.


• Running STP to create a loop-free topology.
• Building ARP tables.
• Running routing protocols like OSPF, EIGRP, and BGP and building the routing
table.

Data Plane
The data plane is responsible for forwarding traffic. It relies on the information that the
control plane supplies. Here are some tasks that the data plane takes care of:

• Encapsulate and de-encapsulate packets.


• Adding or removing headers like the 802.1Q header.
• Matching MAC addresses for forwarding.
• Matching IP destinations in the routing table.
• Change source and destination addresses when using NAT.
• Dropping traffic because of access-lists.

The tasks of the data plane have to be performed as fast as possible which is why the
forwarding of traffic is performed by specialized hardware like ASICs and TCAM tables.

Management Plane
The management plane is used for access and management of our network devices. For
example, accessing our device through telnet, SSH or the console port.
Traditional networking uses a distributed model for the control plane. Protocols like
ARP, STP, OSPF, EIGRP, BGP and other run separately on each network device. These
network devices communicate with each other but there is no central device that has an
overview or that controls the entire network.

With SDN, we use a central controller for the control plane. Depending on the
vendor’s SDN solution, this could mean that the SDN controller takes over the control
plane 100% or that it only has insight in the control plane of all network devices in the
network. The SDN controller could be a physical hardware device or a virtual machine.
Southbound Interface

The SDN controller has to communicate with our network devices in order to program
the data plane. This is done through the southbound interface. This is not a physical
interface but a software interface, often an API (Application Programming Interface).

An API is a software interface that allows an application to give access to other


applications by using pre-defined functions and data structures.
Some popular southbound interfaces are:

• OpenFlow: this is probably the most popular SBI at the moment, it’s an open
source protocol from the Open Networking Foundation. There are quite a few
network devices and SDN controllers that support OpenFlow.
• Cisco OpFlex: this is Cisco’s answer to OpenFlow. It’s also an open source protocol
which has been submitted to the IETF for standardization.
• CLI: Cisco offers APIC-EM which is an SDN solution for the current generation of
routers and switches. It uses protocols that are available on current generation
hardware like telnet, SSH, and SNMP.

Northbound Interface

The northbound interface is used to access the SDN controller itself. This allows a
network administrator to access the SDN to configure it or to retrieve information from
it. This could be done through a GUI but it also offers an API which allows other
applications access to the SDN controller. You can use this to write scripts and automate
your network administration. Here are some examples:

• List information from all network devices in your network.


• Show the status of all physical interfaces in the network.
• Add a new VLAN on all your switches.
• Show the topology of your entire network.
• Automatically configure IP addresses, routing, and access-lists when a new virtual
machine is created.

Through the API, multiple applications are able to access the SDN controller:

• A user that is using a GUI to retrieve information about the network from the SDN
controller. Behind the scenes, the GUI is using the API.
• Scripts that are written in Java or Python can use the API to retrieve information
from the SDN controller or configure the network.
• Other applications are able to access the SDN controller. Perhaps an application
that automatically configures the network once a new virtual machine is created
on a VMware ESXi server.
SDA FABRIC, UNDERLAY, AND OVERLAY

Overlay:The mechanisms to create VXLAN tunnels between SDA switches,


which are then used to transport traffic from one fabric endpoint to another
over the fabric.

Underlay : The network of devices and connections (cables and wireless) to


provide IP connectivity to all nodes in the fabric, with a goal to support the
dynamic discovery of all SDA devices and endpoints as a part of the process to
create overlay VXLAN tunnels.

Fabric: The combination of overlay and underlay, which together provide all
features to deliver data across the network with the desired features and
attributes

Common questions

Powered by AI

Implementing security measures for APIs used in SDN northbound and southbound interfaces requires meticulous attention to several key considerations. One primary concern is ensuring robust access control, which involves authenticating and authorizing users and applications with strong credentials and roles-based policies to restrict access based on necessity . Data encryption during API interactions is also critical to protect sensitive information as it traverses potentially insecure networks. API vulnerabilities must be continuously monitored and patched to prevent exploits, underscoring the importance of regular security assessments and updates. Additionally, comprehensive logging and monitoring of API activities are crucial to detect and respond promptly to any malicious activities or anomalies. Given their critical role, APIs should also be isolated from direct internet exposure to reduce attack surface risk . These combined measures are essential to safeguard the integrity and confidentiality of SDN environments .

In SDN architectures, the southbound interface and northbound interface serve different purposes. The southbound interface allows the SDN controller to communicate programmatically with network devices to manage the data plane operations, enabling actions like updating routing tables or applying security policies. This interface typically involves APIs such as OpenFlow or Cisco OpFlex . Conversely, the northbound interface facilitates interactions with the SDN controller itself, allowing network administrators and applications to configure or retrieve network information. This can be done through various means such as a GUI or scripts, and it supports automation of tasks like deploying new network configurations or monitoring network status .

APIs significantly enhance the functionality and flexibility of SDN environments by enabling dynamic and programmable interactions between the SDN controller, network devices, and external applications. Through the southbound API, the SDN controller can efficiently manage and configure network devices, controlling the data plane based on the control logic, which promotes flexibility and rapid adaptation to network changes . The northbound API allows external applications and administrators to access and integrate with the SDN controller, facilitating automation and orchestration of network tasks such as device configuration, monitoring, and troubleshooting . This programmability allows network administrators to script tasks in languages like Java or Python to automate tedious processes, enhancing operational efficiency and reducing errors in network management .

An SDN controller offers a central view and control over the entire network, which contrasts with the traditional networking model where devices operate in a distributed manner with individual control planes. This centralized approach allows for more efficient network management and optimization as it provides a holistic view of the network, enabling more intelligent routing decisions and simpler policy implementation . The SDN controller can use protocols like OpenFlow or Cisco OpFlex to directly program the data plane, streamlining updates and changes across the network without needing to manually configure each device . These advantages lead to increased agility, reduced human errors, and the ability to automate network changes using northbound interfaces, enhancing overall network reliability and efficiency .

In SDA Fabric, the overlay and underlay networks work together to enhance network performance. The underlay network provides the foundational IP connectivity across all devices and supports dynamic discovery of SDA fabric components, which is crucial for the establishment of the overlay network through VXLAN tunnels . These tunnels form the overlay network, which abstracts the logical network from the physical topology, allowing for efficient transportation of traffic across the network fabric endpoints . The integration of overlay and underlay networks ensures that data is delivered efficiently and with the desired features, such as isolation and flexible routing, which optimizes overall network performance and management .

Implementing SDN solutions such as Cisco's APIC-EM on existing network infrastructure can transform network operations significantly. APIC-EM provides a policy-driven architecture that abstracts hardware functions and centralizes network management, which streamlines operations, improves compliance, and accelerates service deployment . It reduces manual intervention by automating network tasks through its policy-based framework, leading to fewer errors and increased operational speed. However, transitioning to such a solution may involve initial challenges, including the cost of upgrading hardware to accommodate SDN-compatible infrastructure, training personnel on new processes and interfaces, and restructuring existing network policies to fit the new SDN model . To minimize disruptions, companies should plan for phased rollouts, focus on comprehensive training, and conduct detailed impact analyses during the transition process .

In a software-defined networking (SDN) environment, the control plane and data plane have distinct roles but interact closely. The control plane is responsible for exchanging routing information and generating the necessary tables, such as MAC address tables and ARP tables, through protocols like OSPF, BGP, and EIGRP . It essentially instructs the data plane on how to forward traffic. The data plane, on the other hand, is tasked with the actual packet forwarding through actions such as encapsulating and de-encapsulating packets, matching MAC and IP addresses, and applying rules such as NAT and access-lists. This plane relies on fast hardware components like ASICs for efficiency . In an SDN setup, the control plane can be managed by a centralized SDN controller, which communicates with network devices via a southbound interface, ensuring that the data plane executes the control plane's directives accurately and efficiently .

ASICs (Application-Specific Integrated Circuits) and TCAM (Ternary Content Addressable Memory) tables play crucial roles in optimizing the performance of the data plane in both traditional and SDN-based networks by enabling rapid packet processing and routing. ASICs are designed for speed, executing specific network functions directly in hardware, which accelerates forwarding processes significantly compared to software-based solutions . TCAMs allow for fast table lookups, which is essential for high-speed packet classification and ensuring quick decision-making in routing operations. In SDN environments, while the control plane is centralized, the data plane still relies heavily on these hardware components to maintain high performance and low latency in packet forwarding. Thus, even as SDN centralizes control, the efficiency of the data plane continues to be enhanced by ASICs and TCAMs, bridging the advantages of traditional high-speed hardware with modern programmability .

VXLAN contributes to the functionality of the overlay network within SDA Fabric by enabling the creation of Layer 2 logical segments over a Layer 3 network infrastructure, effectively allowing for network segmentation and isolation without being restricted to physical network layouts. VXLAN supports the scalability of virtual networks by providing a larger namespace with a 24-bit segment ID, allowing up to 16 million unique identifiers, surpassing the limitations of traditional VLANs . This facilitates the expansion of network environments across data centers while maintaining necessary separation of virtual networks. VXLAN also enhances traffic multi-pathing capabilities across the underlay network, optimizing bandwidth and reducing congestion, which collectively offers superior flexibility and performance advantages in SDN environments .

Deploying a centralized SDN controller in a complex network infrastructure can pose several challenges. A significant concern is the controller becoming a single point of failure, which may lead to network disruptions if the controller fails or becomes isolated from its managed devices. Redundancy strategies, such as deploying backup controllers and ensuring high availability configurations, can mitigate this risk . Another challenge relates to scalability, as a single controller might struggle to efficiently manage large-scale networks with high demand for real-time data plane adjustments. Distributing the control functions across multiple controllers or using hierarchical controller architectures can help address scalability issues. Finally, security becomes paramount, as the centralization of control could present an attractive target for attacks. Implementing robust security measures such as encryption, strict access controls, and continuous monitoring can help safeguard the SDN infrastructure .

You might also like