<div dir="ltr"><div>I ran stack.sh in one controller node and two compute nodes. Q_ML2_TENANT_NETWORK_TYPE in local.conf is set to vxlan in all nodes. after starting an instance, I saw the ovs configuration as follows. my question is why there are vxlan ports on both br-int and br-tun? if I send a packet from the instance, which path will it go?<br>
<br>1. "tape8f9588f-5e" -> patch-tun -> patch-int -> "vxlan-ac160965" and "vxlan-ac1f007d"<br>2. "tape8f9588f-5e" -> "vxlan-172.31.0.125" and "vxlan-172.22.9.101"<br>
<br></div># sudo ovs-vsctl show<br> Manager "tcp:<a href="http://172.22.9.100:6640">172.22.9.100:6640</a>"<br> is_connected: true<br> Bridge br-tun<br> Controller "tcp:<a href="http://172.22.9.100:6633">172.22.9.100:6633</a>"<br>
is_connected: true<br> Port br-tun<br> Interface br-tun<br> type: internal<br> Port "vxlan-ac160965"<br> Interface "vxlan-ac160965"<br> type: vxlan<br>
options: {in_key=flow, local_ip="172.22.9.65", out_key=flow, remote_ip="172.22.9.101"}<br> Port patch-int<br> Interface patch-int<br> type: patch<br> options: {peer=patch-tun}<br>
Port "vxlan-ac1f007d"<br> Interface "vxlan-ac1f007d"<br> type: vxlan<br> options: {in_key=flow, local_ip="172.22.9.65", out_key=flow, remote_ip="172.31.0.125"}<br>
Bridge br-int<br> Controller "tcp:<a href="http://172.22.9.100:6633">172.22.9.100:6633</a>"<br> is_connected: true<br> Port br-int<br> Interface br-int<br> type: internal<br>
Port "vxlan-172.31.0.125"<br> Interface "vxlan-172.31.0.125"<br> type: vxlan<br> options: {key=flow, local_ip="172.22.9.65", remote_ip="172.31.0.125"}<br>
Port "tape8f9588f-5e"<br> tag: 1<br> Interface "tape8f9588f-5e"<br> Port "vxlan-172.22.9.101"<br> Interface "vxlan-172.22.9.101"<br> type: vxlan<br>
options: {key=flow, local_ip="172.22.9.65", remote_ip="172.22.9.101"}<br> Port patch-tun<br> Interface patch-tun<br> type: patch<br> options: {peer=patch-int}<br>
ovs_version: "2.1.90"<br><br></div>