<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi, ALL:</div>
<div>&nbsp;</div>
<div><span style="color: rgb(36, 39, 41); font-stretch: normal; font-size: 15px; line-height: 19px; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"><span style="font-stretch: normal;">I 
want to connect VMs located on two different machines with ovs bridge and VxLAN 
tunnel, suppose the topology as the picture&nbsp;</span></span><img src="cid:63904342$1$15d4c0567fc$Coremail$drizzle_su$126.com" style="line-height: 1.7; width: 849px; height: 628px;" orgwidth="874" orgheight="647" data-image="1"></div><div><span style="color: rgb(36, 39, 41); font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px; line-height: 19px;">shows, my configuration on host A like 
this(configuration on host B is almost the same except changing remote_ip to 
address of host A'eth0):</span></div>
<div><span style="color: rgb(36, 39, 41); font-stretch: normal; font-size: 15px; line-height: 19px; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"><span style="font-stretch: normal;"></span></span>&nbsp;</div>
<div><span style="color: rgb(36, 39, 41); font-stretch: normal; font-size: 15px; line-height: 19px; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"><pre style="font-size: 13px; overflow: auto; word-wrap: normal; border: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; width: auto; vertical-align: baseline; padding: 5px; margin-top: 0px; margin-bottom: 1em; max-height: 600px; font-stretch: inherit; background-color: rgb(239, 240, 241);"><code style="border: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; vertical-align: baseline; padding: 0px; margin: 0px; font-stretch: inherit;">ovs-vsctl add-br ovs-br0
ovs-vsctl add-port ovs-br0 vtep -- set interface vtep type=vxlan options:remote_ip=172.168.1.200 options:key=5000</code></pre></span></div>
<div><span style="color: rgb(36, 39, 41); font-stretch: normal; font-size: 15px; line-height: 19px; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"></span>&nbsp;</div>
<div><span style="color: rgb(36, 39, 41); font-stretch: normal; font-size: 15px; line-height: 19px; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;">
<p style="border: 0px; vertical-align: baseline; padding: 0px; clear: both; margin: 0px 0px 1em; font-stretch: inherit;">tap0 
is created and automatically added to bridge ovs-br0 while starting VMs with 
qemu, but I cannot ping from VM1 to VM2.</p>
<p style="border: 0px; vertical-align: baseline; padding: 0px; clear: both; margin: 0px 0px 1em; font-stretch: inherit;">I 
also googled some links like this:&nbsp;<a style="BORDER-LEFT-WIDTH: 0px; CURSOR: pointer; TEXT-DECORATION: none; FONT-FAMILY: inherit; BORDER-RIGHT-WIDTH: 0px; VERTICAL-ALIGN: baseline; BORDER-BOTTOM: rgb(69,69,69) 1px dotted; COLOR: rgb(0,89,153); PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; MARGIN: 0px; PADDING-RIGHT: 0px; BORDER-TOP-WIDTH: 0px; font-stretch: inherit" href="http://networkstatic.net/configuring-vxlan-and-gre-tunnels-on-openvswitch/" target="_blank" rel="nofollow noreferrer">http://networkstatic.net/configuring-vxlan-and-gre-tunnels-on-openvswitch/</a>&nbsp;, which says I have to create two 
ovs-bridge, unfortunately, it doesn't tell whether(and how to) it is necessary 
to link these two bridges together.</p>
<p style="border: 0px; vertical-align: baseline; padding: 0px; clear: both; margin: 0px 0px 1em; font-stretch: inherit;">I 
am confused that how does the ovs-br0 and eth0 communicate, does that the kernel 
TCP/IP stack help doing this job, or I have to create another ovs-bridge and 
connect these two bridges with patch ports ?</p>
<p style="border: 0px; vertical-align: baseline; padding: 0px; clear: both; margin: 0px 0px 1em; font-stretch: inherit;">So 
please correct me if my topology or configurations aren't right, and many thanks 
in advance.</p>
<p style="border: 0px; vertical-align: baseline; padding: 0px; clear: both; margin: 0px 0px 1em; font-stretch: inherit;">&nbsp;</p><p style="border: 0px; vertical-align: baseline; padding: 0px; clear: both; margin: 0px 0px 1em; font-stretch: inherit;">I 
also tried to configure vtep: ovs-vsctl add-port ovs-br0 vtep -- set interface 
vtep type=vxlan options:remote_ip=flow options:local_ip=flow options:key=flow 
Then add flow entry explicitly to match ARP request from VM1 and forward them to 
vtep. ovs-ofctl add-flow ovs-br0 "table=0, priority=50, in_port=ofport_of_tap0, 
actions=output:ofport_of_vtep". After ping from VM1 to VM2, dump-flows showed 
that the added entry was matched (according to the entry matched packets should 
be forwarded to vtep), but dump-ports showed that vtep received nothing, I don't 
know why, any hints are appreciated.&nbsp;</p></span></div></div><br><br><span title="neteasefooter"><p>&nbsp;</p></span>