Martin,

You will probably receive a more comprehensive answer but, that is exactly what happens when you try a push vlan action in incoming tagged packets. The actual push action of the second tag doesn't work. Double tagging is not currently supported. I am working on a patch to support 802.1ad, double tagging.

--Tom

On 5/26/2014 7:10 AM, Martin Ivanov wrote:
Hi,

I have been trying to insert additional VLAN tag into a L2 frame, but for some reason it doesn't work.

Assume we have a frame:   ETH | VLAN=10 | data.
I want to insert another VLAN Tag:    ETH | VLAN=11 | VLAN=10 | data.

ovs-ofctl -F OXM -O OpenFlow12 add-flow svc1 "table=0,dl_src=00:00:00:00:00:01,dl_dst=08:00:27:1c:5b:34,dl_vlan=10,idle_timeout=0,priority=33000,in_port=1,actions=push_vlan:0x8100,11,output:2"

What happens is, that simply the VLAN tag gets rewritten, and not inserted.
Is this something that ovs-ofctl  currently supports ?


Thanks.
Martin


_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to