Hi, ovs
I used 2.17.2 and I found mod_vlan_vid pushed new vlan header no matter if there was vlan_tci=0x1000/0x1000 match in the flow which indicated in https://mail.openvswitch.org/pipermail/ovs-dev/2018-August/351375.html
My flow is:
cookie=0x186ae, duration=118.947s, table=6, n_packets=116, n_bytes=11832, priority=10032,ip,reg2=0/0xfff,vlan_tci=0x1000/0x1000,nw_dst=30.1.2.31 actions=mod_dl_dst:02:06:1a:33:06:81,mod_dl_src:02:06:1a:33:04:81,mod_vlan_vid:200,output:"1.x2"
trace shows:
6. ip,reg2=0/0xfff,vlan_tci=0x1000/0x1000,nw_dst=30.1.2.31, priority 10032, cookie 0x186ae
set_field:02:06:1a:33:06:81->eth_dst
set_field:02:06:1a:33:04:81->eth_src
push_vlan:0x8100
set_field:4296->vlan_vid
output:3
set_field:02:06:1a:33:06:81->eth_dst
set_field:02:06:1a:33:04:81->eth_src
push_vlan:0x8100
set_field:4296->vlan_vid
output:3
Final flow: icmp,reg0=0x1,reg1=0x1,in_port=2,dl_vlan=200,dl_vlan_pcp=0,dl_vlan1=100,dl_vlan_pcp1=0,vlan_tci2=0x0000,dl_src=02:06:1a:33:04:81,dl_dst=02:06:1a:33:06:81,nw_src=30.1.1.10,nw_dst=30.1.2.31,nw_tos=0,nw_ecn=0,nw_ttl=64,icmp_type=8,icmp_code=0
Megaflow: recirc_id=0,eth,ip,in_port=2,dl_vlan=100,dl_vlan_pcp=0,dl_src=02:06:1a:33:05:81,dl_dst=02:06:1a:33:04:81,nw_dst=30.1.2.31,nw_frag=no
Datapath actions: set(eth(src="">
Megaflow: recirc_id=0,eth,ip,in_port=2,dl_vlan=100,dl_vlan_pcp=0,dl_src=02:06:1a:33:05:81,dl_dst=02:06:1a:33:04:81,nw_dst=30.1.2.31,nw_frag=no
Datapath actions: set(eth(src="">
Please help. Thanks!
_______________________________________________ discuss mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
