On 3 December 2013 10:16, Nataliia Trifonova <trifonova.nata...@gmail.com> wrote: > When I push first VLAN tag and then MPLS label, tcpdump shows corrupted > packets sent out from the interface.
Section B.11.9 (below) of the OF1.3.3 spec allows pushing MPLS shims in the middle of VLAN tags, which would cause tcpdump to report a corrupt packet. The equivalent message in OF1.2 would result in a different ordering of tags. "In previous version of the specification, the final order of tags in a packet was statically specified. For example, a MPLS shim header was always inserted after all VLAN tags in the packet. OpenFlow 1.3 removes this restriction, the final order of tags in a packet is dictated by the order of the tagging operations, each tagging operation adds its tag in the outermost position (EXT-121)." > When I push first MPLS label and then VLAN tag, only MPLS tag is added, VLAN > is ignored, even though the rules does instruct pushing both. > > Moreover, when I add the flow using ovs-ofctl, like this: > > ovs-ofctl add-flow ovsbr0 > dl_type=0x800,priority=1,nw_src=10.0.0.1,nw_dst=10.10.10.1,actions=push_mpls:0x8847,set_field:10-\>mpls_label,mod_vlan_vid:3,output:2 > > everything is fine, I have VLAN and MPLS sitting there. What am I doing wrong? It sounds like the Flow Mod message sent by ovs-ofctl differs from the one you are sending from Ryu. You could compare these to find out why. _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss