Displaying 1 result from an estimated 1 matches for "banda_neclasificati".
2005 Jun 28
0
Re: Questin regarding HTB
...t one that i have received 2day and does not work almost at all:
#!/bin/bash
ETH_IN="eth1"
ETH_OUT="eth0"
BANDA_TOTALA="2Mbit"
# pentru neclasificati ar trebui sa fie banda minima - 1k - aici ar trebui
sa ajunga trafic necunoscut,
# care nu e organizat in shape-uri
BANDA_NECLASIFICATI="8kbit"
#Shape generale
/sbin/tc qdisc del dev $ETH_IN root
/sbin/tc qdisc del dev $ETH_OUT root
/sbin/tc qdisc add dev $ETH_IN root handle 1 htb default 10 r2q 2
/sbin/tc qdisc add dev $ETH_OUT root handle 1 htb default 10 r2q 2
/sbin/tc class add dev $ETH_IN parent 1: classid 1:2 htb r...