LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Modifying network latency, is it possible? (https://www.linuxquestions.org/questions/linux-networking-3/modifying-network-latency-is-it-possible-349509/)

BigDanny 08-03-2005 05:34 AM

Modifying network latency, is it possible?
 
Hi!

I was wondering if anyone has an idea how to artificially modify network latency in Linux? Or is it even possible?

I have two networks connected with a router running FC4 and at the moment network latency is nonexistant. I want to somehow grow the latency to be able to test some software in all kinds of conditions.

Any info appreciated. :)

KimVette 08-03-2005 10:10 PM

Put a bunch of Linux boxes on the network and start shell scripts to copy large files back and forth, or run flood and have them hit a web server with image-heavy pages.

andrewdodsworth 08-04-2005 04:09 AM

You could have a look at iptables, apart from normal firewall stuff there's a tremendous amount of flexibility in constructing rules for particular network traffic. I don't know whether using a rule to drop traffic above a certain rate would do what you want or every nth packet but perhaps using the LOG facility to log everything to a slow device may work.


All times are GMT -5. The time now is 12:32 PM.