[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Emulating a cellular interface
- Subject: Emulating a cellular interface
- From: andy at nosignal.org (Andy Davidson)
- Date: Sat, 6 Nov 2010 13:50:20 +0000
- In-reply-to: <[email protected]>
- References: <[email protected]>
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=ipfw&sektion=8#TRAFFIC_SHAPER_(DUMMYNET)_CONFIGURATION
Andy