Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Software-Defined Networking (SDN) with OpenStack

You're reading from   Software-Defined Networking (SDN) with OpenStack Leverage the best SDN technologies for your OpenStack-based cloud infrastructure

Arrow left icon
Product type Paperback
Published in Oct 2016
Publisher
ISBN-13 9781786465993
Length 216 pages
Edition 1st Edition
Arrow right icon
Authors (2):
Arrow left icon
Sriram Subramanian Sriram Subramanian
Author Profile Icon Sriram Subramanian
Sriram Subramanian
Sreenivas Voruganti Sreenivas Voruganti
Author Profile Icon Sreenivas Voruganti
Sreenivas Voruganti
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. OpenStack Networking in a Nutshell FREE CHAPTER 2. Introduction to Software-Defined Networking 3. SDN Protocols 4. SDN Networking with Open vSwitch 5. Getting Started with OpenDaylight 6. Using OpenDaylight with OpenStack 7. Getting Started with OpenContrail 8. OpenContrail Networking with OpenStack 9. Open Network Operating System (ONOS) 10. OVN and Open vSwitch Enhancements

OVS connected to virtual machines


Let's now move our attention to networking with virtual machines with OVS as the switch interconnecting the VMs. The following diagram depicts two VMs interconnected via an Open vSwitch virtual switch:

Figure 3: Open vSwitch network with VMs

We will start by creating an Open vSwitch bridge, add tap ports to it to hook VMs, and show how the VMs interconnect via OVS switch. The tap interfaces simulate a link layer operating with L2 packets such as Ethernet frames. These are virtual ports where virtual machines plug in.

  1. We will create an OVS bridge and bring it up in order to assign IP address.

  2. Next, we need to create and activate the tap interfaces:

  3. The add-port option of ovs-vsctl command is used to add the virtual ports to the Open vSwitch.

  4. Let us now check the status of these ports.

  5. We will now view the complete OVS bridge information.

  6. In order to create and configure virtual machines we will use CirrOS VM images. These images are very small and the...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime