Community discussions

MikroTik App
 
olivier2831
Member Candidate
Member Candidate
Topic Author
Posts: 296
Joined: Fri Sep 08, 2017 6:53 pm

Troubeshooting Performance testing

Wed May 22, 2019 11:12 am

Hello,

I'm discovering https://wiki.mikrotik.com/wiki/Manual:P ... _Generator.
I tried to reproduce these tests in my lab but failed miserably

Before defining tests with
/tool traffic-generator packet-template
commands, what are the appropriate set of commands to run on Trafic Generator box to check network settings are correct ?
For instance, test r12 is about sending traffic to destination 2.2.2.2 passing through gateway 1.1.1.254.

1. Is the command bellow expected to succeed ?
/ping src-address=1.1.1.1 interface=ether5 2.2.2.2
2. How can I make sure the traffic in the above command passes through DUT and not using Traffic Generator "internal routes" ? (I can plug a cable on or off while ping is running but ...)

Best regards
 
olivier2831
Member Candidate
Member Candidate
Topic Author
Posts: 296
Joined: Fri Sep 08, 2017 6:53 pm

Re: Troubeshooting Performance testing [SOLVED]

Fri May 24, 2019 3:46 pm

I could at last get some positive testing.

Referring to [1], I simply had to run both r12 and r21 traffic to have "quick tx-template ..." command stop displaying "100% Lost".
(Previously, I ran r12 traffic alone, as a first step).

I hope this would help others

[1]https://wiki.mikrotik.com/wiki/Manual:P ... _Generator
 
Guntis
MikroTik Support
MikroTik Support
Posts: 158
Joined: Fri Jul 20, 2018 1:40 pm

Re: Troubeshooting Performance testing

Fri May 24, 2019 4:27 pm

Here's an alternative for sending traffic between two directly connected devices.
DUT IP- x.x.x.x/xx
TG IP- x.x.x.y/xx
You can create single packet template on TG:
/tool traffic-generator packet-template add ip-dst=x.x.x.y ip-gateway=x.x.x.x ip-src=x.x.x.y
This will send traffic from TG, through DUT and back to TG.
 
olivier2831
Member Candidate
Member Candidate
Topic Author
Posts: 296
Joined: Fri Sep 08, 2017 6:53 pm

Re: Troubeshooting Performance testing

Fri May 24, 2019 4:48 pm

This will send traffic from TG, through DUT and back to TG.
Am I correct this only involves one DUT interface ?
When would prefer to use such traffic as opposed to traffic going in through one interface and leaving through another ?

Who is online

Users browsing this forum: cmmike, lmeira, syslog and 39 guests