I always read the comments in this forum were Mikrotik staff tell us to use traffic generator instead of BTest.
Is there an example of how to do this? I’ve read the Wiki, but cant make sense of this at all…
I always read the comments in this forum were Mikrotik staff tell us to use traffic generator instead of BTest.
Is there an example of how to do this? I’ve read the Wiki, but cant make sense of this at all…
anyone?
first of, traffic-generator will be UDP traffic.
If you want TCP, then easiest way is going to be to create packet sniff of TCP traffic and then inject that sniff into traffic-generator.
Ok. UDP generation:
You have to configure your test in a way that packet leave your traffic-generator and afterwards that same router is receiving them back.
create packet template. In the manual you will see how to do that, but, tl;dr set up packet-header=mac,ip,udp set up outgoing interface, outoging IP address, gateway (usually DUT) and destination (usually traffic-generator router) all the rest of the fields will be assumed by traffic-generator auto-configuration
check if you have ports set up properly. Ports will send or receive the traffic, if interface is not listed under ports - traffic-generator will not be able to receive the traffic on that interface.
set up stream - here you set up packets-per-second, packet size, what port to use.
start/stop to start and stop the traffic gen. There is also quick setting that will show all the data on the fly. Then you only need packet-template nad maybe ports.