Displaying 1 result from an estimated 1 matches for "2048mbit".
Did you mean:
2048bit
2005 Oct 01
3
I gave up.-...-.-.-.- :''(
...(PORT 20-21) SMB FS (PORT 136-139) IRC (PORT 6667)
CONFIGURATION OF TC:
tc=/sbin/tc
iptables=/sbin/iptables
echo "Building tc Classes"
IFACE="eth0 eth1"
for i in $IFACE;do
$tc qdisc add dev $i root handle 1: htb default 10
$tc class add dev $i parent 1: classid 1:1 htb rate 2048mbit
$tc class add dev $i parent 1:1 classid 1:10 htb rate 10kbit ceil 128kbit quantum 1514
$tc class add dev $i parent 1:1 classid 1:20 htb rate 10kbit ceil 256kbit quantum 1514
$tc class add dev $i parent 1:1 classid 1:30 htb rate 10kbit ceil 512kbit quantum 1514
$tc class add dev $i parent 1:1...