Displaying 1 result from an estimated 1 matches for "up_rate".
Did you mean:
op_rate
2006 Feb 21
0
Best internet traffic shaping for small lan
...ffic to server:
#!/bin/bash
TC=/sbin/tc
HOSTS_LIST="192.168.1.3 192.168.1.4 192.168.1.5 192.168.1.6 192.168.1.
7 192.168.1.8 192.168.1.9 192.168.1.10 192.168.1.11...
DEV=eth0 # ethLAN
IMQ=imq0 # --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...