Skip to content

Ограничение скорости канала на локальной машине

tc qdisc del dev ${ETH} handle ffff: ingress
tc qdisc add dev ${ETH} handle ffff: ingress
tc filter add dev ${ETH} parent ffff: protocol ip prio 50 u32 match ip src 0.0.0.0/0 police rate 64Kbit burst 5k drop flowid :1

 

Leave a Reply

Your email address will not be published. Required fields are marked *

π