Skip to content

decode IP header from samples of MPLS-encapsulated packets #49

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

strzebon
Copy link

This change only applies to flow samples with format: "Raw packet header" (1) and header protocol: "Ethernet" (1) with encapsulated 1-element label stack of MPLS unicast.

@sflow
Copy link
Owner

sflow commented Jan 6, 2025

Unfortunately MPLS over ethernet is not as simple as this. You can have a whole stack of labels, and the encapsulated layer does not always have to be IPv4 or IPv6. That's why we left it out of (simple, free) sflowtool.

It looks like you made it work in your environment, which is cool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants