nanog mailing list archives
Re: [NANOG] Introducing latency for testing?
From: Phil Regnauld <regnauld () catpipe net>
Date: Fri, 2 May 2008 23:17:02 +0200
Joel Jaeggli (joelja) writes:
The freebsd dummynet driver is all about latency simulation... http://www.scalabledesign.com/articles/dummynet.html linux has a netem which can do the same thing http://www.linux-foundation.org/en/Net:Netem
dummynet is significantly easier to set up, especially for doing things like random packet reordering / packet loss (using the 'prob' rule of ipfw + delay property with pipes). ipfw pipe 42 config bw 1024Kbit/s delay 6ms ipfw pipe 666 config bw 64Kbit/s delay 350ms ipfw add 10 prob 0.05 deny ip from 1.2.3.4 to any ipfw add 10 prob 0.8 pipe 666 ip from A to B ipfw add 10 prob 0.5 pipe 42 ip from A to B ... and it runs. _______________________________________________ NANOG mailing list NANOG () nanog org http://mailman.nanog.org/mailman/listinfo/nanog
Current thread:
- [NANOG] Introducing latency for testing? Mike Lyon (May 02)
- Re: [NANOG] Introducing latency for testing? C. Tate Baumrucker (May 02)
- Re: [NANOG] Introducing latency for testing? Deepak Jain (May 02)
- Re: [NANOG] Introducing latency for testing? Mike Lyon (May 02)
- Re: [NANOG] Introducing latency for testing? Deepak Jain (May 02)
- Re: [NANOG] Introducing latency for testing? Geoff Lisk (May 02)
- Re: [NANOG] Introducing latency for testing? Stephane Bortzmeyer (May 02)
- Re: [NANOG] Introducing latency for testing? Joel Jaeggli (May 02)
- Re: [NANOG] Introducing latency for testing? Phil Regnauld (May 02)
- <Possible follow-ups>
- Re: [NANOG] Introducing latency for testing? charles (May 02)
- Re: [NANOG] Introducing latency for testing? C. Tate Baumrucker (May 02)