N
N
Nevod2011-03-04 13:53:45
Computer networks
Nevod, 2011-03-04 13:53:45

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

5 answer(s)
R
rimidal, 2011-03-04
@rimidal

for Linux:
tc qdisc add dev eth0 root netem loss 0.1%; #loss
tc qdisc add dev eth0 root netem delay 100ms; #delays

L
lazyk, 2011-03-04
@lazyk

I used Dummynet for similar tasks before
it was only under freebsd, but now it seems to be under linux, windows

M
mitnlag, 2011-03-04
@mitnlag

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.

V
VBart, 2011-03-04
@VBart

You can use etcproxy

I
int0x80, 2011-03-04
@int0x80

Perhaps wanem will help you: wanem.sourceforge.net/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question