I'm trying to test some QoS policies I'm implementing on a router between two networks. I have two linux servers, one on each network, and I'd like to simulate data transfer between them so I can see if the QoS is effective.
The data is mostly UDP, but being able to simulate TCP data would be useful as well.
I originally tried just piping
netcat , but this just uses up as much bandwidth as it can and swamps the connection.
Is there a way of doing something similar, but allowing me to restrict the data rate to something specific?