<div>Thanks for your help. I still have a question about flows in br-int.</div><div><br></div><div>In Muller's blog, he says "the source MAC is replaced from the remote machine’s host MAC to that VM’s gateway MAC."</div><div><br></div><div>But in my local environment, the flows is " </div><div><br></div><div>table=1, n_packets=0, n_bytes=0, idle_age=10144, priority=4,dl_vlan=1,<font color="#ff0000">dl_dst</font>=fa:16:3e:1b:55:b1 actions=strip_vlan,mod_dl_src:fa:16:3e:50:66:fd,output:27</div><div><br></div><div>table=1, n_packets=0, n_bytes=0, idle_age=10130, priority=4,dl_vlan=2,<font color="#ff0000">dl_dst</font>=fa:16:3e:50:66:fd actions=strip_vlan,mod_dl_src:fa:16:3e:50:66:fd,output:28</div><div><br></div><div>"</div><div><includetail><div><br></div><div>Port 27 and 28 belongs local vms. And, two qr interface's mac addresss are <span style="line-height: 19.0909px;">fa:16:3e:1b:55:b1 and </span><span style="line-height: 19.0909px;">fa:16:3e:50:66:fd. </span></div><div><span style="line-height: 19.0909px;"><br></span></div><div><span style="line-height: 19.0909px;">Flows in br-int are not match what Muller says in his blog. :-(</span></div><div><span style="line-height: 19.0909px;"><br></span></div><div><span style="line-height: 19.0909px;">Could you explain it?</span></div><div><span style="line-height: 19.0909px;"><br></span></div><div><span style="line-height: 19.0909px;"><br></span></div><div><span style="line-height: 19.0909px;">Thanks</span></div><div><span style="line-height: 19.0909px;">Zhi Chang </span></div><div> </div><div style="font:Verdana normal 14px;color:#000;"><div style="FONT-SIZE: 12px;FONT-FAMILY: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="FONT-SIZE: 12px;background:#efefef;padding:8px;"><div id="menu_sender"><b>From: </b> "James Denton"<james.denton@rackspace.com>;</div><div><b>Date: </b> Sat, Mar 19, 2016 12:51 PM</div><div><b>To: </b> "OpenStack Development Mailing List (not for usage questions)"<openstack-dev@lists.openstack.org>; <wbr></div><div></div><div><b>Subject: </b> Re: [openstack-dev] [neutron][dvr]What does table 9 used for inbr-tun?</div></div><div> </div>




<div>
<div>Err… correction. Each <span style="font-weight: bold;">host</span> has a unique MAC, not each router. Sorry!</div>
<div>
<div id="">
<div><br>
</div>
<div>
<div class="">
<div class="">
<div class="">
<div class=""></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div><a href="http://assafmuller.com/2015/04/15/distributed-virtual-routing-overview-and-eastwest-routing">http://assafmuller.com/2015/04/15/distributed-virtual-routing-overview-and-eastwest-routing</a>/</div>
<div><br>
</div>
<div>James</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:12pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>James Denton <<a href="mailto:james.denton@rackspace.com">james.denton@rackspace.com</a>><br>
<span style="font-weight:bold">Reply-To: </span>"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Date: </span>Friday, March 18, 2016 at 11:47 PM<br>
<span style="font-weight:bold">To: </span>"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [openstack-dev] [neutron][dvr]What does table 9 used for in br-tun?<br>
</div>
<div><br>
</div>
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>Each DVR router has a unique MAC address that can be found in the Neutron DB in the dvr_host_macs table. Those will MACs will likely match what’s in the flow rules there.</div>
<div><br>
</div>
<div>This presentation from the Paris summit (Page 19-20) breaks it down in some detail.</div>
<div><br>
</div>
<div><a href="https://www.openstack.org/assets/presentation-media/Openstack-kilo-summit-DVR-Architecture-20141030-Master-submitted-to-openstack.pdf">https://www.openstack.org/assets/presentation-media/Openstack-kilo-summit-DVR-Architecture-20141030-Master-submitted-to-openstack.pdf</a></div>
<div>
<div id="">
<div><br>
</div>
<div>James</div>
<div>
<div class="">
<div class="">
<div class="">
<div class=""></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:12pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Zhi Chang <<a href="mailto:changzhi@unitedstack.com">changzhi@unitedstack.com</a>><br>
<span style="font-weight:bold">Reply-To: </span>"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Date: </span>Friday, March 18, 2016 at 11:33 PM<br>
<span style="font-weight:bold">To: </span>openstack-dev <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Subject: </span>[openstack-dev] [neutron][dvr]What does table 9 used for in br-tun?<br>
</div>
<div><br>
</div>
<div>
<div>
<div>hi guys.</div>
<div>    In DVR mode, I have some questions about flows of table 9 in br-tun. I see these flows in br-tun:</div>
<div><br>
</div>
<div>
<div> cookie=0x9a5f42115762fc76, duration=392186.503s, table=9, n_packets=1, n_bytes=90, idle_age=247, hard_age=65534, priority=1,dl_src=fa:16:3f:64:82:2f actions=output:1</div>
<div> cookie=0x9a5f42115762fc76, duration=392186.447s, table=9, n_packets=0, n_bytes=0, idle_age=65534, hard_age=65534, priority=1,dl_src=fa:16:3f:76:6c:6f actions=output:1</div>
<div> cookie=0x9a5f42115762fc76, duration=392186.388s, table=9, n_packets=0, n_bytes=0, idle_age=65534, hard_age=65534, priority=1,dl_src=fa:16:3f:87:39:a3 actions=output:1</div>
<div> cookie=0x9a5f42115762fc76, duration=392186.333s, table=9, n_packets=0, n_bytes=0, idle_age=65534, hard_age=65534, priority=1,dl_src=fa:16:3f:93:41:45 actions=output:1</div>
</div>
<div><br>
</div>
<div>Port 1 is a patch interface which is connecting to br-int. </div>
<div><br>
</div>
<div>Question  A: there are for mac addresses in these flows. But these mac addresses don't in my Neutron. What do they come from??</div>
<div><br>
</div>
<div>Question B: The action of each flow is output:1, why? Why put the packets to br-int?</div>
<div><br>
</div>
<div><br>
</div>
<div>Thanks</div>
<div>Zhi Chang</div>
<div></div>
</div>
</div>
</span></div>
</div>
</span>


</div><!--<![endif]--></includetail></div>