generate unstable traffic

I'm currently using a VM with mininet for SDN and I'm trying to find a way to vary the bandwidth size over time say 1 min. Where the first 20s is at 5MB and then increases to 10MB for 20s and then increases again. Is there away to generate traffic like that. I tried using iperf, but I can't seem to find a way to do it there. iPerf only gives me a constant rate. The traffic can be both UDP and TCP. In iperf I defined a server and a client for sending data to.

iperf -s -u -p 5001
iperf -c -p 5001 -u -b 5m -t 60

Leave Your Comment

Leave a Reply

%d bloggers like this: