Displaying 20 results from an estimated 10000 matches similar to: "u32 filter won''t match"
2002 Feb 28
6
basic htb setup
Hey all. I''m trying to set up QoS using the HTB qdisc in a very basic
setup, but it the example shown in the howto doesn''t seem to be working.
While the packets show up in the correct classes, they appear to be
completely ignoring the rates, meaning nothing gets shaped.
My setup is that I''ve got a a bunch of machines behind my firewall/router:
1.2.3.1
2002 Dec 03
4
Multiple classes
I''m trying to implement something similar the the diagram in section
9.5.2.1 in the LARTC HOWTO, but must have missed something somewhere :(
I''m trying to hack up wondershaper, as it looked like a good place to
start.. Here''s where I currently at, but I''ve tried alot of different
things, all failing, some worse than others. The end result is to throttle
back 126
2002 Sep 20
2
u32 filter question
Hi guys I have a config as follows for one of my networks. I want to give the xxx.xxx.xxx.xxx/xx network 64kbit for everything from the internet but 8000kbit from our internal servers on yyy.yyy.yyy.yyy/yy network. It does not work. I only want to use u32 filters. I think what's happening is the first flowid of 1:21 is catching them and not getting to the 1:40 flowid. Is this right? The box
2005 Jul 08
5
HTB Rate and Prio
Hi,
I wanted to implement some QOS on my Linux Box with HTB, but after some time
spend
on the configuration and tests, I still don''t manage to have some correct
results. Here are the details :
-ROOT 2000 kbits
-HIGHPRIO SUBCLASS 50 kbits prio 0
-SUBCLASS1 750 kbits prio 1
-SERVICE1 250 kbits prio 1
2002 May 08
5
how to clean "tc" configure
tc qdisc add dev eth0 root sfq perturb 10
I want to set perturb to 8
then i used this
tc qdisc add dev eth0 root sfq perturb 8
system give me the following message
RTNETLINK file exists
I delete the rule by this :"tc qdisc del dev eth0 root
sfq perturb 10"
please tell me how can i delete the rule by another
way
and where is "RTNETLINK file"
2003 Jun 12
11
htb problem
Hi,
I have some interesting problem with htb , I set up root class and
sub-classess:
$TC qdisc add dev eth0 root handle 1: htb
$TC class add dev eth0 parent 1: classid 1:1 htb rate 1990kbit ceil 2000kbit
$TC class add dev eth0 parent 1:1 classid 1:10 htb rate 190kbit ceil 200kbit
$TC class add dev eth0 parent 1:1 classid 1:11 htb rate 1400kbit ceil
1600kbit
$TC class add dev eth0 parent 1:1
2003 Jun 16
7
htb & bandwidth sharing
Hi everybody!
I''ve been trying with htb and tc filter. It seemed to work fine, but
after testing with ethloop I''ve realized that traffic is not being
distributed through the leaves as I thought. When sending packets to
1:10 and 1:11 at the same time, there''s no bandwidth sharing. There''s no
traffic through 1:11 until traffic through 1:10 has finished. Though
2004 Jan 23
2
htbinit and redhat-9.0
dear All,
I'm a new student and my job is too shapping bandwith for our campus faculty network.
I want to implement htb with Redhat-9.0 distro.
does this distro kernel support htb and tc good ? or i should apply some patch or upgrade kernel ?
regards
reza
2002 Jul 26
2
RTNETLINK answers: Invalid argument, fwmark
I''m using htb classes on my firewall to queue traffic and implement
different restrictions on different protocols.
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb default 190
tc class add dev eth0 parent 1: classid 1:3 htb rate 2mbit burst 30k
tc class add dev eth0 parent 1:1 classid 1:90 htb rate 50kbit ceil 384kbit
burst 5k
tc qdisc add dev eth0 parent 1:90 handle
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"
2002 Aug 07
11
pb with ingress policy
Hi !
I have a single host which is connected via an 512kbit ADSL link to the n=
et. I quite often use some realaudio application that uses some bandwidth =
and I want to avoid other traffic to scale that bandwidth down. So I used =
some classes (with htb) on imq0 device and applied some filters and it see=
ms to work in most cases. However, there are some sites with which downloa=
d is
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
2004 Jan 11
1
HTB rates aren''t enforced correctly
Hi!
I recently changed my qdisc from CBQ and PRIO to only HTB, and I can''t
really seem to get the rates to work as I want them to. I have eight
classes, which I set up as follows:
tc qdisc add dev eth1 root handle 1: htb default 122
tc class add dev eth1 parent 1: classid 1:1 htb rate 1000kbit ceil 1000kbit cburst 1500 burst 50kb
tc class add dev eth1 parent 1:1 classid 1:11 htb prio 0
2005 Oct 01
3
I gave up.-...-.-.-.- :''(
Actually i gave up, i tried and tried and tried so many times, upgrading software falling back to an old version
but it didn''t work, that''s it.
i can''t do work together tc with iptables and iproute2
when i mark a packet with iptables tc doesn''t recognize them so it falls at the default leaf of the tc''s tree
what i like is to mark packets depending on
2004 Aug 04
10
htb and fw problems
Dear All,
I''m using the kernel 2.6.6, iproute2-2.4.7.20020116, iptables v1.2.9, and gentoo.
I have a leased-line 64 kbps.
I can see the counter works in iptables, but in the htb, it doesn''t go to the right class (it always go to the default class).
Any help will be appreciated
here''s my htb conf
#!/bin/bash
tc qdisc del dev eth1 root
tc qdisc add dev eth1 root
2002 Oct 16
10
htb limiting trouble: no overlimit or dropped packets
Hi!
I''m trying to limit the uplink bandwidth using htb but no packets are
overlimit or dropped. :-(
My router config:
* Linux kernel 2.4.20-pre10 (htb v3.7) with everything built as
modules in QoS, iptables in use.
* tc binary from htb3.6-020525.tgz
* external interface eth0: Internet access, 512 kbit/s uplink speed
* internal interface eth1: internal LAN, 100 Mbit/s
The hosts in the
2004 Jan 13
2
Bridge + leased line + tc
Hi,
I can''t get traffic shaping working.
This is my situation:
-------- ------
Net1 ----- |router| -------------------- | TC | ----------- Net2
-------- leased line ------
eth1 eth0
We use the leased line for normal traffic but also for synchronisation
between 2 servers. The leased line is 2mbit. The synchronisation
2004 Sep 28
2
Shaping not working
Hi folks,
I''m trying to shape two clients in my LAN when accessing the internet.
Actual situation is that EVERY traffic goes into 1:40, so the client
which should fall into 1:30 does not get the lower uplink it should
have, but the uplink defined for the client defined as 1:30
When I disable the definition of 1:40, every traffic falls into 1:30
(except for the traffic defined to be in
2001 Dec 24
11
Traffic balancing by IP.
Hello all!
As far as I know that the traffic that will pass thru the router is balanced
so that all connections have the same privilegies. Is it possible to
configure the linux based router so that all computers will have the same
privilegies? I mean that if in default case full traffic is splitted by
connections, so I need to split it by users to prevent one user occupy all
traffic by starting
2001 Jun 19
3
RTNETLINK answers: Invalid argument
Hi all,
I have installed 2.4.5 kernel, Debian Potato.
my tc script:
#!/bin/bash
tc qdisc add dev eth1 root handle 20: cbq bandwidth 10Mbit avpkt 1000
echo root
tc class add dev eth1 parent 20:0 classid 20:1 cbq bandwidth 10Mbit rate \
10Mbit allot 1514 weight 1Mbit prio 8 maxburst 20 avpkt 1000
echo class
tc class add dev eth1 parent 20:1 classid 20:100 cbq bandwidth 10Mbit rate \
5Mbit allot