Displaying 20 results from an estimated 3000 matches similar to: "Hash table"
2005 Oct 28
0
Issues in setting up different priorities for the MAC match filter
Hi,
I am currently using TC for setting up user MAC based filters,and I am
seeing a problem when I try to assign different priorities to the MAC
Match filter apart from the root qdisc and parent class.
Here is my script.
/*****************************************************/
First of all I create the qdisc and class based on priority 2 and also
the Hash mask
tc qdisc add dev eth1 root handle
2005 Oct 17
5
TC show filter command shows all u32 filters defined with different priority iin all priority.
Hi,
I am currently working on the TC.
I have seen some behaviour which seems to be odd.
I know someone in the mailing list would have seen this problem or may
have some fix for this problem.
When I try to include u32 filters with different priority or pref, I
could see the filters being set on all the priority''s irrespective of
the priority number.
See my sample script below and the
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
2004 Jan 14
0
Problems while mixing protocols
Hello,
I''m trying to shape traffic by IP addresses and by 802.1q vlans.
But when I add 802.1q filter filters output looks strange.
Maybe I''m missing some options to TC?
Thanks,
Mindaugas
# ./bin/tc -s -d filter show dev eth0
filter parent 1: protocol ip pref 1 u32
filter parent 1: protocol ip pref 1 u32 fh 800: ht divisor 1
filter parent 1: protocol ip pref 1 u32 fh
2004 Jun 22
5
htb filter
Hello,
I have wrote some scripts to shape about 1000 workstations.
My config:
Pentium IV - 2GHz, 1Gb RAM, RedHat Enterprise Advanced Server 3, kernel 2.4.21-9.EL, iproute-2.4.7-11.30E.1
2 Gigabit Lan cards in bridge mode.
I use htb. Everything work fine, but I have troubles with showing running configuration.
# Init shaper root for dev eth0
tc qdisc add dev eth0 root handle 2: htb default 200
2005 Dec 09
0
error in TC FILTER documentation ???
I''ve done some tests with TC FILTER and his PRIO
and think that is an error or OMISION on TC FILTER DOCUMENTATION
from: http://lartc.org/howto/lartc.qdisc.filters.html#AEN1100
Let''s say we have a PRIO qdisc called ''10:'' which contains three
classes, and we want to assign all traffic from and to port 22
to the highest priority band, the filters would be:
2006 Apr 07
0
PRIO and u32 matching problem
Hi to everybody
I''m trying to use PRIO qdisc to prioritize the traffic but i have
strange problem maybe I''m missing sometging.
First i add root qdisc like this
tc qdisc add dev eth0 root handle 1: prio
it''s fine after this i try to match traffic by tos field but i get error
invalid match
tc filter add dev eth0 parent 1:0 prio 1 protocol ip u32 \
match ip tos 0x10 0xff
2005 Jan 27
1
question about filter priorities and "tc -d filter show" output
The interface is setup like this:
# tc qdisc del dev eth0 root
# tc qdisc add dev eth0 root handle 1: htb default 2
# tc class add dev eth0 parent 1: classid 1:2 htb rate 20mbit ceil 20mbit
If I add a second class and a filter to send traffic to it like this:
# tc class add dev eth0 parent 1: classid 1:130 htb rate 1Mbit ceil 1Mbit
# tc filter add dev eth0 protocol ip parent 1:0 prio 130 u32
2006 Jun 27
0
tc filter problems, please help...
Hi Guys,
I have a couple of problems that are driving me nuts.
This is the script I am using to setup restirctions and bw limitations:
#Adding root class.
tc qdisc add dev eth0 root handle 1: htb default 10 &>/dev/null
tc class add dev eth0 parent 1: classid 1:1 htb rate 100Mbit ceil 100Mbit
burst 2k quantum 1536
tc qdisc add dev eth1 root handle 1: htb default 10 &>/dev/null
tc
2003 Oct 31
2
tc filter oddities
I shape my upstream cable link with HTB from a script. My voip traffic
(from the 192.168.0.14 host) gets priority over everything else to the
near-starvation of other classes; the rest of the traffic is split up
based on some priority rules (qos, empty ack packets, etc). eth1 is the
uplink
I''ve been using HTB and fw marking for the job until recently, when I
changed the queue structure
2004 Aug 06
0
CBQ + 802.1Q VLAN
I need to shape traffic from some IP on one LAN, but I''m in trouble. There is a linux 2.4.26 connected to the Internet (eth0) / LAN(eth1) doing NAT. I''m using VLANs in the LAN Interface, that is connected to a 3Com SuperStack II in a 802.1Q tagged port.
I want to create a class that will limit the traffic at 384Kbit/s.
I want to create two leaf classes that limit the traffic at
2005 Oct 19
0
help for script add ip addresses dynamically
Hi,
I am trying to write a script that will create a class and will add specific Ip address to that class.
let me write commands:
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb default 12
tc class add dev eth0 parent 1 classid 1:1 htb rate 10mbit ceil 10mbit
tc qdisc add dev eth0 parent 1:1 sfq
tc class add dev eth0 parent 1:1 classid 1:21 htb rate 128kbit ceil 128kbit
tc
2007 Sep 23
0
Add U32 Filter with libnl
Hello,
I try to add a U32 source port filter with libnl. My filter can be
succesfully added with the library (no error occured) but the filter is not
active.
If I run "tc filter show dev eth0" I get:
filter parent 1: protocol ip pref 100 u32 filter parent 1: protocol ip pref
100 u32 fh 800: ht divisor 1 filter parent 1: protocol ip pref 100 u32 fh
800::800 order 2048 key ht 800 bkt 0
2007 Feb 17
4
Order of ''tc filer''
Hi
How can I control which filter a packet will meet first?
I have tried changing the order of applying the tc filter scripts and
switching flowid number, but ''protocol ip u32 match ip src <ip net>
match ip src 0.0.0.0/0'' always kicks in first?
>From my script
--------------------
# All traffic - Priority: Low
tc filter add dev eth0 parent 1:0 prio 2 protocol ip u32
2007 Oct 28
3
tc filter question
Dear all,
I have big question in my mind about "tc filter" sintax. If I give "tc -s -d
filter sh dev eth0" command, then the output is like below :
filter parent 1: protocol ip pref 1 u32
filter parent 1: protocol ip pref 1 u32 fh 800: ht divisor 1
filter parent 1: protocol ip pref 1 u32 fh 800::800 order 2048 key ht 800 bkt
0 flowid 1:2 (rule hit 21553629
success 37907)
2007 Jul 01
1
FW filter unused/unloaded ???
Hi all.
I''ve written a small htb script that uses U32 and FW (marked by IPTABLES) filters, but TC doesn''t seem to be using the "cls_fw.o" module !!!
I''m using redhat v9.0, kernel 2.4.8-20, iproute 2.4.7-7.
Here is my script:
==========================================================
#####################
#Interface definition
#####################
2002 May 31
0
Not marking using as simple configuration
Hello all,
I have a very simple configuration and I just can''t figure out why the
marking is not being done. I want to have all packets from 10.0.0.0/24 to
20.0.0.1 marked as EF traffic. What could be wrong?
Any help or ideas would be really appreciated.
Thanks,
Mario.
----------------------------------------------------------------------------
----------------------------
./tc qdisc
2002 Dec 04
3
HTB/IMQ troubles (probably)
Hello,
I use HTB with linux-2.4.20-ac1 and iptables-1.2.7a (pathced for IMQ).
I configured one HTB qdisc on an IMQ device. This qdisc has some classes
(about 5) and all of the classes has qdisc pfifo.
I sometimes got out from my linux (while I was working) and I found in
logs:
Dec 4 11:49:27 core kernel: HTB init, kernel part version 3.7
Dec 4 11:49:28 core kernel: HTB: quantum of class
2007 Jun 27
1
Deleting a tc filter rule
Hi,
I am very new to tc. I added a filter using the following command:
tc filter add dev eth0 V parent 20:0 protocol ip prio 1 handle ::128 u32
match ip tos 0x44 0xfc flowid 20:1
To check if the filter rule was indeed added, I run
tc filter show dev eth0 parent 20:
This gave me the following output:
filter protocol ip
2005 Oct 14
0
tc filter not filtering -or- what am I going wrong?
Dear All
I am trying a very simple set up: (a bit long message follows)
#Flush previous definitions
$TC qdisc del dev $VVNET root >&/dev/null
$TC qdisc del dev $INTERNET root >&/dev/null
$IPT -t mangle -D PREROUTING -i $INTERNET -d 200.231.56.0/24 -j IMQ --todev 0
# Mothers off all disciplines
$TC qdisc add dev $VVNET root handle 1: htb default FFFF r2q 1
$TC qdisc add dev