Displaying 20 results from an estimated 5000 matches similar to: "u32 filter"
2003 Jan 28
1
Marking packets with IP Options field
Hello!
In our experiment, we are trying to mark IP packets at a source host. Some
of these packets have a 28-byte "IP Options" field, hence a 48-byte IP
header. We observed (using ethereal) that the tc script at the source
appropriately marks the packets that DO NOT have an "IP Options" field
(i.e., regular 20 byte header), however, all the packets with the "IP
2004 Jun 13
0
DSCP marking at core
Hi,
I want to setup core routers to do both DSCP marking
and to get the DSCP and forward packets based on DS
field. I don''t want to separate DSCP marking to be
done only at the edge routers.
I know that dsmark is both used for DSCP marking and
for getting the DSCP and forwarding packets according
to DSCPs. In my case, since I want to do both of these
I need two dsmarks.(?) I am not
2006 Jan 06
1
Wondershaper and DSCP
Did anyone ever answer this one? THIS is what I am trying to do:
>[LARTC] cbq+sfq and DSCP marking
>Maria Joana Urbano stmaria@dei.uc.pt
>Thu, 13 Feb 2003 19:29:42 +0000
>
> * Previous message: [LARTC] Monitoring....
> * Next message: [LARTC] two routes 1 network card
> * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>
2004 Apr 08
0
How to DSMARK locally generated traffic and then apply AFHTB?
Hi fellow traffic-shapers,
I am implementing a Diffserv CORE router using Linux kernel 2.4.18. I used
this excellent website (http://www.opalsoft.net/qos/DS-38.htm) using AFHTB
as a starting basis for my EGRESS diffserv implementation - and all works
great so far!!!
But my project has an additional requirement. There are services running
locally on the router which are sending/receiving IP
2004 Sep 06
0
example/dsmark+policing => tcsim outputs are different
Hi folks
I have created a script file (dsmark+policing.sh attached) to check graphic
an text outputs of simutations, against original examples/dsmark+policing
coding (see TCNG Reference Manual-pg.90).
It uses tcng coding (*.tcsim file attached) and old tc coding (*.tcsim_old
file attached) inserted in tcsim files.
Observation 1: The graphic outputs from (*.tc included in *.tcsim) and
(*.tc_old
2004 Apr 05
0
dsmark and HTB
Hello!
I have some trouble with dsmark qdisc.
I''d like to set DSCP value of my outgoing packets and add a rate
limit to each one.
I learned HTB and dsmark. They work properly, but I can''t combine them
like this:
tc qdisc add DSMARK handle 1:0 ...
tc class modify 1:1 ...
tc class modify 2:2 ...
...
tc qdsic add parent 1:1 HTB ...
tc qdsic add parent 1:2 HTB ... ->
2004 May 31
0
dsmark qdisc in tc(iproute2)
hi,
i am currently working on a project on "design of diffserv testbed
in linux". i am using tc utility of iproute2 for it. The qdisc dsmark used
for marking the DS codepoint at the first hop router makes number of classes
depending on the indices given in the command. But i am not clear how at
the first hop router does scheduling takes place. what i mean is if i have
two flows, whose
2001 Jan 17
0
dscp marking
I want to set the DSCP field of the incoming packets. And then put them
in the correct queues.
I can mark the packets:
iptables -A OUTPUT -t mangle -d 10.10.10.12 -j MARK --set-mark 1
tc qdisc add dev eth0 handle 1:0 dsmark indices 64 set_tc_index
tc class change dev eth0 classid 1:1 dsmark mask 0x3 value 0xb8
tc filter add dev eth0 parent 1:1 protocol ip prio 1 handle 1 fw
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
2006 Jan 10
2
Gred/dsmark/htb
Hi, I am trying to get assured forwarding/expedited forwarding with gred and htb working. Below is the script I am using.
The following steps are what I thing is how the script works. My problem is that if I remove the HTB qdisc from the script and have the GREDS parent as the dsmark it works, but when I add the htb as a parent of GRED and DSmark the parent of htb it does not work?
Any
2001 Jan 11
0
ingress DSCP marking
I want to set the DSCP at the ingress of the router.
I tried the following:
iptables -A OUTPUT -t mangle -d 10.10.10.12 -j MARK --set-mark 1
tc qdisc add dev eth0 handle ffff:0 ingress dsmark indices 64 set_tc_index
tc class change dev eth0 classid ffff:1 dsmark mask 0x3 value 0xb8
tc filter add dev eth0 parent ffff:1 protocol ip prio 1 handle 1 fw
classid ffff:1
But the DSCP
2001 Mar 25
0
Marking at egress? (DiffServ)
Hi all,
Supposedly my router is itself streaming traffic to clients. Is it possible
for it to mark its packets before going through dsmark??
I have gone through the examples in iproute2/examples, i noticed that
there''s always an ingress and egress of which these are 2 different dev. Is
it possible for before ingress and egress be the same dev??
I tried the script below but
2007 Apr 25
0
problem with prio qdisc and tcng
Hello Mailing list,
I have a problem with the prio qdisc and I donĀ“t know what is wrong in my
configuration
This ist a sample configuration and looks like this:
#include "fields.tc"
#include "ports.tc"
#define X16(i) i i i i i i i i i i i i i i i i
dev ppp0 {
dsmark {
prio(bands 6, priomap X16($be)) {
class if ip_proto == IPPROTO_UDP;
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
2003 Oct 12
1
couldn''t get available bandwith
Hello all.
We have three tunnels over the internet between our "central" gateway and
some branch office gateway.
Each gateway has eth0 on its LAN an eth1 on the internet. We use DSL lines
and eth1''s have the internet IP directly attached on it. Each gateway, also,
acts as iptables NAT gateway.
The outgoing bandwith is 300 kbit, and we tried this (i.e.) on each tunnel:
tc
2003 Aug 18
1
Remarking non conformant packets as AF13 from AF11
Hi,
I am trying to implement a simple scaled-down version of the AF traffic
class type. As such I basically want to remark non-conforming AF11
packets to AF13. Here is m script that I have been using on the ingress
router of my network:
----------------------------------------
Link=''dev eth1''
Rate1=''rate 800Kbit''
Rate2=''rate 2500Kbit''
2007 Jun 26
2
classification of incoming traffic with tc
Hi all,
Another requirement we have is that traffic entering the DS domain be
classified then subsequently assigned a (different?) DSCP based upon its
classification.
For illustrative purposes only let''s say (for traffic entering the DS domain
on dev eth0):
- WWW traffic would be marked BE
- traffic destined for 10.10.10.10 would be marked AF11
- VoIP traffic from 20.20.20.20 would
2005 Jun 24
0
wfq scripts needed help
hai all
i need to implement CBWFQ in linux
As i wrote script in edge as:
which mark the EF traffic
____________________________________________________________________-__
#!/bin/sh
DEV=eth0
tc qdisc add dev $DEV handle 1: root dsmark indices 8
tc class change dev $DEV classid 1:1 dsmark mask 0x3 value 0xb8
# making two filters
tc filter add dev $DEV parent 1:0 prio 4 protocol ip u32
tc
2006 Apr 07
0
"action pass random determ/netrand reclassify --value--": granularity problems
Hi all!
I''m trying to do proportional marking of real-time traffic to indicate link congestion, and for that, I wish to use the DSMARK filter to mark from, say EF to 0xcc. (an unused DSCP value)
By proportional, I mean, if congestion on the egress link is, say 38%, then I shall remark 38 packets of every 100 leaving eth0.
I already wrote some scripts, and I can measure the overload
2006 Mar 30
5
packet marking: only a ratio, not all
Hi all!
In short:
Anybody wrote a patch for DSMARK to make it capable of marking
only a ratio (a given arg to the tc command) of the packets it gets?
Say, 20%? Or, do I have to hack into the source? Alternatives,
like a filter spitting packets to 2 different DSMARK based on this ratio?
In long:
I''m a hungarian univ student involved in a project (RMD-QoS stuff)
which needs