How does traffic flow in OVS/VXLAN networks
Assuming VM1 and VM2 are on the same VLAN but reside on two different compute nodes. Further assuming both compute nodes use the OVS driver and are connected via a VXLAN overlay network.
When VM1 sends a packet to VM2:
Q1: How does one compute node know the vxlan tunnel endpoint (VTEP) of another compute node which is hosting VM2, with or without L2 population driver?
Q2: Does every tenant network (VLAN) on the integration bridge (br-int) get a dedicated patch port to the tunnel bridge (br-tun) to send the VXLAN traffic?
Q3: Where does the VXLAN encapsulation take place? Does the entire process (striping VLAN id, adding VNI, adding outer IP) all happen on the tunnel bridge?
Extra Question: Since every tenant network is isolated via VLAN on the integration bridge, does that mean the maximum number of tenant networks is 4096 with OVS driver on a single compute node?
Thank you very much.