Displaying 1 result from an estimated 1 matches for "dn_bandwidth".
Did you mean:
in_bandwidth
2006 Feb 21
0
Best internet traffic shaping for small lan
...KB/S + SQUID CACHE. My IPShaping script controls
every IP adress kbit/sec exept traffic 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 s...