Configuring Open vSwitch tunnels with VxLan
The following diagram represents two instances running on two separate hosts connected by a VxLan tunnel. Also illustrated are the required supporting physical and virtual components. VTEP interfaces allows us to create Layer 2 network over layer 2.
The example depicted earlier steps through the creation of a VXLaN tunnel between two OVS bridges running on two separate bare metal hosts named KVMhost1
and KVMhost2
.
KvmHOST1 host side configuration
We have to first create a virtual tunnel endpoint and then connect it to the virtual tunnel endpoint created on a second host to form the tunnel. The following steps are involved in VTEP creation:
First verify to which OVS bridge the
vm1
is connected:#virsh domiflist vm1 Interface Type Source Model MAC ------------------------------------------------------- vnet0 bridge vswitch_vlans_portgroup rtl8139 52:54:00:b7:d1:3a
Check the configuration of the
ovs
switch:ovs-vsctl show 6e121fc0-2f05...