Answer the question
In order to leave comments, you need to log in
How to introduce delay into a network connection?
There is an application that works with remote devices over IP.
It is necessary to test the application for speed in conditions close to combat, but there is a nuance.
Ping to local devices is less than 1ms and everything works fine. The customer to his devices - about 30ms. We have 250-350 ms to the customer's devices, and it's impossible to work. In this regard, the question is, is it possible to somehow introduce a delay to local devices?
I believe that this requires either an alternative driver for a working computer (WinXP / 7), or some kind of shamanism with a router (Mikrotik is used).
Thanks in advance.
Answer the question
In order to leave comments, you need to log in
for Linux:
tc qdisc add dev eth0 root netem loss 0.1%; #loss
tc qdisc add dev eth0 root netem delay 100ms; #delays
I used Dummynet for similar tasks before
it was only under freebsd, but now it seems to be under linux, windows
The simplest thing I can think of is to rebuild iptables itself and add a routing delay to the source code. Ugly-hack, to be honest.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question