Displaying 1 result from an estimated 1 matches for "up_shaping".
Did you mean:
rm_shaping
2006 Feb 21
0
Best internet traffic shaping for small lan
...ent 1: classid 1:1 htb rate
${DN_BANDWIDTH} quantum 1500
iptables -t mangle -N DN_SHAPING
ip link set $IMQ up
$TC qdisc add dev $IMQ root handle 1: htb
$TC class add dev $IMQ parent 1: classid 1:1 htb rate
${UP_BANDWIDTH} quantum 1500
iptables -t mangle -N UP_SHAPING
for i in $HOSTS_LIST
do
IP=$(echo $i | awk -F ''.'' ''{print $4}'')
# Download MARK
tc class add dev $DEV parent 1:1 classid 1:$NM$IP htb
rate ${DN_RATE} ceil ${DN} prio 0 quantum 1500
tc...