<div dir="ltr"><div>So...is this the root of my problem?  The MAC addresses in my "quantum port-list" do not match my real MAC addresses.  Any time I restart openvswitch/quantum-plugin-openvswitch-agent, my br-tun blocks my traffic with incorrect flows.<br>
<br></div>What went wrong here...should these interfaces actually have "fa:16:3e" MAC addresses, or is the database wrong?<br><div><br><span style="font-family:courier new,monospace">root@os-network:~# quantum port-list<br>
+--------------------------------------+------+-------------------+-------------------------------------------------------------------------------------+<br>| id                                   | name | mac_address       | fixed_ips                                                                           |<br>
+--------------------------------------+------+-------------------+-------------------------------------------------------------------------------------+<br>| 9f9041ce-654d-4706-a208-60cf5fca5d90 |      | fa:16:3e:e2:38:da | {"subnet_id": "0617c874-9a95-40dc-ae4f-bb44eec806f6", "ip_address": "10.5.5.1"}     |<br>
| 28108125-119c-4ce4-a3a3-537639589791 |      | fa:16:3e:a9:a3:4c | {"subnet_id": "cde12bce-eeed-4041-87e3-5a1b905b3c98", "ip_address": "10.42.36.130"} |<br>| 45ffdc5f-dad9-444a-aff4-3d39b607f828 |      | fa:16:3e:36:2e:54 | {"subnet_id": "0617c874-9a95-40dc-ae4f-bb44eec806f6", "ip_address": "10.5.5.2"}     |<br>
:<br>+--------------------------------------+------+-------------------+-------------------------------------------------------------------------------------+<br>root@os-network:~# ifconfig qr-9f9041ce-65<br>qr-9f9041ce-65 Link encap:Ethernet  HWaddr 4e:bf:4a:70:a7:9e  <br>
          inet addr:10.5.5.1  Bcast:10.5.5.255  Mask:255.255.255.0<br>:<br>root@os-network:~# ifconfig tap45ffdc5f-da<br>tap45ffdc5f-da Link encap:Ethernet  HWaddr 16:83:e6:27:a4:b8  <br>          inet addr:10.5.5.2  Bcast:10.5.5.255  Mask:255.255.255.0<br>
:</span><br><span style="font-family:courier new,monospace">root@os-network:~# service openvswitch-switch restart<br>:<br>root@os-network:~# ovs-ofctl dump-flows br-tun<br>NXST_FLOW reply (xid=0x4):<br> cookie=0x0, duration=35.154s, table=0, n_packets=123, n_bytes=8526, priority=0 actions=NORMAL<br>
root@os-network:~# service quantum-plugin-openvswitch-agent restart<br>quantum-plugin-openvswitch-agent stop/waiting<br>quantum-plugin-openvswitch-agent start/running, process 1419<br>root@os-network:~# ovs-ofctl dump-flows br-tun<br>
NXST_FLOW reply (xid=0x4):<br> cookie=0x0, duration=4.022s, table=0, n_packets=3, n_bytes=418, priority=3,tun_id=0x1,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=mod_vlan_vid:1,output:1<br> cookie=0x0, duration=4.056s, table=0, n_packets=5, n_bytes=548, priority=4,in_port=1,dl_vlan=1 actions=set_tunnel:0x1,NORMAL<br>
 cookie=0x0, duration=3.816s, table=0, n_packets=0, n_bytes=0, priority=3,tun_id=0x1,dl_dst=fa:16:3e:36:2e:54 actions=mod_vlan_vid:1,NORMAL<br> cookie=0x0, duration=3.987s, table=0, n_packets=0, n_bytes=0, priority=3,tun_id=0x1,dl_dst=fa:16:3e:e2:38:da actions=mod_vlan_vid:1,NORMAL<br>
 cookie=0x0, duration=4.573s, table=0, n_packets=9, n_bytes=1828, priority=1 actions=drop<br>root@os-network:~# ovs-ofctl add-flow br-tun  "priority=3,tun_id=0x1,dl_dst=16:83:e6:27:a4:b8 actions=mod_vlan_vid:1,NORMAL"<br>
root@os-network:~# ovs-ofctl add-flow br-tun  "priority=3,tun_id=0x1,dl_dst=4e:bf:4a:70:a7:9e actions=mod_vlan_vid:1,NORMAL"<br>root@os-network:~# </span><br><br><br></div></div>