<div dir="ltr">hi all:<div><br></div><div style>I have set up quantum+floodlight, there are a compute node and a controller, so I create a VM in the compute node, but the VM(100.0.0.4) can not ping its gateway(100.0.0.1) in the controller node.</div>

<div style><br></div><div style>When the VM send a ARP request to OVS of the compute node, a packet_in request is sent to the controller, then the controller send a packet_out response to the OVS, telling it to flood the ARP request. </div>

<div style><br></div><div style>I run tcpdump at both br-int and br-tun interface, packets are captured at br-int, but no packets are captured at br-tun:</div><div style><br></div><div style>root@node1:/var/log/openvswitch# tcpdump -i br-int -nn<br>

</div><div style><div>tcpdump: WARNING: br-int: no IPv4 address assigned</div><div>tcpdump: verbose output suppressed, use -v or -vv for full protocol decode</div><div>listening on br-int, link-type EN10MB (Ethernet), capture size 65535 bytes</div>

<div>14:26:45.485978 ARP, Request who-has 100.0.0.1 tell 100.0.0.4, length 28</div><div>14:26:46.482442 ARP, Request who-has 100.0.0.1 tell 100.0.0.4, length 28</div><div>14:26:47.482416 ARP, Request who-has 100.0.0.1 tell 100.0.0.4, length 28</div>

<div>^C</div><div>3 packets captured</div><div>3 packets received by filter</div><div>0 packets dropped by kernel</div><div>root@node1:/var/log/openvswitch# tcpdump -i br-tun -nn</div><div>tcpdump: WARNING: br-tun: no IPv4 address assigned</div>

<div>tcpdump: verbose output suppressed, use -v or -vv for full protocol decode</div><div>listening on br-tun, link-type EN10MB (Ethernet), capture size 65535 bytes</div><div>^C</div><div>0 packets captured</div><div>0 packets received by filter</div>

<div>0 packets dropped by kernel</div><div><br></div><div><div>root@node1:/var/log/openvswitch# ovs-ofctl snoop br-int</div><div>OFPT_PACKET_IN (xid=0x0): total_len=42 in_port=6 data_len=42 buffer=0x0000044d</div><div>priority0:tunnel0:in_port0006:tci(0) macfa:16:3e:9f:5b:2c->ff:ff:ff:ff:ff:ff type0806 proto1 tos0 ttl0 ip100.0.0.4->100.0.0.1 arp_hafa:16:3e:9f:5b:2c->00:00:00:00:00:00</div>

<div>fa:16:3e:9f:5b:2c > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 42: Request who-has 100.0.0.1 tell 100.0.0.4, length 28</div><div>OFPT_PACKET_OUT (xid=0x0): in_port=6 actions_len=8 actions=FLOOD data_len=42</div>

<div>fa:16:3e:9f:5b:2c > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 42: Request who-has 100.0.0.1 tell 100.0.0.4, length 28</div></div><div><br></div><div>I guess it is because the gateway is on another node, so ARP request should go through br-int->br-tun->eth2[compute node side]----------------------> [controller side]eth2->br-tun->br-int, but the ARP request seems to be blocked between br-int and br-tun.</div>

<div><br></div><div style>I don't know why the ARP request is not sent to br-tun. it seems that ARP request is sent to normal port of the OVS because VM 100.0.0.4 can ping other VMs(100.0.0.2) on the same OVS.</div><div style>

<br></div><div style><br></div><div><br></div><div><br></div><div><div>root@node1:/var/log/openvswitch# ovs-vsctl show</div><div>afaf59ee-48cc-4f5b-9a1d-4311b509a6c5</div><div>    <b>Bridge br-int</b></div><div>        Controller "tcp:<a href="http://30.0.0.1:6633">30.0.0.1:6633</a>"</div>

<div>            is_connected: true</div><div>        Port "qvoe06ea8d8-d7"</div><div>            tag: 1</div><div>            Interface "qvoe06ea8d8-d7"</div><div>        Port "qvoa96762cb-f3"</div>

<div>            tag: 4095</div><div>            Interface "qvoa96762cb-f3"</div><div>        Port "qvo38f23ca0-59"</div><div>            tag: 1</div><div>            Interface "qvo38f23ca0-59"</div>

<div>        Port "qvofc3fe9ed-fb"</div><div>            tag: 4095</div><div>            Interface "qvofc3fe9ed-fb"</div><div>        Port br-int</div><div>            Interface br-int</div><div>                type: internal</div>

<div>        Port patch-tun</div><div>            Interface patch-tun</div><div>                type: patch</div><div>                options: {peer=patch-int}</div><div>        Port "eth3"</div><div>            Interface "eth3"</div>

<div>        Port "qvo1021fd99-eb"</div><div>            tag: 4095</div><div>            Interface "qvo1021fd99-eb"</div><div>        Port "qvo329db52d-81"</div><div>            tag: 4095</div>

<div>            Interface "qvo329db52d-81"</div><div>    Bridge "qbre06ea8d8-d7"</div><div>        Port "qbre06ea8d8-d7"</div><div>            Interface "qbre06ea8d8-d7"</div><div>

                type: internal</div><div>        Port "qvbe06ea8d8-d7"</div><div>            Interface "qvbe06ea8d8-d7"</div><div>        Port "tape06ea8d8-d7"</div><div>            Interface "tape06ea8d8-d7"</div>

<div>    Bridge "qbr329db52d-81"</div><div>        Port "qbr329db52d-81"</div><div>            Interface "qbr329db52d-81"</div><div>                type: internal</div><div>        Port "qvb329db52d-81"</div>

<div>            Interface "qvb329db52d-81"</div><div>    Bridge "qbrc8ec86f4-3a"</div><div>        Port "qbrc8ec86f4-3a"</div><div>            Interface "qbrc8ec86f4-3a"</div><div>

                type: internal</div><div>        Port "qvbc8ec86f4-3a"</div><div>            Interface "qvbc8ec86f4-3a"</div><div>    <b>Bridge br-tun</b></div><div>        Port patch-int</div><div>            Interface patch-int</div>

<div>                type: patch</div><div>                options: {peer=patch-tun}</div><div>        Port br-tun</div><div>            Interface br-tun</div><div>                type: internal</div><div>        Port "gre-1"</div>

<div>            Interface "gre-1"</div><div>                type: gre</div><div>                options: {in_key=flow, out_key=flow, remote_ip="30.0.0.1"}</div><div>    Bridge "qbr31c6e35b-81"</div>

<div>        Port "qbr31c6e35b-81"</div><div>            Interface "qbr31c6e35b-81"</div><div>                type: internal</div><div>        Port "qvb31c6e35b-81"</div><div>            Interface "qvb31c6e35b-81"</div>

<div>    Bridge "qbr38f23ca0-59"</div><div>        Port "qbr38f23ca0-59"</div><div>            Interface "qbr38f23ca0-59"</div><div>                type: internal</div><div>        Port "tap38f23ca0-59"</div>

<div>            Interface "tap38f23ca0-59"</div><div>        Port "qvb38f23ca0-59"</div><div>            Interface "qvb38f23ca0-59"</div><div>    Bridge "qbr28117358-50"</div><div>

        Port "qvb28117358-50"</div><div>            Interface "qvb28117358-50"</div><div>        Port "qbr28117358-50"</div><div>            Interface "qbr28117358-50"</div><div>                type: internal</div>

<div>    Bridge "qbr1021fd99-eb"</div><div>        Port "qvb1021fd99-eb"</div><div>            Interface "qvb1021fd99-eb"</div><div>        Port "qbr1021fd99-eb"</div><div>            Interface "qbr1021fd99-eb"</div>

<div>                type: internal</div><div>    Bridge "qbr054163ed-d1"</div><div>        Port "qvb054163ed-d1"</div><div>            Interface "qvb054163ed-d1"</div><div>        Port "qbr054163ed-d1"</div>

<div>            Interface "qbr054163ed-d1"</div><div>                type: internal</div><div>    Bridge "qbr5c2a6893-3c"</div><div>        Port "qvb5c2a6893-3c"</div><div>            Interface "qvb5c2a6893-3c"</div>

<div>        Port "qbr5c2a6893-3c"</div><div>            Interface "qbr5c2a6893-3c"</div><div>                type: internal</div><div>    Bridge "qbra96762cb-f3"</div><div>        Port "qvba96762cb-f3"</div>

<div>            Interface "qvba96762cb-f3"</div><div>        Port "qbra96762cb-f3"</div><div>            Interface "qbra96762cb-f3"</div><div>                type: internal</div><div>    Bridge "qbrfc3fe9ed-fb"</div>

<div>        Port "qvbfc3fe9ed-fb"</div><div>            Interface "qvbfc3fe9ed-fb"</div><div>        Port "qbrfc3fe9ed-fb"</div><div>            Interface "qbrfc3fe9ed-fb"</div><div>

                type: internal</div><div>    Bridge "br0"</div><div>        Port "eth0"</div><div>            Interface "eth0"</div><div>        Port "br0"</div><div>            Interface "br0"</div>

<div>                type: internal</div><div>    Bridge "qbr42d41f3f-e8"</div><div>        Port "qbr42d41f3f-e8"</div><div>            Interface "qbr42d41f3f-e8"</div><div>                type: internal</div>

<div>        Port "qvb42d41f3f-e8"</div><div>            Interface "qvb42d41f3f-e8"</div><div>    Bridge "qbr4881e5be-2f"</div><div>        Port "qbr4881e5be-2f"</div><div>            Interface "qbr4881e5be-2f"</div>

<div>                type: internal</div><div>        Port "qvb4881e5be-2f"</div><div>            Interface "qvb4881e5be-2f"</div><div>    ovs_version: "1.4.0+build0"</div></div></div></div>