hi all
I have some questions about the flow table. 
My environment is as follows:
Two virtual machines connected to the same openvswitch.Issued the following 
flow table:
 cookie=0x0, duration=66.765s, table=0, n_packets=1, n_bytes=98, idle_age=4, 
priority=50,dl_src=fa:16:3e:c8:a5:6d 
actions=mod_vlan_vid:2,load:0->NXM_NX_REG0[0..11],resubmit(,1)
 cookie=0x0, duration=66.618s, table=0, n_packets=1, n_bytes=98, idle_age=4, 
priority=50,dl_src=fa:16:3e:fe:6b:63 
actions=mod_vlan_vid:2,load:0->NXM_NX_REG0[0..11],resubmit(,1)
 cookie=0x0, duration=66.764s, table=1, n_packets=1, n_bytes=98, idle_age=4, 
priority=100,ip,in_port=41,dl_vlan=2,dl_src=fa:16:3e:c8:a5:6d,nw_src=192.168.0.121
 actions=resubmit(,11)
 cookie=0x0, duration=66.616s, table=1, n_packets=1, n_bytes=98, idle_age=4, 
priority=100,ip,in_port=38,dl_vlan=2,dl_src=fa:16:3e:fe:6b:63,nw_src=192.168.0.120
 actions=resubmit(,11)
 cookie=0x0, duration=66.602s, table=11, n_packets=1, n_bytes=98, idle_age=4, 
priority=30,ip,dl_src=fa:16:3e:fe:6b:63,nw_src=192.168.0.120 
actions=learn(table=21,idle_timeout=30,hard_timeout=1800,priority=90,eth_type=0x800,NXM_OF_ETH_SRC[]=NXM_OF_ETH_DST[],NXM_OF_ETH_DST[]=NXM_OF_ETH_SRC[],NXM_OF_IP_SRC[]=NXM_OF_IP_DST[],NXM_OF_IP_DST[]=NXM_OF_IP_SRC[],NXM_OF_VLAN_TCI[0..11],load:NXM_NX_REG0[0..11]->NXM_OF_VLAN_TCI[0..11],output:NXM_OF_IN_PORT[]),resubmit(,21)
 cookie=0x0, duration=66.604s, table=11, n_packets=0, n_bytes=0, idle_age=66, 
priority=30,ip,dl_src=fa:16:3e:c8:a5:6d,nw_src=192.168.0.121 
actions=learn(table=21,idle_timeout=30,hard_timeout=1800,priority=90,eth_type=0x800,NXM_OF_ETH_SRC[]=NXM_OF_ETH_DST[],NXM_OF_ETH_DST[]=NXM_OF_ETH_SRC[],NXM_OF_IP_SRC[]=NXM_OF_IP_DST[],NXM_OF_IP_DST[]=NXM_OF_IP_SRC[],NXM_OF_VLAN_TCI[0..11],load:NXM_NX_REG0[0..11]->NXM_OF_VLAN_TCI[0..11],output:NXM_OF_IN_PORT[]),resubmit(,21)
 cookie=0x0, duration=66.605s, table=21, n_packets=1, n_bytes=98, idle_age=4, 
priority=30,icmp,dl_dst=fa:16:3e:c8:a5:6d,nw_dst=192.168.0.121 
actions=learn(table=11,idle_timeout=30,hard_timeout=1800,priority=90,eth_type=0x800,nw_proto=1,NXM_OF_ETH_SRC[]=NXM_OF_ETH_DST[],NXM_OF_ETH_DST[]=NXM_OF_ETH_SRC[],NXM_OF_IP_SRC[]=NXM_OF_IP_DST[],NXM_OF_IP_DST[]=NXM_OF_IP_SRC[],NXM_OF_VLAN_TCI[0..11],load:NXM_NX_REG0[0..11]->NXM_OF_VLAN_TCI[0..11],output:NXM_OF_IN_PORT[]),strip_vlan,output:41
 cookie=0x0, duration=66.603s, table=21, n_packets=0, n_bytes=0, idle_age=66, 
priority=30,icmp,dl_dst=fa:16:3e:fe:6b:63,nw_dst=192.168.0.120 
actions=learn(table=11,idle_timeout=30,hard_timeout=1800,priority=90,eth_type=0x800,nw_proto=1,NXM_OF_ETH_SRC[]=NXM_OF_ETH_DST[],NXM_OF_ETH_DST[]=NXM_OF_ETH_SRC[],NXM_OF_IP_SRC[]=NXM_OF_IP_DST[],NXM_OF_IP_DST[]=NXM_OF_IP_SRC[],NXM_OF_VLAN_TCI[0..11],load:NXM_NX_REG0[0..11]->NXM_OF_VLAN_TCI[0..11],output:NXM_OF_IN_PORT[]),strip_vlan,output:38

I found that if mod_vlan_vid is set,  the ICMP request message from virtual 
machine 1 can reach virtual machine 2, but  the ICMP response message from 
virtual machine 2 can not reach virtual machine 1
 as is the case in turn.what can i do for this. thanks.



王振猛
研发工程师 | CTO中心基础研发部
手机:18201631910
电话:010-58692543
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to