Book Image

Software-Defined Networking with OpenFlow - Second Edition

By : SIAMAK AZODOLMOLKY, Oswald Coker
Book Image

Software-Defined Networking with OpenFlow - Second Edition

By: SIAMAK AZODOLMOLKY, Oswald Coker

Overview of this book

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.
Table of Contents (17 chapters)
Title Page
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
Free Chapter
1
Software-Defined Networks

Net App 4 – simple switching hub using Ryu controller


In this section, you will be learning about how a simple switch hub functions based on instructions on the Ryu controller. We shall be using the SDN hub starter kit VM in Chapter 5Setting Up the Environment, which has the Ryu controller along with Mininet. The switching hub, which shall be covered in this section, has various capabilities:

  • The ability to learn and retain the MAC addresses of hosts connected to any of its ports
  • The ability to forward packets to the port of a host whose MAC address has been learned earlier
  • The ability to flood packets on all its ports except the incoming ports for packets whose destination MAC address is not present in the MAC address table

In a simple switching hub, the MAC address uses the packet-in function of OpenFlow. This is used by the controller to receive the packet from the switch. These packets are analyzed by the switch where the MAC address is being learned based on the host and the port to which...