Community discussions

MikroTik App
 
biciczech
just joined
Topic Author
Posts: 3
Joined: Thu Aug 27, 2015 2:08 pm

Traffic Generator

Sat Feb 04, 2017 2:17 pm

Hello to everybody,

I read an article on wiki and several posts here on the forum (http://forum.mikrotik.com/viewtopic.php ... or#p507712), but I'm still not able to deploy functional traffic generator between two routers via a single Ethernet port.
Not return back any traffic.

Would someone please willing to advise me what is wrong and point me the right direction? Alternatively, post a functional configuration?

Thank you in advance for your willingness.

/Ondrej

MK CHR Eth1 10.0.0.1/30 <-------------> Eth1 MK CHR 10.0.0.2/30

/tool traffic-generator port print
Flags: X - disabled, I - invalid, D - dynamic
# NAME INTERFACE FIRST-HEADER
0 port1 ether1 mac

/tool traffic-generator stream print
Flags: X - disabled, I - invalid
# NAME DEFAULT-PORT PORT ID PACKET-SIZE MBPS PPS TX-TEMPLATE PACKET-COUNT
0 str1 dynamic0 port1 0 1500 100 0 temp2 unlimited

/tool traffic-generator packet-template print
0 name="temp2" header-stack=mac,ip,udp interface=ether1 assumed-mac-src=26:0A:31:4B:A4:14 assumed-mac-dst=96:73:5E:87:03:70
assumed-mac-protocol=ip assumed-ip-dscp=0 assumed-ip-id=0 assumed-ip-frag-off=0 assumed-ip-ttl=64 ip-dst=10.0.0.1
ip-protocol=udp ip-gateway=10.0.0.2 assumed-ip-src=10.0.0.1 assumed-udp-src-port=100 assumed-udp-dst-port=200
assumed-udp-checksum=0 data=uninitialized data-byte=0 random-byte-offsets-and-masks="" random-ranges="" special-footer=yes
compute-checksum-from-offset=no-checksum

/tool traffic-generator quick
SEQ ID TX-PACKET TX-RATE RX-PACKET RX-RATE RX-OOO RX-BAD-CSUM LOST-PACKET LOST-RATE LAT-MIN LAT-AVG
1 0 8 269 99.2Mbps 0 0bps 0 0 8 269 99.2Mbps
2 0 8 333 99.9Mbps 0 0bps 0 0 8 333 99.9Mbps
3 0 8 334 100.0Mbps 0 0bps 0 0 8 334 100.0Mbps
4 0 8 333 99.9Mbps 0 0bps 0 0 8 333 99.9Mbps
5 0 8 333 99.9Mbps 0 0bps 0 0 8 333 99.9Mbps
6 0 8 310 99.7Mbps 0 0bps 0 0 8 310 99.7Mbps
7 0 8 348 100.1Mbps 0 0bps 0 0 8 348 100.1Mbps
8 0 8 343 100.1Mbps 0 0bps 0 0 8 343 100.1Mbps
9 0 8 333 99.9Mbps 0 0bps 0 0 8 333 99.9Mbps
10 0 8 333 99.9Mbps 0 0bps 0 0 8 333 99.9Mbps
11 0 8 333 99.9Mbps 0 0bps 0 0 8 333 99.9Mbps
12 0 8 333 99.9Mbps 0 0bps 0 0 8 333 99.9Mbps
13 0 8 334 100.0Mbps 0 0bps 0 0 8 334 100.0Mbps
TOT 0 108 269 99.9Mbps 0 0bps 0 0 108 269 99.9Mbps