Re: tc Trafic shapping help requested

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Todd Millecam
Date:  
To: Main PLUG discussion list
Subject: Re: tc Trafic shapping help requested
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 <
> 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 -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>




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