Northbound Networks Forums

Zodiac FX => Zodiac FX Firmware => Topic started by: mpls95 on November 28, 2018, 05:45:15 AM

Title: Error In firmware (MPLS Implementation)
Post by: mpls95 on November 28, 2018, 05:45:15 AM
Hello!

I've been reviewing the github firmware code and I've seen that Zodiac add 2 extra bytes when pushing MPLS labels(and removing this 2 bytes when Zodiac pop labels), in the code the PUSH MPLS label (ZodiacFX / src / openflow / openflow_13.c)  increases the packet size by 6 bytes, and MPLS labels have only 4 bytes:

MPLS PACKETS MUST BE:

|ETHERNET|MPLS(4 BYTES)|IP|

and not:

|ETHERNET|MPLS(4 BYTES)|2 extra bytes of a redundance of Ethernet type of service|IP|

Can you check it Paul?


Title: Re: Error In firmware (MPLS Implementation)
Post by: mpls95 on November 29, 2018, 03:15:39 AM
I have solved the problem, if you want contact me to share the code.

Title: Re: Error In firmware (MPLS Implementation)
Post by: mpls95 on December 18, 2018, 10:34:19 AM
And also, stacking labels, when you assign the value of the label you overwrite the same label all the time instead of assigning a value for each label, you always write on the label closer to the ethernet header. I`ve solved too.

Greetings, encourage the project and I await your response