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:

OVS connected to virtual machines

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 ...

Get Software-Defined Networking (SDN) with OpenStack now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.