Skip to content
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

Support for payload with Ethernet header #8

Open
jonjacs opened this issue Apr 20, 2021 · 0 comments
Open

Support for payload with Ethernet header #8

jonjacs opened this issue Apr 20, 2021 · 0 comments

Comments

@jonjacs
Copy link

jonjacs commented Apr 20, 2021

We are using mirroring on a switch that can send the mirrored packets via GRE. But this means that the complete packet including the Ethernet header will be part of the payload. It would be nice if this could be encapsulated and only keeping the payload Ethernet header.

Like:

     +----------------+
     | Ethernet head. |
     +----------------+
     |   IP header    |
     +----------------+
     |   GRE header   |
     +----------------+
     |+--------------+|                            +--------------+
     ||Ethernet head.||                            |Ethernet head.|
     |+--------------+|                            +--------------+
     ||  IP header   ||  +-------ipdecap-------->  |  IP header   |
     |+--------------+|                            +--------------+
     ||   Payload    ||                            |   Payload    |
     |+--------------+|                            +--------------+
     +----------------+
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

No branches or pull requests

1 participant