similar to: dsmark qdisc does not go without set_tc_index

Displaying 20 results from an estimated 2000 matches similar to: "dsmark qdisc does not go without set_tc_index"

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
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 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
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
2002 Jun 11
1
unknown qdisc "dsmark"
hi, I''m a beginner with qdiscs and other lartc stuff. After reading the howto and other related documents (i.e. some papers about linux and diffserv), I decided to start with some test. I found some example script to implement simple diffserv using dsmark, but, just after the first command: tc qdisc add dev eth1 handle 1:0 root dsmark indices 64 set_tc_index the system answered:
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 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 Mar 25
3
These tc commands used to work... what''s broken them?
I have a Gentoo Linux (kernel 2.6.11) server. Several months ago, I made a traffic shaping setup for my box (running a 2.4 kernel then) that worked beautifully. It gave high priority to SSH and RealAudio traffic, and put HTTP downloading traffic on a lower prio so they could only use what bandwidth was left. However, I''ve only just realized that tc is no longer accepting the commands I
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
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
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 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
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
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;
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
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 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 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
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