Displaying 20 results from an estimated 1000 matches similar to: "DSCP marking at core"
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
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
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
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 ]
>
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
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
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
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
2005 Feb 16
9
DSCP, ToS and Egress
I''m successfully using HTB + GRED to shape traffic based on the DSCP field. I
would like to strip the DSCP and possibly replace it with normal ToS bits on
egress traffic leaving my network. Leaving DSCP set is pointless, and could
potentially cause problems with some ISPs that use DSCP internally I suppose.
Setting ToS bits would seem ideal as most networks still honor it to varying
2007 Mar 05
0
QoS IP precedence and Diffserv combination
All:
I am tasked with creating an environment in which DiffServ and IP
precedence is handled as close to RFC specification as possible. I have
a few problems with implementing this based on current queueing
structure. Here are a few of my questions.
1.) Is there any way to get DiffServ AF drop levels without using
DSMARK and GRED?
Ex.
AF11 Gred DP 1
AF12 Gred DP 2
AF13 Gred DP 3
2.)
2003 Feb 02
0
question about ingress police
Hi stef and all
I want measure the policy perfomance for video traffic on mpls diffserv
network. there are two different polices for video packet
1. Video packets that are marked that are over the limit are to be
rejected at the edge router.
2. Video packets that are marked that are over the limit are to be
downgraded as best effort and are sent through.
Before video enter my mpls
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 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 Oct 23
0
error making htb example
Newbie here...
tcng version 10b
I''m just learning about htb and using tcng. I am trying to make the
example in
Martin A. Brown''s Traffic Control with tcng and HTB HOWTO v0.5
example 2
/*
* Simply commented example of a tcng traffic control file.
*
* Martin A. Brown <mabrown@securepipe.com>
*
* Example: Using class selection path.
*
* (If you are reading the
2004 Oct 04
0
building module with tcng
hi all,
i''m having problems building a module from my tcng configuration file.
could someone verify the syntax for building a kernel module?
i did it as shown below ... module gets built but i cannot load it.
thanks
charles
ps -- sorry, don''t know c++ :-)
[root]# cat /etc/tcng.test
#define LAN "eth0"
#define LAN_INGRESS 750000
#define LAN_EGRESS 750000
dev
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
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
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 ... ->