MoonGen is a fully scriptable high-speed packet generator built on DPDK and LuaJIT. It can saturate a 10 Gbit/s connection with 64 byte packets on a single CPU core while executing user-provided Lua scripts for each packet. Multi-core support allows for even higher rates. It also features precise and accurate timestamping and rate control.
When building MoonGen the compiler does not find -lrte_kni at usr/bin/ld. Probably as a result the interfaces cannot be bound. Is there a workaround for that issue?
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ekd/MoonGen/build
[ 72%] Built target moon
[ 75%] Linking CXX executable MoonGen
/usr/bin/ld: cannot find -lrte_kni
collect2: error: ld returned 1 exit status
make[2]: [CMakeFiles/MoonGen.dir/build.make:178: MoonGen] Error 1
make[1]: [CMakeFiles/Makefile2:96: CMakeFiles/MoonGen.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
Trying to bind interfaces, this will fail if you are not root
Try sudo ./bind-interfaces.sh if this step fails
insmod: ERROR: could not load module ./x86_64-native-linuxapp-gcc/kmod/igb_uio.ko: No such file or directory
When building MoonGen the compiler does not find -lrte_kni at usr/bin/ld. Probably as a result the interfaces cannot be bound. Is there a workaround for that issue?
-- Configuring done -- Generating done -- Build files have been written to: /home/ekd/MoonGen/build [ 72%] Built target moon [ 75%] Linking CXX executable MoonGen /usr/bin/ld: cannot find -lrte_kni collect2: error: ld returned 1 exit status make[2]: [CMakeFiles/MoonGen.dir/build.make:178: MoonGen] Error 1 make[1]: [CMakeFiles/Makefile2:96: CMakeFiles/MoonGen.dir/all] Error 2 make: *** [Makefile:84: all] Error 2 Trying to bind interfaces, this will fail if you are not root Try sudo ./bind-interfaces.sh if this step fails insmod: ERROR: could not load module ./x86_64-native-linuxapp-gcc/kmod/igb_uio.ko: No such file or directory