Hi, I am trying to add a label to the packets in my network using MPLS and ofctl_rest. Here what I am POSTing to the controller via HTTP: *{* *"dpid":72961505220419,* *"table_id":0,* *"idle_timeout":0,* *"hard_timeout":0,"* *priority":0,"* *match":{"in_port":"2"},* *"actions":[* * {"type":"PUSH_MPLS","ethertype":34887},* * {"type":"SET_FIELD","field":"mpls_label","value":803},* * {"type":"OUTPUT","port":"1"}]* *}*
803 is a random number I am trying to use as the id of the label. The rule is correctly installed on the switch but all the output packets are malformed, like this one: ff ff ff ff ff ff 02 42 ac 1a 00 02 88 47 00 1b 71 40 00 01 08 00 06 04 00 01 02 42 ac 1a 00 02 c0 a8 00 02 00 00 00 00 00 00 c0 a8 00 01 (This is the hexadecimal Wireshark byte dump) It's composed by these levels: - Ethernet II - MPLS Header - IEEE 802.3 Ethernet - LLC - [Malformed Packet: LLC] I expected MPLS Header to be the last one. Thnaks for your support. Lorenzo
_______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel