[131839] in North American Network Operators' Group

home help back first fref pref prev next nref lref last post

Re: Emulating a cellular interface

daemon@ATHENA.MIT.EDU (Andy Davidson)
Sat Nov 6 09:50:33 2010

From: Andy Davidson <andy@nosignal.org>
In-Reply-To: <AANLkTimM0QFNhy8f4Jf9LLbr0Sryg2YB_32GujkgNww1@mail.gmail.com>
Date: Sat, 6 Nov 2010 13:50:20 +0000
To: Saqib Ilyas <msaqib@gmail.com>
Cc: nanog@nanog.org
Errors-To: nanog-bounces+nanog.discuss=bloom-picayune.mit.edu@nanog.org


On 6 Nov 2010, at 05:53, Saqib Ilyas wrote:

> A friend of mine is doing some testing where he wishes to emulate a
> cellular-like interfaces with random drops and all, out of an ethernet
> interface. Since we have plenty of network and system ops on the list, =
I
> thought we might have luck posting the question here. Is anyone aware =
of a
> simple tool to do this, other than rather involved configuration of
> iptables?

Not withstanding Mikael's comments that it shouldn't be lossy, at times =
when you want to simulate lossy (and jittery, and shaped, and ....) =
conditions, the best way I have found to do this is FreeBSD's dummynet :

=
http://www.freebsd.org/cgi/man.cgi?query=3Dipfw&sektion=3D8#TRAFFIC_SHAPER=
_(DUMMYNET)_CONFIGURATION

Andy=

home help back first fref pref prev next nref lref last post