similar to: Wondershaper and DSCP

Displaying 20 results from an estimated 2000 matches similar to: "Wondershaper and DSCP"

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
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
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
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
2002 Oct 15
1
Réf . : Re: trying to use wondershaper on a dedicated line (not adsl)
here''s the output : # tc -s -d class show dev eth0 class cbq 1: root rate 10Mbit cell 8b (bounded,isolated) prio no-transmit/8 weight 10Mbit allot 1514b level 2 ewma 5 avpkt 1000b maxidle 23us Sent 294 bytes 7 pkts (dropped 0, overlimits 0) borrowed 0 overactions 0 avgidle 605 undertime 0 class cbq 1:10 parent 1:1 leaf 10: rate 100Kbit cell 8b prio 1/1 weight 100Kbit allot 1600b
2006 Jan 08
1
unexpected drop
Hello everybody, I have a Linux router with an ethernet adapter and a ADSL device. My router has a GRE tunnel connected to a remote IP address. Using "tc" I have configured 3 different classes: 1. 290kbit rate (used for Voip Services) 2. 180kbit rate (used for GRE tunnel) 3. 80kbit rate (for generic data traffic) For each class, using "iperf", I send some data from a PC
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
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
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
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 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
2005 Jul 02
0
Bandwidth shaping script appears to incorrectly halve the bandwidth
Hi, I''m trying to modify the Wondershaper script so achieve the following. 1. Prioritize traffic to the few IP addresses. 2. Everyone else should get a fair amount of bandwidth The problem I am facing is when I run this script is that the bandwidth seems to get halved. I tried to apply this script to a site where the upstream and downstream were fully saturated. I immediately saw
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
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 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
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
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
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