Displaying 1 result from an estimated 1 matches for "relgas".
Did you mean:
reglas
2004 Jan 04
3
problem whith htb script
...My script ######
#!/bin/bash
#QoS ;)=
DEV=eth1
RATEUP=100 #En KiloBytes
# borro las bandas
tc qdisc del dev $DEV root 2> /dev/null > /dev/null
tc qdisc del dev $DEV ingress 2> /dev/null > /dev/null
tc qdisc del dev $DEV root 2> /dev/null > /dev/null
iptables -F #tambiƩn las relgas iptables
#creacion del arbol de bandas
tc qdisc add dev $DEV root handle 2: htb default 60
tc class add dev $DEV parent 2: classid 2:1 htb rate 120kbps ceil
${RATEUP}kbps
tc class add dev $DEV parent 2:5 classid 2:50 htb rate
$[70*$RATEUP/100]kbps ceil ${RATEUP}kbps
tc class add dev $DEV parent 2:...