[Freeswitch-users] generate deliberate packet loss?

Nathan Neulinger nneul at mst.edu
Tue Feb 7 06:41:42 MSK 2017


It's also very easy to add latency for testing as well.

Example to add 10ms to ixgbe0 interface:

	tc qdisc add dev ixgbe0 root netem delay 10ms limit 200000
and/or
	tc qdisc change dev ixgbe0 root netem delay 10ms limit 200000

If you do "netem delay Xms Yms" it will do X +/- Yms roughly.

Note that this is on output only, so is typically more useful on a device in between endpoints. Also, don't use it on a 
high traffic link, it'll have difficulties.


-- Nathan

On 2/6/17 8:56 PM, jungle boogie wrote:
> On 02/06/2017 06:48 PM, Alex Balashov wrote:
>> http://code.nomad-labs.com/2010/03/11/simulating-dropped-packets-aka-crappy-internets-with-iptables/
>>
> 
> 
> THANK YOU, Alex!! I'll add this to the confluence page.
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
> 

-- 
------------------------------------------------------------
Nathan Neulinger                       nneul at mst.edu
Missouri S&T Information Technology    (573) 612-1412
System Administrator - Architect



Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list