Displaying 19 results from an estimated 19 matches for "60kbit".
Did you mean:
160kbit
2002 Aug 07
11
pb with ingress policy
...to work in most cases. However, there are some sites with which downloa=
d is interrupted if bandwidth is limited. I tried to trace it down and did=
some simple test:
modprobe imq numdevs=3D1
tc qdisc add dev imq0 root handle 1: htb default 10
tc class add dev imq0 parent 1: classid 1:10 htb rate 60kbit ceil 512kbit=
burst 15k
tc qdisc add dev imq0 parent 1:10 handle 10: sfq perturb 10
iptables -t mangle -A PREROUTING -i ppp0 -j IMQ --todev 0
ip li set imq0 up
So now all traffic is limited to 60kbit. If I use some particular site fo=
r downloading (with wget) I observe the following with tcpdump...
2004 Nov 29
2
Interesting oopses...
...1 1 1 1
$TC qdisc add dev $IFOUT parent 1:1 handle 10: pfifo limit 10
$TC qdisc add dev $IFOUT parent 1:2 handle 20: htb default 100 r2q 1
$TC class add dev $IFOUT parent 20: classid 20:10 htb rate ${OUTBW}kbit
ceil ${OUTBW}kbit prio 0
$TC class add dev $IFOUT parent 20:10 classid 20:100 htb rate 60kbit
ceil 60kbit prio 0
$TC class add dev $IFOUT parent 20:10 classid 20:200 htb rate 56kbit
ceil ${OUTBW}kbit prio 1
$TC qdisc add dev $IFOUT parent 20:100 handle 100: pfifo limit 10
$TC qdisc add dev $IFOUT parent 20:200 handle 200: pfifo limit 10
# Build input rules
$TC qdisc add dev $IFIN root ha...
2007 Sep 19
2
bittorrent traffic...
...daram wrote :
> mark in iptables and use tc to classify using mark.
Mark like this ?
iptables -A INPUT -m layer7 --l7proto bittorrent -j MARK --set-mark 3
and then..
tc filter add dev eth0 protocol ip parent 1:0 1 handle 3 fw flowid 1:10
and lets say we have a flowid 1:3 declared to use at 60kbit ceil 60kbit
Is that proper ?
If so then it doesn''t want to work for me.
I can see that layer7 marks the packets but still I can''t control the
amount of them... I get a transfer of 100kbit and more...
With Kind Regards
Matt
----------------------------------------------------...
2006 Dec 13
0
classid, prio and position
Having a problem with classid and prio and position. Wondering if
someone could help? Below I have pasted a part of my current rules, now
it consists of one chain and two pipes. If they both use 60Kbit which
one would get priority? Would it be the one with the better prio or the
one with the lower classid or would it be the one which is first on the
list?
/sbin/tc class add dev eth1 parent 1:1 classid 1:11 htb rate 2000kbit
ceil 2000kbit prio 3 quantum 1532 /sbin/iptables -t mangle -N
test-chai...
2004 Jun 12
2
borrowing
I have
- HZ - recompiled to 1000
- class nr 1 - 2kbit ceil 1024kbit
- class nr 2 - 16kbit ceil1024kbit
But class 1 works with 20kbit/sec and class 2 with 60kbit/sec.
The proportion does not seems right.
Thank you.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
2005 Dec 07
2
can the htb applied to http/ftp server not in the router???
can someone help me??
-------------------------
| server (http & ftp) | ------> 1.2.3.4
-------------------------
|
|
| -----> 10/100 MB LAN
|
|
|
----------
| client | -----> 1.2.3.5
----------
i want the client download file from http server with maximum rate is
30 kbps and download from
2005 Jan 24
3
Htb, imq and sfq traffic shaping
...ev $DOWNIF parent 1:10 classid 1:1010 htb rate 16kbit ceil 100kbit
$TC qdisc add dev $DOWNIF parent 1:1010 handle 1010 sfq
$TC filter add dev $DOWNIF parent 1:0 protocol ip prio 200 handle 1010 fw classid 1:1010
$TC class add dev $UPIF parent 1:20 classid 1:2010 htb rate 8kbit ceil 60kbit
$TC qdisc add dev $UPIF parent 1:2010 handle 2010 sfq
$TC filter add dev $UPIF parent 1:0 protocol ip prio 200 handle 2010 fw classid 1:2010
$IPTABLES -t mangle -A POSTROUTING -d 192.168.0.178 -j MARK --set-mark 1010
$IPTABLES -t mangle -A POSTROUTING -s 192.168.0.178 -j MARK --set...
2002 Apr 26
9
[Fwd: Re: borrowing only from parent]
...ass htb 1:1 root prio 0 rate 100Kbit ceil 1Kbit burst 1599b/8 mpu 0b
cburst 1599b/8 mpu 0b quantum 1280 level 3 Sent 956111 bytes 14168 pkts
(dropped 0, overlimits 0) rate 12bps lended: 566 borrowed: 0 giants: 0
injects: 0
tokens: 224179 ctokens: -59999999
class htb 1:100 parent 1:1 prio 0 rate 60Kbit ceil 60Kbit burst 1599b/8
mpu 0b cburst 1599b/8 mpu 0b quantum 768 level 0 Sent 563585 bytes 8270
pkts (dropped 0, overlimits 20093) rate 11bps lended: 7704 borrowed: 566
giants: 0 injects: 0
tokens: -14100 ctokens: -14100
thanks,
Anton
2007 Feb 05
16
Problems with HTB. Help!
...d dev eth0 parent 1:1 classid 1:10 htb rate 10mbit \
ceil 10mbit prio 0
tc class add dev eth1 parent 2:1 classid 2:10 htb rate 224kbit \
ceil 384kbit prio 0
tc class add dev eth1 parent 2:1 classid 2:11 htb rate 100kbit \
ceil 100kbit prio 1
tc class add dev eth1 parent 2:1 classid 2:12 htb rate 60kbit \
ceil 60kbit prio 2
#####################
# Setup the filters #
#####################
# match acks the hard way,
# IP protocol 6,
# IP header length 0x5(32 bit words),
# IP Total length 0x34 (ACK + 12 bytes of TCP options)
# TCP ack set (bit 5, offset 33)
ACK="tc filter add dev eth1 protoco...
2004 Apr 04
2
IMQ & NAT
...tc class add dev imq0 parent 1: classid 1:1 htb rate ${MAX}kbit ceil
${MAX}kbit
tc class add dev imq0 parent 1:1 classid 1:10 htb rate 60kbit ceil
${MAX}kbit prio 0
tc class add dev imq0 parent 1:1 classid 1:11 htb rate 40kbit ceil
${MAX}kbit prio 1
tc class add dev imq0 parent 1:1 classid 1:12 htb rate 100kbit ceil
${MAX}kbit prio 2
tc class add dev imq0 parent 1:1 classid 1:13 htb rate 100kbit ceil
${MAX}kbit prio 3...
2003 Oct 27
4
Need help with HTB
...disc del dev $IF_EXT root
$tc qdisc add dev $IF_EXT handle 1: root htb default 99 r2q 1
$tc class add dev $IF_EXT parent 1: classid 1:1 htb rate 100kbit
$tc class add dev $IF_EXT parent 1:1 classid 1:2 htb rate 20kbit ceil
20kbit prio 1
$tc class add dev $IF_EXT parent 1:1 classid 1:3 htb rate 60kbit ceil
90kbit prio 3
$tc class add dev $IF_EXT parent 1:1 classid 1:99 htb rate 20kbit ceil
90kbit prio 7
//I''m letting 1:2 use FIFO...for low-latency
$tc qdisc add dev $IF_EXT parent 1:3 handle 30: sfq perturb 10
$tc qdisc add dev $IF_EXT parent 1:99 handle 990: sfq perturb 10
# IC...
2005 May 12
0
HTB and IPv6
...e 1: htb default 15
tc class add dev eth0 parent 1: classid 1:1 htb rate 100kbit ceil
100kbit
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 30kbit ceil
100kbit
tc class add dev eth0 parent 1:1 classid 1:11 htb rate 10kbit ceil
100kbit
tc class add dev eth0 parent 1:1 classid 1:12 htb rate 60kbit ceil
100kbit
ip6tables -t mangle -N queue1
ip6tables -t mangle -A queue1 -j MARK --set-mark 0x10
ip6tables -t mangle -A queue1 -j ACCEPT
ip6tables -t mangle -A OUTPUT -d 2001:411:1:1:2:: -j queue1
ip6tables -t mangle -N queue2
ip6tables -t mangle -A queue2 -j MARK --set-mark 0x20
ip6tables -t mangl...
2002 Apr 13
0
Bandwidth sharing...
I work as network administrator in a dept. from a bigger company, and I want to limit traffic in the night down to 160Kbit, without disrupting comunication with peers from the entire company. To make my self clear, the company has 2 class C networks, 1 for our dept, and the other for the rest of the company. So, I want to limit traffic to the Internet, but the traffic to the other class C won''t be limited. Als...
2002 Oct 01
1
An Analysis of the c't Codec Test
On Mon, Sep 30, 2002 at 10:48:27AM -0100, fungus wrote:
> One the one hand this is a great achievement but on the
> other hand normal people aren't going to figure out how
> good it is because they'll never push the limits.
> Who's going to set "quality 0.5" when they've got a
> range from zero up to ten.
This is very true. I can easily hear MP3
2006 Apr 10
4
EF & AF filters with HTB
...ss...\n"
tc qdisc add dev $DEVICE parent 1:0 handle 2:0 htb
tc class add dev $DEVICE parent 2:0 classid 2:1 htb rate 120Kbit ceil 120Kbit
# EF Class (2:10)
echo -e "Installing EF class, PFIFO queue discipline and filter...\n"
tc class add dev $DEVICE parent 2:1 classid 2:10 htb rate 60Kbit ceil 120Kbit
tc qdisc add dev $DEVICE parent 2:10 pfifo limit 5
tc filter add dev $DEVICE parent 2:0 protocol ip prio 1 handle 46 tcindex \
classid 2:10
# BE Class (2:20)
echo -e "Installing BE class, RED queue discipline and filter...\n"
tc class add dev $DEVICE parent 2:1 classid 2:20...
2003 Nov 13
1
HTB traffic shaping + squid cache proxy
...:10
$TC filter add dev eth0 parent 1:0 protocol ip handle 3 fw flowid 1:30
##############################
$TC qdisc add dev ppp0 root handle 1: htb default 20
$TC class add dev ppp0 parent 1: classid 1:1 htb rate 62Kbit burst 35k
$TC class add dev ppp0 parent 1:1 classid 1:10 htb rate 40Kbit ceil 60Kbit burst 25k prio 1
$TC class add dev ppp0 parent 1:1 classid 1:20 htb rate 15Kbit ceil 55Kbit burst 10k prio 2
$TC class add dev ppp0 parent 1:1 classid 1:30 htb rate 7Kbit ceil 28Kbit burst 5k prio 3
$TC qdisc add dev ppp0 parent 1:10 handle 10: sfq perturb 10
$TC qdisc add dev ppp0 parent 1:20 h...
2005 Jan 08
2
script
...\
match ip protocol 0x6 0xff \
match ip tos 0x10 0xff \
flowid 1:60
##############################
$TC qdisc add dev eth1 root handle 1: htb default 20
$TC class add dev eth1 parent 1: classid 1:1 htb rate 62Kbit burst 35k
$TC class add dev eth1 parent 1:1 classid 1:10 htb rate 40Kbit ceil 60Kbit burst 25k prio 1
$TC class add dev eth1 parent 1:1 classid 1:20 htb rate 15Kbit ceil 55Kbit burst 10k prio 2
$TC class add dev eth1 parent 1:1 classid 1:30 htb rate 7Kbit ceil 28Kbit burst 5k prio 3
$TC qdisc add dev eth1 parent 1:10 handle 10: sfq perturb 10
$TC qdisc add dev eth1 parent 1:20...
2005 Oct 16
2
Lost packets and strange "behaviour" of my TC rules
...dev $interface parent 1: classid 1:1 htb rate 100kbit ceil 100kbit
tc class add dev $interface parent 1:1 classid 1:10 htb rate 30kbit ceil 100kbit
tc class add dev $interface parent 1:1 classid 1:11 htb rate 10kbit ceil 100kbit
tc class add dev $interface parent 1:1 classid 1:12 htb rate 60kbit ceil 100kbit
tc qdisc add dev $interface parent 1:10 handle 20: sfq perturb 10
tc qdisc add dev $interface parent 1:11 handle 30: sfq perturb 10
tc qdisc add dev $interface parent 1:12 handle 40: sfq perturb 10
#Definition of the filters
tc filter add dev $interface protocol ip parent...
2004 Aug 04
10
htb and fw problems
...a classid 1:10
tc -s class show dev eth1
class htb 1:1 root rate 520Kbit ceil 520Kbit burst 2264b cburst 2264b
Sent 174465 bytes 1142 pkts (dropped 0, overlimits 0)
rate 712bps 5pps
lended: 4 borrowed: 0 giants: 0
tokens: 34107 ctokens: 34107
class htb 1:10 parent 1:1 leaf 10: prio 3 rate 160Kbit ceil 280Kbit burst 1803b cburst 1957b
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
lended: 0 borrowed: 0 giants: 0
tokens: 90199 ctokens: 55942
class htb 1:20 parent 1:1 leaf 20: prio 0 rate 40Kbit ceil 80Kbit burst 1650b cburst 1701b
Sent 115721 bytes 990 pkts (dropped 0, overlimits 0)
rate...