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.