Networking-Forums.com

General Category => Forum Lobby => Topic started by: Dieselboy on April 24, 2017, 12:18:15 AM

Title: Causing network latency
Post by: Dieselboy on April 24, 2017, 12:18:15 AM
I want to cause latency between client and server application for testing. I once used an appliance to do this to prove a concept but it was so long ago I cant even remember the appliances name (Riverbed loaned it to us and apparently it was worth $$$$$).

Is there a way of causing latency (eg from 10ms up to say 300ms) relatively simply?
Title: Re: Causing network latency
Post by: Dieselboy on April 24, 2017, 12:20:39 AM
Found a thread mentioning "netem" on Linux.
https://serverfault.com/questions/130170/is-it-possible-to-cause-artificial-network-packet-loss-or-latency

Getting to work... ::)
Title: Re: Causing network latency
Post by: wintermute000 on April 24, 2017, 04:08:01 AM
WANem on a desktop with two NICs worked well for me in the past
Title: Re: Causing network latency
Post by: SimonV on April 24, 2017, 12:03:59 PM
We have one of those devices at work. I think it's an Ixia but I need to ask my colleague to be sure.
Title: Re: Causing network latency
Post by: burnyd on April 24, 2017, 10:34:31 PM
Miles and mile of fiber!
Title: Re: Causing network latency
Post by: Dieselboy on April 26, 2017, 10:34:37 PM
Thanks guys! :D

I would love to have one of those devices in my engineer rucksack.

computers a cheap these days (sometimes less than $10!) I wonder if I can get something like a raspberri pi with dual nics? I wonder if the pi would even be able to route traffic at 100M ?
Title: Re: Causing network latency
Post by: SimonV on April 28, 2017, 05:39:28 AM
The device we have is the Apposite Mini2: http://www.digital-hands.eu/products/apposite/linktropy-mini2/

But when I was googling for it, I also came across this opensource project: http://wanem.sourceforge.net/
There's an ISO file and a virtual appliance available.

For Raspberry Pi-type devices with two NICs, I've been eyeballing the PC Engines motherboards for a while - but in my case it was for VyOS.

(https://pcengines.ch/pic/apu2c4_1.jpg)

https://pcengines.ch/apu2.htm

Please keep us updated, I'm interested!
Title: Re: Causing network latency
Post by: Dieselboy on May 05, 2017, 11:00:07 PM
Looks really good but was hoping to spend under $100.

Asus do one with a good cpu but only one nic https://www.asus.com/au/Motherboards/Tinker-Board/specifications/

Thanks for the link and mentioning the .iso! I can spin this up in my VM env. and route traffic through it to cause latency I think .
Title: Re: Causing network latency
Post by: wintermute000 on May 06, 2017, 01:42:43 AM
Last time I used WANem it was literally a spare desktop with an extra NIC. Just do it