Displaying 20 results from an estimated 1000 matches similar to: "dscp marking"
2005 Mar 17
0
cbq + gred doesn''t drop packets
Hi i have configured my server with cbq and gred. The
problem is that the cbq doesnt drop packets. The cbq
is configured at a rate of 500Kbit
"qdisc cbq 4: rate 500000bit (bounded,isolated) prio
no-transmit
Sent 100103048 bytes 73933 pkts (dropped 0,
overlimits 0)
borrowed 0 overactions 0 avgidle 24000 undertime 0
"
The traffic that being generated is more than 5Mbit
with the
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 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
2005 Jul 06
0
Diffserv using HTB or PRIO qdiscs as basis for EF phb
Im experimenting with using a Linux machine with 3 interfaces to operate
as a core router. All links and network interfaces are 100mbit. Below is
a ascii diagram of the network.
(network A) edge router ------>core router---->edge router (network C)
^
|
|
edge router
(network B)
I have tried two
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
2005 Dec 14
1
mgen & tc
Hello,
I have the following proplem. My DiffServ configuration is working fine
when I do ping, but when I use mgen the packets are not detected at the
core router.
Here is my core router configuration:
#!/bin/bash
tc qdisc add dev eth1 handle 1:0 root dsmark indices 64 set_tc_index
tc filter add dev eth1 parent 1:0 protocol ip prio 1 tcindex mask 0xfc
shift 2
tc qdisc add dev eth1 parent
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
2006 Apr 10
4
EF & AF filters with HTB
Hello all,
Please could someone help me with this, I have been trying for days to
get this to work. I would like to have BE, AF & EF classes with HTB
qdisc.
I can''t find any scripts online where this has been done.
If I enable this filter:
#tc filter add dev eth0 parent 2:0 protocol ip prio 1 \
#tcindex mask 0xf0 shift 4 pass_on
then BE & AF classification seems to be fine but
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
2002 Oct 01
0
will any one do me a favor to answer the question about tc_index value ?
hi all
i am a new commer of linux community.
i want to how does skb->tcindex value change
exactly. it confused me indeed.
i have a script reads:
(1) tc qdisc add dev eth0 root handle 1:0 dsmark indices 64 default_index 0x161 set_tc_index
(2) tc filter add dev eth0 parent 1:0 protocol all prio 1 tcindex mask 0xfc shift 2 pass_on
(3) tc filter add dev eth0 parent 1:0 prio 1 handle 0x0a
2007 Feb 28
1
Data rate with HTB
Dear all,
I''m making a script to implement DiffServ policies with HTB. Here it is :
if test $1 = "help" -o $1 = "h" -o $# != 5
then
echo "usage: ds.sh <DEVICE> <DS_RATE> <EF_RATE> <AF_RATE> <BE_RATE>"
exit
fi
DEV=$1
DS_RATE=$2
EF_RATE=$3
AF_RATE=$4
BE_RATE=$5
sync
tc qdisc del root dev $DEV
tc qdisc add dev $DEV root handle
2004 Dec 30
2
HTB + GRED (santa clauss plz help me out)
I ''ve been trynig for a long time now to make HTB and GRED to work togethen.
The problem beeing that GRED doesn''t use handles (instead it uses DP:1 DP:2
etc) i can not preperly filter traffic to them.
Tomas Graf suggested to use the tc_index index of u32 classifier
so dear Sant .. i am currently with the following scripts that works!
But when i try to add an HTB before the
2005 Jul 27
13
HTB and PRIO qdiscs introducing extra latency when output interface is saturated
Im using a Linux machine with standard pc hardware with 3 seperate PCI
network interfaces to operate as a DiffServ core router using Linux
traffic control. The machine is a P4 2.8ghz, 512mb RAM running fedora
core 3 with the 2.6.12.3 kernel. All links and network interfaces are
full duplex fast ethernet. IP forwarding is enabled in the kernel. All
hosts on the network have their time sychronised
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 Jan 30
2
FW: QoS extension to Net-SNMP
Hi.
I did send this to `jaazz@post.cz'', but I suspect the list is a more
appropriate/useful place for it. It''s a question about Michal Charvat''s QoS
extension to Net-SNMP.
When I look at the MIB entries for the QoS handles, I get something like
this -
enterprises.qos.qosObjectTable.qosObject.qosHandle.0.0 = Gauge32: 0
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;
2006 Jan 05
1
Adding dsmark qdisc fails
I ''m having a problem identical to one encountered on this list awhile
back:
>I''m trying to configure dsmark qdisc on 2.6.11.4 user mode linux and
>tc from iproute2-2.6.11-050314.
>
>
>I think I have some mismatch in my setup since adding dsmark qdisc
>fails *unless* I specify "set_tc_index" argument which I believe should
>be optional:
2005 Mar 20
3
Adding dsmark qdisc fails
I''m trying to configure dsmark qdisc on 2.6.11.4 user mode linux and
tc from iproute2-2.6.11-050314.
I think I have some mismatch in my setup since adding dsmark qdisc
fails *unless* I specify "set_tc_index" argument which I believe should
be optional:
# tc qdisc add dev eth1 handle 1:0 root dsmark indices 8
RTNETLINK answers: Invalid argument
Mar 20 13:00:50 user user.debug
2003 Mar 13
4
howto mark packet''s dscp value
Dear all
can anyone tell me how to mark packet''s DSCP value using tc?
Thanks.
Regards,
philip
--
Hong Kong IP Multicast Initiative (HKIPMI)
Department of Information Engineering
The Chinese University of Hong Kong
Phone : 2603 5240
Fax : 2603 5032
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl