Displaying 2 results from an estimated 2 matches for "interfaz_lan".
2007 Sep 03
1
Can we use 2 tc filter rules with the same prio
...have given the same prio for both. (i.e prio 1).
pls see my script given below. (last 2 lines of the script where I have
highlighted in BOLD letters)
Can I have 2 tc filter rules with the same prio?
What is the proper method to write?
MY SCRIPT IS BELOW
#traffic shaping on eth1 (Downloading)
INTERFAZ_LAN=eth1
FULLBANDWIDTH=256
BANDWIDTH4LAN=64
tc qdisc del root dev $INTERFAZ_LAN
tc qdisc add dev $INTERFAZ_LAN root handle 1: htb r2q 4
tc class add dev $INTERFAZ_LAN parent 1: classid 1:2 htb rate
"$FULLBANDWIDTH"Kbit
tc class add dev $INTERFAZ_LAN parent 1: classid 1:5 htb rate
"$BA...
2007 Aug 10
0
Re: Allocating 64 kbits/s out of 256 kbits/s for one LAN behingfirewall (SOLVED)
Hi Paolo Malfatti,
Thanks for your script. It works fine.
I get what I expect.
THANK you all the way until it comes to an end.
FOR the benifit for evryone in the LIST.
HERE IS the SCRIPT AGAIN.
INTERFAZ_LAN=eth0
FULLBANDWIDTH=256
BANDWIDTH4LAN=64
tc qdisc del root dev $INTERFAZ_LAN
tc qdisc add dev $INTERFAZ_LAN root handle 1 htb r2q 4
tc class add dev $INTERFAZ_LAN parent 1: classid 1:2 htb rate
"$FULLBANDWIDTH"Kbit
tc class add dev $INTERFAZ_LAN parent 1: classid 1:5 htb rate
"$BAN...