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

How to specify the name of protocol when sending packets using moongen? #304

Open
Meysouli opened this issue Mar 29, 2021 · 10 comments
Open

Comments

@Meysouli
Copy link

in fact i'm trying to runn moongen with the lua scripts that are already found within the package,i'm using " ./build/MoonGen ./packetgen.lua -tx 0 -rx 1" to send traffic but the problem is that i cannot find the way to specify the stream profile like https or something like that

@NetronomeMoongen
Copy link
Contributor

NetronomeMoongen commented Mar 29, 2021 via email

@Meysouli
Copy link
Author

Thank you for the answer , for the bundled scripts are you referring to the ones in MoonGen/libmoon/lua ?

@NetronomeMoongen
Copy link
Contributor

NetronomeMoongen commented Mar 29, 2021 via email

@Meysouli
Copy link
Author

Thank you :)

@Meysouli
Copy link
Author

Meysouli commented Apr 6, 2021

Hello again , is there a way i can sniff the packet generated from this command
" sudo ./build/MoonGen ./examples/netronome-packetgen/packetgen.lua -tx 0 -rx 1" ??

@NetronomeMoongen
Copy link
Contributor

NetronomeMoongen commented Apr 6, 2021 via email

@Meysouli
Copy link
Author

Meysouli commented Apr 6, 2021

Thank you for being such great help

@Meysouli
Copy link
Author

Meysouli commented Apr 6, 2021

I tried using tcpdump to sniff the traffic from the command above and saved it into pcap file then read it with wireshark but no help there ,
Also do i have to specify link between port 0 and 1 ? (( i'm using the same physical machine))

@NetronomeMoongen
Copy link
Contributor

NetronomeMoongen commented Apr 6, 2021 via email

@emmericp
Copy link
Owner

No, you can't use the normal system tcpdump on a DPDK-related thing :(

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

3 participants