Displaying 20 results from an estimated 10000 matches similar to: "Marking packets with IP Options field"
2007 Aug 06
4
Marking and remarking of incoming traffic
I can use DSMARK to mark on the Egress side. Is there a way to
mark/change the DSCP value of an incoming packet on the ingress side?
Thanks.
Jon Flechsenhaar
Boeing WNW Team
Network Services
(714)-762-1231
202-E7
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
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 ]
>
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
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
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
2006 Jul 28
2
Problem with iptables with -j TOS and MARK
Hy,
I would want to mark the packets that are entering in a machine, with a
mark for using diffserv with DSMARK.
My machine has 2 interfaces, a ethernet and a wireless. The ethernet
interface is eth1 and the other is wifi0.
Firs, I would want to test that I would be able to mark the tos of the
paquets that I would be receiving, for this I write in the console of my
linux:
iptables -A
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''
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 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:
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
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 May 30
4
Very simple traffic shaping script for H.323
Hello -
What I want to do seems very simple - I want to make sure any H.323
traffic gets processed before anything else entering or leaving this
network. The network has a videoconferencing device on the LAN at
192.168.16.4. A Linux firewall NATs an external IP Address to this
internal address and I have appropriate SNAT and DNAT rules that work.
The NAT and connection tracking rules all work
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
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
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
2003 May 07
4
dsmark, unkown
Hi,
I want to use the dsmark, but it always says: "unkown qdisc", although I
have enabled it (y in Network options), and I have my kernel recompiled.
I am using SuSE 8.1, 2.4.20 Kernel, tc available at the HTB site (with
already precompiled HTB queue).
Can anybody find the problem?
thx
_________________________________________________________________
MSN 8 helps eliminate e-mail
2002 Dec 06
0
u32 filter
Hello!
What is the significance of "handle" in a u32 filter??
For example, if I have a HTB class 1:1 and three child classes 1:11, 1:12,
and 1:13. Within 1:11, I define dsmark, say 2:0, and let it mark packets
with certain DSCP. Now, using the u32 filter I need to classify packets of a
certain flow (e.g., based on src ip address and dest port), then can someone
give me an example of
2006 Apr 12
1
dsmark qdisc does not go without set_tc_index
Hi all!
Anyone got the same problem?
If I:
tc qdisc add dev eth0 handle 1:0 root dsmark indices 4
set_tc_index
it works fine.
If I:
tc qdisc add dev eth0 handle 1:0 root dsmark indices 4
it says:
RTNETLINK answers: Invalid argument
I just don''t need that set_tc_index stuff for marking.
Ferenc
__________________________________________________
Do You Yahoo!?
Tired of spam?