Displaying 1 result from an estimated 1 matches for "dn_shaping".
Did you mean:
add_shaping
2006 Feb 21
0
Best internet traffic shaping for small lan
...--todev 0
NM=17
DN_BANDWIDTH=760Kbit #
DN=105Kbit
DN_RATE=70Kbit
UP_BANDWIDTH=600Kbit #
UP=70Kbit
UP_RATE=50Kbit
$TC qdisc add dev $DEV root handle 1: htb #default 50
$TC class add dev $DEV parent 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 ''.&...