Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Software-Defined Networking with OpenFlow
Software-Defined Networking with OpenFlow

Software-Defined Networking with OpenFlow: Deliver innovative business solutions , Second Edition

Arrow left icon
Profile Icon Oswald Coker Profile Icon SIAMAK AZODOLMOLKY
Arrow right icon
$19.99 per month
Full star icon Full star icon Full star icon Full star icon Full star icon 5 (1 Ratings)
Paperback Oct 2017 246 pages 2nd Edition
eBook
$24.99 $35.99
Paperback
$43.99
Subscription
Free Trial
Renews at $19.99p/m
Arrow left icon
Profile Icon Oswald Coker Profile Icon SIAMAK AZODOLMOLKY
Arrow right icon
$19.99 per month
Full star icon Full star icon Full star icon Full star icon Full star icon 5 (1 Ratings)
Paperback Oct 2017 246 pages 2nd Edition
eBook
$24.99 $35.99
Paperback
$43.99
Subscription
Free Trial
Renews at $19.99p/m
eBook
$24.99 $35.99
Paperback
$43.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
Table of content icon View table of contents Preview book icon Preview Book

Software-Defined Networking with OpenFlow

Software-Defined Networks

This chapter provides a solid foundation for Software-Defined Networking (SDN) concepts and other supporting technologies. Its characteristics are covered in this chapter as well as the various applications of SDN on production networks. Finally, Network Function Virtualization (NFV), a concept often mixed up with SDN, is explored and the differences between SDN and NFV are explained in details.

In this chapter, we will cover the following topics:

  • What is SDN?
  • SDN use cases
  • NFV

Understanding SDN

In a bid to understand SDN in relation with OpenFlow, it is necessary to provide a good background on SDN, its motivation, and what it promises. This chapter provides you with the required knowledge prior to the actual setup of SDN/OpenFlow, enabling experimental and developmental environments.

So what is SDN?

Traditional network technologies have existed from the inception of networking, even though various modifications have been made to the underlying architecture and devices (such as switches, routers, and firewalls) and frames and packets have been forwarded and routed using a similar approach resulting in limited efficiency and a high cost of maintenance. As a consequence of this, there was the need to evolve the techniques used in the architecture and operations of networks, which led to the birth of SDN.

SDN, often referred to as a revolutionary new idea in computer networking, promises to dramatically simplify network control and management and enable innovation through network programmability. Network engineers are responsible for configuring policies to respond to a wide range of network events and application scenarios. They manually transform these high-level policies into low-level configuration commands. These very complex tasks are often accomplished with access to very limited tools. Thus, network management control and performance tuning are quite challenging and error-prone tasks.

Another challenge is what network engineers and researchers refer to as internet ossification. Due to its huge deployment base and its impacts on different aspects of our life, the internet has become extremely difficult to evolve both in terms of its physical infrastructure as well as its protocols and performance. As emerging and demanding applications become more complex, the current status quo of the internet seems unable to evolve to address emerging challenges.

Present day network architecture is made up of a control plane, data plane, and management plane where the control and data planes are merged into a machine generally known as inside the box. To avoid these limitations, a new set of networks known as programmable networks have emerged, generally known as out of the box.

The main aim of SDN is to separate the control and data plane and transfer the network intelligence and state to the control plane. Some technologies that have exploited these concepts include Routing Control Platform (RCP), Secure Architecture for the Network Enterprise (SANE), and recently, Ethane. SDN is often related to the OpenFlow protocol. Currently, Open Networking Foundation (ONF) takes on the task of advancing SDN and standardizing OpenFlow, whose latest version is 1.5.0.

Characteristics of SDN

SDN can be recognized and distinguished from other innovative networking technologies by the features discussed in the upcoming sections.

Plane decoupling

Traditional network architecture comprises three distinct planes (control, data, and management), which enable full functionalities:

The main characteristics of SDN are the segregation of the control plane (which determines the way the traffic should be handled) and the data plane (which forwards the traffic based on decisions made by the control plane) based on incoming traffic parameters, such as the MAC address, IP address, and Virtual Local Area Network (VLAN) ID.

In SDN, these policies are determined by the control plane, which is decoupled from the switch (known as the forwarding element) to a logically centralized controller which can physically be distributed and communicated to the forwarding element via a secure link (OpenFlow channel):

In the preceding diagram, the forwarding elements that will operate in SDN environments are designed to handle the data plane. The most predominant forwarding elements are designed to support traditional network architecture and SDN network architecture. Control and management plane functionalities are moved to a high-performance server that serves as the controller.

Central control and simple forwarding elements

Control and management plane hardware and software dedicated resources, which resided on the switches in traditional network architecture, have now been migrated to the controller. This new architecture presents a forwarding element, which maximizes the overall resource management in the topology as the hardware processes less complex codes for forwarding the traffic. These complex algorithms now exist in the controller, and traffic forwarding decisions are made from them, which communicates the best forwarding path for every packet to the forwarding element through a secure channel from the controller to the forwarding elements. These characteristics allow a simpler ASIC to be incorporated into the forwarding elements existing in an SDN infrastructure. This also allows the provisioning of ample resources with respect to the growth in the network size.

Network automation and virtualization

Network automation can be described as a process by which tools are deployed, which allows the automation of configuration, management, and operations of the network by the network administrator. As a result of this, the network administrator has the ability to tailor the network to fulfill the business requirement in real time. The SDN architecture better supports network automation in comparison to traditional network architecture.

Ansible and Puppet are common examples of automation and orchestration tools that assist network administrators with tasks ranging from the management of configuration to deployment of applications seamlessly. Automation makes the network flexible, resilient, easy to manage, and responsive to business needs in real time, which results in reduced operating expenses.

Network virtualization is the abstraction of the physical network to support the running of multiple network logical instances on a common shared physical element. This supports rapid innovation, as services can be at software speed across the entire network.

SDN controllers provide both automation and virtualization to the network by utilizing the northbound and southbound API to communicate with the applications and forwarding elements.

SDN use cases

Over the years, organizations have introduced SDN into their networks. SDN has been introduced because of its benefits, and the upcoming sections highlight the most prominent real-life applications of SDN in networks and how they have been adopted.

Data center applications

Data centers support traffic and applications that have diverse resource requirements ranging from high-bandwidth to security. The present day network architecture is rigid, which restricts the overall utilizable resource provided by the equipment in the data center. Considering the underlying principle of SDN, applications with specific needs can be deployed on an SDN infrastructure.

SDN can support multiple network instances on a single forwarding element, allowing maximum utilization of network resources, as shown in the following diagram. This feature supports the multi-tenancy requirement of future data centers:

SDN also supports the micromanagement of the traffic traversing through the data center, as unique security policies can be assigned on the basis of the packet. Finally, with the rise of cloud-based applications, SDN supports the need for timely and dynamic allocation of redundant resources for maximum delivery of services per time.

Campus networks applications

Campus networks have evolved over the years with more complexity in technology and management introduced in them to support the growing user base. The initial architecture of campus networks was characterized by the finite number of nodes that were application-centric, such as firewalls and load balancers. Growth in the campus required a very complex network architecture, which could comprise hundreds of nodes.

In earlier campus network deployments based on traditional networks architectures, there existed a rigid foundation that required support for mobility, security, multiple devices, and variants of application packets. SDN comprises the best approach to tackle the ever-evolving networks present in campuses. For instance, campus networks require many policies considering the diversity of users present. SDN deployed with OpenFlow allows the provision of these policies across the network from the centralized controller.

SDN deployed on campus networks allows packet-level wide-visibility of traffic traversing through the network nodes per time. Network analytics grants the network administration access to analytics and thorough visibility of the network. In proactive network management, network administrators, upon reviewing analytics results, can deploy policies to maximize bandwidth allocation using the load balancer app existing in the north plane of the controller.

Service provider applications

Service providers have witnessed a high growth in the total user base in the last decade; the mobile growth rate of smartphone users, year on year, was approximately 12.1% from 2015 to 2016, which was a significant growth with respect to the infrastructure required to service the new users. SDN comes with a great potential to solve these issues faced by service providers.

The implementation of SDN for service providers comes with certain stringent requirements. SDN should be able to provide high availability (HA) and performance coupled with support for diverse forwarding elements as well as be able to accommodate various applications northbound of the controller. In addition, network virtualization should be supported in the SDN flavor used by service providers. Here, it is expected that the SDN architecture allows customers services (such as firewalls, Intrusion Detection Systems (IDS), and Virtual Private Networks (VPN)) to be virtualized compared to traditional networks that require you to introduce middle appliance boxes.

Some service providers have been implementing SDN into their networks. AT&T, which is a pioneer, has seen benefits in the support of innovation, agility, and cost. AT&T program Domain 2.0 aims to control and virtualize 75% of its network using SDN methodologies by the year 2020. For more information, you can visit http://features.zdnet.com/huawei/huawei-the-carrier-challenge#transform-the-business. NTT communication has introduced SDN/OpenFlow solutions into its networks. Overcoming the 4000 VLAN limitation is one of the greatest benefits it can boast about.

Projections exist that service provider's investment in SDN and NFV will account for a revenue of over $18 billion over the years 2016-2020.

Mobile network applications

Mobile networks have been posed with various challenges over the years, which includes network flexibility and management. The management of the network has been a difficult task because of the diverse customer segments it supports and the Operations Support Systems (OSS) and billing support systems tools used for billing the subscriber.

SDN promises a significant boost in network management and flexibility because of the support for more granular traffic monitoring and dynamic bandwidth allocation. Network congestion, a critical challenge posed to a service provider, is addressed by SDN because the controller can optimize the various northbound apps in accordance to the network traffic in real time.

A striking advantage of the SDN implementation is multitenancy. It allows multiple mobile operators to utilize the same physical infrastructure. With SDN, this will be intelligently supported because the OpenFlow controller will support the application of granular policies to their traffic by multiple mobile operators.

NFV

NFV is the abstraction of the physical network to support the running of multiple network logical instances on a common, shared, and physical element. Network instances that are virtualized essentially function similarly to the equivalent physical instance.

A prominent example of network virtualization is VLAN. A VLAN is an abstraction of a physical switch in simple terms; it splits a single L2 broadcast domain into smaller logical domains that coexist without intercommunication between them. Communication between such domains requires the implementation of a layer three switch or a router.

Earlier implementations of network virtualization supported layer two (switching) and layer three (routing) services, but layer four to layer seven services such as firewalls and load balancers are now fully supported by network visualization.

Network virtualization maximizes the physical resources and ultimately grants full control, security, and efficiency to the network administration. It also cuts down the high cost of physical elements when compared to the virtual instances. The operational cost of elements such as cooling, power, and special requirements are cut down.

How is NFV different from SDN?

NFV is often mixed up with SDN. SDN is an approach introduced to bring intelligence into the network, while NFV is used to migrate network appliances such as IDS, VPN, and load balancers from the physical hardware to a virtualized platform.

NFV technologies help cut down cost relatively but without an intelligent approach introduced to manage the virtualized resources. The overall operational cost remains the same because it suffers major constraints that physical hardware deployments suffer, such as manual management of policies.

SDN introduces automation in network infrastructures such that the virtualized services created by NFV can be more methodical and optimized for the maximum utilization of resources. The preceding diagram shows a pictorial view of SDN and NFV combined in a network.

NFV can exist fully without SDN, but SDN is the boost needed to reap the maximum benefit from NFV technology. Even though both technologies differ, combining them allows reduced capital and operational cost as well as optimized traffic flow across the network.

NFV challenges

NFV comes with some challenges that require considerations before implementing in existing networks. In large-scale networks, redundancy is a vital characteristic that is essential in order to minimize the downtime of the network if any network element goes down.

With NFV, the deployment should have redundancy at the physical level as well as the virtualized level. For instance, if the redundant switch is hosted on the same physical infrastructure, in the case of a power outage, both switches will fail, leading to a loss of connectivity.

Physical resources required to support a fully virtualized environment are limited. A physical host that supports multiple switch instances will require a network interface card of up to 100 Gbps for optimum functionality. The cost of such hardware to support a fully virtualized environment is on the high side.

Summary

In this chapter, we were able to create a good foundation, introducing SDN and its key characteristics. NFV was also explained in detail, and comparison between both technologies was covered. SDN applications were also covered, and we explained how they have led to a reduced total cost of operations in most large-scale network infrastructures. In the next chapter, we will cover OpenFlow in detail, along with its operation in an SDN infrastructure.

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • •Master the required platforms and tools to build network applications with OpenFlow
  • •Get to grips with the updated OpenFlow and build robust SDN-based solutions
  • •An end-to-end thorough overview of open-source switches, controllers, and tools

Description

OpenFlow paves the way for an open, centrally programmable structure, thereby accelerating the effectiveness of Software-Defined Networking. Software-Defined Networking with OpenFlow, Second Edition takes you through the product cycle and gives you an in-depth description of the components and options that are available at each stage. The aim of this book is to help you implement OpenFlow concepts and improve Software-Defined Networking on your projects. You will begin by learning about building blocks and OpenFlow messages such as controller-to-switch and symmetric and asynchronous messages. Next, this book will take you through OpenFlow controllers and their existing implementations followed by network application development. Key topics include the basic environment setup, the Neutron and Floodlight OpenFlow controller, XORPlus OF13SoftSwitch, enterprise and affordable switches such as the Zodiac FX and HP2920. By the end of this book, you will be able to implement OpenFlow concepts and improve Software-Defined Networking in your projects.

Who is this book for?

If you are a network/system administrator or a system engineer and would like to implement OpenFlow concepts and take Software-Defined Networking on your projects to the next level, then this book is for you. If you are aware of broad networking concepts, and are familiar with the day-to-day operation of computer networks, you will find this book very beneficial.

What you will learn

  • •Explore Software-Defined Networking and activities around SDN/OpenFlow including OpenFlow messages
  • •Hardware and software implementations of OpenFlow switches and experiment with Mininet GUI
  • •Learn about the role of OpenFlow in cloud computing by configuring and setting up the Neutron and Floodlight OpenFlow controller plugins
  • •Simulate and test utilities, and familiarize yourself with OpenFlow soft switches, controllers, virtualization, and orchestration tools
  • •Enhance and build environments for Net App development by installing VM s and tools such as Mininet and Wireshark
  • •Learn about hardware and software switches and get a feel for active open-source projects around SDN and OpenFlow

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Oct 25, 2017
Length: 246 pages
Edition : 2nd
Language : English
ISBN-13 : 9781783984282
Languages :
Concepts :
Tools :

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

Publication date : Oct 25, 2017
Length: 246 pages
Edition : 2nd
Language : English
ISBN-13 : 9781783984282
Languages :
Concepts :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 136.97
Software-Defined Networking with OpenFlow
$43.99
Software-Defined Networking (SDN) with OpenStack
$48.99
Practical Network Automation
$43.99
Total $ 136.97 Stars icon
Banner background image

Table of Contents

10 Chapters
Software-Defined Networks Chevron down icon Chevron up icon
Introducing OpenFlow Chevron down icon Chevron up icon
Implementing the OpenFlow Switch Chevron down icon Chevron up icon
The OpenFlow Controllers Chevron down icon Chevron up icon
Setting Up the Environment Chevron down icon Chevron up icon
Net App Development Chevron down icon Chevron up icon
Getting a Network Slice Chevron down icon Chevron up icon
OpenFlow in Cloud Computing Chevron down icon Chevron up icon
Open Source Resources Chevron down icon Chevron up icon
The Future of SDN Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Full star icon Full star icon 5
(1 Ratings)
5 star 100%
4 star 0%
3 star 0%
2 star 0%
1 star 0%
tsar008 Feb 02, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I went into reading the book with very low expectations due to its large size. 5 hours later I came out of it wanting to read more. The authors have done an amazing job in terms of language, structure, and technical information. This book is amazing, love it.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.