Thanks for your help. I still have a question about flows in br-int.

In Muller's blog, he says "the source MAC is replaced from the remote machine’s 
host MAC to that VM’s gateway MAC."


But in my local environment, the flows is " 


table=1, n_packets=0, n_bytes=0, idle_age=10144, 
priority=4,dl_vlan=1,dl_dst=fa:16:3e:1b:55:b1 
actions=strip_vlan,mod_dl_src:fa:16:3e:50:66:fd,output:27


table=1, n_packets=0, n_bytes=0, idle_age=10130, 
priority=4,dl_vlan=2,dl_dst=fa:16:3e:50:66:fd 
actions=strip_vlan,mod_dl_src:fa:16:3e:50:66:fd,output:28


"


Port 27 and 28 belongs local vms. And, two qr interface's mac addresss are 
fa:16:3e:1b:55:b1 and fa:16:3e:50:66:fd. 


Flows in br-int are not match what Muller says in his blog. :-(


Could you explain it?




Thanks
Zhi Chang 
 
------------------ Original ------------------
From:  "James Denton"<james.den...@rackspace.com>;
Date:  Sat, Mar 19, 2016 12:51 PM
To:  "OpenStack Development Mailing List (not for usage 
questions)"<openstack-dev@lists.openstack.org>; 

Subject:  Re: [openstack-dev] [neutron][dvr]What does table 9 used for inbr-tun?

 
  Err… correction. Each host has a unique MAC, not each router. Sorry!
   
 
     
 
 
 
 
 
 
 
 
http://assafmuller.com/2015/04/15/distributed-virtual-routing-overview-and-eastwest-routing/
 
 
 James
 
 
   From: James Denton <james.den...@rackspace.com>
 Reply-To: "OpenStack Development Mailing List (not for usage questions)" 
<openstack-dev@lists.openstack.org>
 Date: Friday, March 18, 2016 at 11:47 PM
 To: "OpenStack Development Mailing List (not for usage questions)" 
<openstack-dev@lists.openstack.org>
 Subject: Re: [openstack-dev] [neutron][dvr]What does table 9 used for in 
br-tun?
 
 
 
    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.
 
 
 This presentation from the Paris summit (Page 19-20) breaks it down in some 
detail.
 
 
 
https://www.openstack.org/assets/presentation-media/Openstack-kilo-summit-DVR-Architecture-20141030-Master-submitted-to-openstack.pdf
   
 
 James
     
 
 
 
 
 
 
 
 
 
   From: Zhi Chang <chang...@unitedstack.com>
 Reply-To: "OpenStack Development Mailing List (not for usage questions)" 
<openstack-dev@lists.openstack.org>
 Date: Friday, March 18, 2016 at 11:33 PM
 To: openstack-dev <openstack-dev@lists.openstack.org>
 Subject: [openstack-dev] [neutron][dvr]What does table 9 used for in br-tun?
 
 
 
   hi guys.
     In DVR mode, I have some questions about flows of table 9 in br-tun. I see 
these flows in br-tun:
 
 
   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
  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
  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
  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
 
 
 
 Port 1 is a patch interface which is connecting to br-int. 
 
 
 Question  A: there are for mac addresses in these flows. But these mac 
addresses don't in my Neutron. What do they come from??
 
 
 Question B: The action of each flow is output:1, why? Why put the packets to 
br-int?
 
 
 
 
 Thanks
 Zhi Chang
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to