tc qdisc add dev eth0 root netem delay 100ms
iptables -A INPUT -m statistic --mode random --probability 0.01 -j DROP


That should get you started

On Wed, Feb 24, 2016 at 5:52 PM, Bryan O'Neal <Bryan.ONeal@theonealandassociates.com> wrote:
I am looking for a tc command that will add 100-250ms of latency 
to all traffic that is not on port 22 
to/from an ip range like 10.208.208.0/21.

Bonus:
I would also like 0-1% packet loss
I would like this on inbound (ingress) not outbound (root) traffic

Any one able to help?

---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss



--
Todd Millecam