Displaying 20 results from an estimated 5000 matches similar to: "Rules OK (?), no filtering..."
2004 Jul 10
3
limiting doesn''t work
Hi folks,
I read the fantastic LARTC How-to and after that i tried to limit one
host in my LAN for both down-and upload bandwidth usage.
I took section 15.9. and added uplink-limiting as I understood it from
the previous chapters.
Unfortunately it doesn''t work.
I ran the script and went to the specified PC, started a download, and
watched the rate. The rate was always about 2000 kbit/s,
2002 Oct 16
3
flowid - classid ?
root@Delta:~# tc filter add dev ppp0 parent 1:1 flowid 1:5 protocol ip
Unknown filter "flowid", hence option "1:5" is unparsable
root@Delta:~# tc filter add dev ppp0 parent 1:1 classid 1:5 protocol ip
Unknown filter "classid", hence option "1:5" is unparsable
I don''t understand why it does not work. Can anybody explain me this problem?
--
2007 Dec 05
3
Adding qdiscs crashes kernel??
Hi all,
I''m having some problems setting up qdiscs on a bridge.The config looks
a little like this:
ifconfig ifb0 up # Bring up the IFB for this bridge.
tc qdisc add dev eth2 ingress
tc qdisc add dev eth3 ingress
tc qdisc add dev ifb0 root handle 1:0 cbq bandwidth 100Mbit avpkt 1000
cell 8
# Raw qdiscs on each bridge port
tc qdisc add dev eth2 root handle 1:0 cbq bandwidth
2004 Jun 28
0
Prioritizing interactive traffic does not work
Hello.
In short Linux Advanced Routing & Traffic Control HOWTO''s chapter
15.4. Prioritizing interactive traffic does not help me at all.
I have an asymmetric ADSL connection nominal 64Kbit in / 16Kbit out,
real (based on bulk transfers measures) 256Kbit/26Kbit. First thing I
would like to improve is to keep interactive (ssh) connection fast
even if uplink is full. The test I make
2007 Nov 20
3
Problem deleting tc rules
Hi all! :)
I see that this is partially covered in the mailing list archive
but at the moment I can''t find a straight & working answer.
I have an imq device with dynamically attacched classes/qdiscs/filters.
There is a hashing filter that maps the last octet of an user''s IP address
to a class (and associated qdisc). The "empty" filter looks like this:
filter
2005 Jan 19
3
tc limit
Hi
I have been playing with tc. I''m using htb and sfq. I tried to setup
shaping of every ip address within a /20.
I found that there must be an upper limit of about 2096 on the number
of rules (classes, qdiscs or filters). I was testing a /20 which gives
4096 classes, qdiscs and filters. I''m using hashkey to optimize
processing of frames.
When executing the script below - it
2007 Feb 03
0
Traffic goes not through filters.
Hi,
I think i have made an error with my filters but i can''t find it.
We have a site to site tunnel and want to separate the traffic in two
queues, http and business.
I''m now filtering on protocol 8080 prio 2 and ip range prio 1.
As i read the manual i''ve seen that the filters are executed by prio
means that all goes trough the buisiness queue because all traffic is
2004 May 08
2
PRIO qdisc with HTB
Hi,
I''m trying to use prio qdisc with htb, however not the "usual" way (like for
example FairNAT).
Here is my idea:
Root has HTB shaping traffic to link speed -> then goes PRIO queues -> each
prio queue has HTB with sublasses for each user, should look like this:
1: htb qdisc
|
1:1 htb class
2006 Oct 25
1
htb/iptables for ISP
Hello,
I''m working on a customized Linux firewall/router for a small/medium ISP
(1200 users) we have almost 4 ranges of internal IPs and i want to limit
each IP to a certain speed.
The problem is that i''m storing all info about the user including IP and
bandwidth rates on a MySQL server, then dump all the htb/sfq lines on a
file (which takes 3 minutes) and then i run these
2006 Jul 27
1
SRR qdisc
Hi all,
I wrote new qdisc SRR (Simple Round Robin). This is just another reimplementation
of round robin packets distributions. I''m not using SQF/ESFQ source code and
algorithms
in this scheduler. The main goal of this work is not given multistream download
managers
give all bandwidth resource.
Please testing this: http://mordor.strace.net/sched-srr/
--
/bye
2007 Aug 26
4
HTB doesn''t give me the promised rate: cpufreq?
Hi all :)
I''ve been using a tc setup for almost two years, but at some point
(probably when I switched to kernel 2.6.x, but I''m not sure) it has
started making something very weird.
For a certain class, the rate is 125000bit and the ceil is
270000bit, but the fastest rate I get is about 75-80000bit, instead of
the "promised" 125000, *with no other traffic in
2005 Dec 23
2
rate 0bit
Hi
I''m trying to understand this qdisc stats output:
#tc -s qdisc ls dev [interface]
[..]
qdisc htb 1: r2q 10 default 13 direct_packets_stat 38
Sent 3867654734 bytes 7023775 pkt (dropped 4, overlimits 4852340 requeues
0)
rate 0bit 0pps backlog 0b 11p requeues 0
[..]
In all my qdiscs, I''ve got "rate 0bit". What does it mean ? As you can
see, there is some traffic
2007 Jul 24
2
about default filter command
Hi,
here I have another newcomer question :-)
in the section 9.6.1 of this how too
http://tldp.org/HOWTO/Adv-Routing-HOWTO/lartc.qdisc.filters.html
we can read commands about filters :
------------------------------------------
# tc filter add dev eth0 protocol ip parent 10: prio 1 u32 match \
ip dport 22 0xffff flowid 10:1
# tc filter add dev eth0 protocol ip parent 10: prio 1 u32 match \
2003 Oct 04
2
htb errors, wrong patch?
I downloaded iproute2-2.4.7-now-ss010824.tar.gz and I did patched tc with
the htb3.6_tc.diff from htb3.6-020525.tgz and when I try to use a htb script
I get just errors. I did not patch the kernel, since I use kernel 2.4.21 and
I saw on - HTB Homepage that I need to patch it only if I run version 2.4.20
or earlier. Do also need the kernel patch ? Or maybe is something else
wrong?
RTNETLINK
2005 Jun 02
8
How many (htb) tc classes and qdiscs are too many?
We have a Linux box that is acting as the gateway to the internet for about
400 people, typically there are not more then 50 of them using the internet
at any given time. We would like to provide different levels of access to
different users. For example 128kbps to some users and 256kbps to others.
We have considered creating a class and qdisc for each user (using htb)
however we don''t
2007 Jul 26
2
Rép : about default filter command
Le 26 juil. 07 à 13:55, Georgi Alexandrov a écrit :
> Vincent Dautremont wrote:
>
>> Hi,
>> here I have another newcomer question :-)
>> in the section 9.6.1 of this how too
>> http://tldp.org/HOWTO/Adv-Routing-HOWTO/lartc.qdisc.filters.html
>> we can read commands about filters :
>> ------------------------------------------
>>
>> # tc
2005 Feb 06
2
problems with u32 fiter
hello to all
i''m trying to set a filter but doesn''t want to work.
i''ve set ut the qdiscs and the classes like this :
tc qdisc add dev ppp0 root handle 1: htb default 20
tc class add dev ppp0 parent 1: classid 1:1 htb rate 120kbit
tc class add dev ppp0 parent 1:1 classid 1:20 htb rate 30kbit ceil 120kbit
tc class add dev ppp0 parent 1:1 classid 1:21 htb rate 30kbit ceil
2003 Sep 04
3
CBQ Rate
Hi everyone,
This is on a linux box, ingress (eth1) at 100Mb/s and egress (eth0) at
10Mb/s. The purpose is to test CBQ
Here is my script
-------------------------------------------------------------------
# Root qdisc
tc qdisc add dev eth0 root handle 1:0 cbq bandwidth 9Mbit \
avpkt 1000 cell 8
# Classes
tc class add dev eth0 parent 1:0 classid 1:1 cbq bandwidth 9Mbit \
rate 5Mbit weight
2005 Jul 22
2
tc filter matching anything
Hey,
I have a problem adding a filter matching anything, here is my setup:
###############
tc qdisc add dev eth0 handle 1: root prio
tc qdisc add dev eth0 parent 1:1 handle 10: pfifo
tc qdisc add dev eth0 parent 1:2 handle 20: tbf latency 50ms rate \
128kbit burst 256kbit
tc filter add dev eth0 protocol ip parent 1:0 prio 1 handle 666 fw \
flowid 1:2
tc filter add dev eth0 protocol ip parent
2002 Nov 21
3
Problem with flowid filter example from howto
For simplicity, I tried this:
tc qdisc add dev eth0 root handle 1: prio
tc qdisc add dev eth0 parent 1:1 handle 10: sfq perturb 10
tc qdisc add dev eth0 parent 1:2 handle 20: sfq perturb 10
tc qdisc add dev eth0 parent 1:3 handle 30: sfq perturb 10
tc filter add dev eth0 protocol ip parent 1: prio 2 flowid 1:1
The last line prints:
Unknown filter "flowid", hence option "1:1"