[ovs-discuss] An issue about multiple MPLS Labels

Yu, Da da_yu at brown.edu
Mon Jan 25 22:05:08 UTC 2016


Hi,

I found an issue when I try to encapsulate a packet with multiple MPLS
labels (I know, for current ovs, it only support stack with depth 3.) I
encapsulated a packet with MPLS three times and decapsulated them
immediately. From tcpdump, the original packet may become malformed. Is it
a bug or a limitation?

To help you reproduce, my testbed looks like this:

h1 ---- s1 ----- h2

In s1, the rule is:

cookie=0x0, duration=4.179s, table=0, n_packets=4, n_bytes=392,
priority=1,ip,in_port=1
actions=push_mpls:0x8847,set_field:52->mpls_label,push_mpls:0x8847,set_field:51->mpls_label,push_mpls:0x8847,set_field:50->mpls_label,pop_mpls:0x8847,pop_mpls:0x8847,pop_mpls:0x8847,output:2

I found the issue occurs only on packets with n times encapsulations. (n >=
2, which means, push 1 tag and remove that tag directly works fine).

I tired this on OVS-2.4 and OVS-2.5.90. And, I'm using ubuntu 14.04LTS.

Thanks,
Da
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160125/f2efd853/attachment-0002.html>


More information about the discuss mailing list