Displaying 20 results from an estimated 300 matches similar to: "filter hashkey without match"
2007 Jun 26
3
network simulator
I want to build a "network simulator", to create scenarios such as
delayed packets, lost packets, low bandwidth, or combinations of such.
This document has been helpful for everything except the bandwidth:
http://linux-net.osdl.org/index.php/Netem
There is some documentation here regarding bandwidth:
http://luxik.cdi.cz/~devik/qos/htb/
What''s the best documentation to read
2007 Jun 19
4
Why does this script noet work (bandwidth, tc en u32)
Hi,
Can anyone point me out where the script below is wrong?
All I want is that host 172.31.1.1 can only use 10 megabit. If I run
this script on the in-between router nothing happens (the host uses
still the full 100 mbit, tested with iperf) , so i assume that something
must be wrong....
#!/bin/sh
# LAN1 NIC
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb
tc class add dev
2007 Jul 02
8
Kernel Packet Traveling Diagram
Hi,
I find this diagram which details the kernel packet traveling :
http://www.docum.org/docum.org/kptd/
Is it up to date ?
I made some test and I put a DNAT rules in the PREROUTING table of an
interface and I attach it a ingress policy, the dst IP wasn''t changed. the
DNAT it isn''t yet make.
I''ve another question (I''m not sure is it the good mailing list), for
2002 Aug 12
3
Question on hashkey
Hi,
I''ve been working on hashing in tc for a month. Since
there are only a limited number of avaialbe example on
hashing, I''ll be appreciate if someone can my
questions as follows:
1.
tc filter add dev eth1 protocol ip perent 1:0 \
prio 5 u32 ht 800:: \
match ip src 1.2.0.0/16 \
hashkey mask 0x000000ff at 12 \
link 2:
It seems that the hashkey make can only applied to ip
2003 Nov 24
1
u32 filter divisor/hashkey
Hi,
I am trying to put together a hashing filter based on example provided in
LARTC how-to document.
I want to link two hashing filters together where first one will use 3rd
octet of an IP address as hashkey and second one will use 4th octet as hash
key.
How do I tell mask the address so that u32 filter uses 3rd octet as hashkey?
Venkatesh K
_______________________________________________
2003 May 07
0
u32 hashing bug?
I''m hashing on a non-octet boundary, and it doesn''t seem to be working.
I''ve got this set of filters, that does work:
# root
tc filter add dev eth1 \
parent 1: protocol ip prio 2 \
u32
# ht
tc filter add dev eth1 \
parent 1: protocol ip prio 2 \
handle 2: \
u32 divisor 256
# flow
tc filter replace dev eth1 \
2003 Dec 07
1
u32 hash-es ?
hi I would like to ask is the following config correct for what I want to achieve ...
Scenario:
I have 3 networks 192.168.12.0/24, 192.168.48.0/24, 192.168.56.0/24 and most of the users use 1 IP, some of them more...
If I make flat u32-filter search the box will make aprox/max 3 * 256 = 768 checks for every IP, so i''m deciding to deploy u32 hashes..
Here is the config I think to use
2004 Apr 06
1
hashing
Hi i have 2 class C 80.97.103.0/24 and 81.180.12.0/24 but i dont konw how
to set hashing tables for HTB
tc add dev eth0 parent 1: prio 0 handle 1: protocol ip u32 divisor 256
tc add dev eth0 parent 1: prio 0 protocol ip u32 match src 80.97.103.0/24
hashkey mask 0x000000FF at 12 link 1:
but i want 2 hashkey for 80.97.103.0/24 and for 81.180.12.0/24 can
somebody help me ?
2004 Jun 25
1
Hashtables major:minor and prio
I have a question about a few things:
ok when you have parent x:x and handle x:x link x:x flowid and so on. What is the
max values of each of these, also where these or some of these hex numbers? I tried
this on redhat 7.3 so there may have been some updates, but this is one of the tests
I did.
[root@RL1 root]# tc filter add dev eth0 protocol ip parent 1:0 prio 10 u32 ht fffe::
match ip dst
2004 Apr 06
0
hashing rule don''t match
Hi i have 2 class C 80.97.103.0/24 and 81.180.12.0/24 but i dont konw how
to set hashing tables for HTB
tc add dev eth0 parent 1: prio 0 handle 1: protocol ip u32 divisor 256 tc
add dev eth0 parent 1: prio 0 protocol ip u32 match src 80.97.103.0/24
hashkey mask 0x000000FF at 12 link 1:
but i want 2 hashkey for 80.97.103.0/24 and for 81.180.12.0/24 can
somebody help me ?
this is a part fo my
2006 Mar 14
0
[Fwd: Re: [PATCH] TC: bug fixes to the "sample" clause]
List admins. Can you fix the issue described below,
ie jamal''s posts to the lists bouncing, please?
-------- Forwarded Message --------
From: Russell Stuart <russell-lartc@stuart.id.au>
To: hadi@cyberus.ca
Cc: Stephen Hemminger <shemminger@osdl.org>, netdev@vger.kernel.org
Subject: Re: [PATCH] TC: bug fixes to the "sample" clause
Date: Tue, 14 Mar 2006 13:16:52
2005 Apr 20
1
deleting tc rules
Hi
I''m doing traffic shaping with tc on ''10.0.0.0/30'' and ''10.0.0.28/30''.
I want to delete part of shaping rules on the fly. (see my
configuration at the end of this mail)
I wan''t to delete the shaping for ''10.0.0.0/30'' on the fly while still
keeping the shaping for part ''10.0.0.28/30'' running.
When I for
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
2004 Jun 26
0
Hash table
Sorry for all the questions I''m just trying to understand how it all works. Thank
you for your time.
Is the following configuration possible? where ht 800 links to 3: for the 3rd Octet
in the IP and then 3: links to 4: for the fourth Octet?
tc filter add dev eth0 parent 1:0 prio 10 handle 3: protocol ip u32 divisor 256
tc filter add dev eth0 protocol ip parent 1:0 prio 10 u32 ht 800::
2014 Jan 21
0
[PATCH] builder: proper consider subkeys in index files
The index files already allowed the 'key[subkey]=...' syntax for keys,
but considering such string as whole key. Proper split the parsing and
the handling of the subkeys, so they can be searched a bit easier.
This causes no actual behaviour changes, it is just internal
micro-refactoring. (Thanks Rich for the hints, too.)
---
builder/index-parser-c.c | 15 +++++++++++----
2014 Jan 21
3
[PATCH] builder: proper consider subkeys in index files
The index files already allowed the 'key[subkey]=...' syntax for keys,
but considering such string as whole key. Proper split the parsing and
the handling of the subkeys, so they can be searched a bit easier.
This causes no actual behaviour changes, it is just internal
micro-refactoring.
---
builder/index-parser-c.c | 8 +++++---
builder/index-scan.l | 9 ++++++++-
2005 Jan 12
4
hashing filters
Hi all,
I am a newbie and I have not played a lot with tc utility. I have red maybe everything that has to do with massive filtering (maybe not everything). If you can help me on this I would appriciate that very much. I use tc utility with iproute2-ss040831.
I want to limit bandwidth for the 192.168.0.0/16 subnet using this script.
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root
2006 Feb 08
1
Divisor
What is the difference between lines below?
$TC filter add dev imq0 parent 1:0 prio 5 handle 1: protocol ip u32
divisor 1
$TC filter add dev imq0 parent 1:0 prio 5 handle 2: protocol ip u32
divisor 256
What divisor is doing?
And the last problem...
$TC filter add dev imq0 protocol ip parent 1:0 prio 5 u32 ht 800:: match
ip src 10.0.0.0/16 hashkey mask 0x000000ff at 12 link 2:
Why after ht
2005 Jul 06
2
Classid limit at 10000
Hi
I''m setting up shaping using HTB and hashkey. It seems like there is a
limit on the number of classid''s at 10000?
How can I go higher than 10000?
This is what my output say when I reach classid number 10000:
...
...
/sbin/tc class add dev eth0 parent 2:6 classid 2:9998 htb prio 5 rate
768kbit ceil 768kbit burst 0 cburst 0
/sbin/tc qdisc add dev eth0 parent 2:9998 handle
2006 Jan 08
2
HTB - not borrowing, not exceeding rate
Hello!
I have a quite complicated setup. In my network on each interface there is
bandwidth limitation for each user. Booth outgoing (on interface itself) and
incoming (attached IMQ) traffic. There is main HTB class which limits
bandwidth for whole interface and HTB subclasses for each user. Filtering is
done with hashing filters. This setup was working correctly.
But now in the network I