Displaying 20 results from an estimated 3000 matches similar to: "Trying understand the HTB"
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
2007 Feb 21
1
Problem with HTB and outgoing traffic
Hello,
I''m using a script with tc, to limit my outgoing traffic :
tc qdisc add dev eth0 root handle 1: htb
tc class add dev eth0 parent 1: classid 1:1 htb rate 500kbit burst 6k
tc filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip dst
172.28.54.9 flowid 1:1
I want to test bandwidth with iperf to see if limitation is correct.
Sometimes, I get correct measure for certain rates,
2007 Mar 28
2
strict priority
I''m trying to configure 4 queues with strict priorities based on DSCP.
I tried to following commands, but it seems that the filters I defined
have no effect
tc qdisc add dev eth0 root handle 1: prio bands 4
tc qdisc add dev eth0 parent 1:0 handle 10: pfifo limit 100
tc qdisc add dev eth0 parent 1:1 handle 20: pfifo limit 100
tc qdisc add dev eth0 parent 1:2 handle 30: pfifo limit 100
tc
2007 Feb 18
3
prio not seeming to work
Hello,
I am trying to mess with a prio type qdisc, and must be missing something.
Here''s my sample code:
tc qdisc add dev eth0 root handle 1: prio
tc filter add dev eth0 parent 1:0 prio 1 protocol ip u32 \
match ip dst 208.0.0.0/8 flowid 1:1
tc filter add dev eth0 parent 1:0 prio 3 protocol ip u32 \
match ip dst 0.0.0.0/0 flowid 1:3
I would assume that any traffic going to
2006 Oct 11
1
HTB_HYSTERESIS
All:
I have been told that HTB_HYSTERESIS might have some effect on rate
calculations. This file is usually in
/usr/src/linux/net/sched/sch_htb.c. If I change this file I have to
re-compile. I am not quite sure how to do this.
Can someone list the steps necessary to re-compile or point me to a doc
that explains how to do so. Thanks.
Jon Flechsenhaar
Boeing WNW Team
Network Services
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
2007 Jun 06
4
how hierarchical is HTB?
Hi there!
I''ve using HTB for a while and now I an faced with a ''problem''.
How hierarchical is HTB?
Let''s say I have this 3 layer HTB setup:
root class 1: (rate=100, ceil=100)
1: children classes 1:10 (30,100) and 1:20 (70,100)
1:10 children classes 1:100 (10,100) and 1:101 (20,100)
1:20 children classes 1:200 (30,100) and 1:201 (70,100)
I managed to have
2006 Sep 27
1
HTB root rate allowing to much of a burst
Please see below
Jon Flechsenhaar
Boeing WNW Team
Network Services
(714)-762-1231
202-E7
-----Original Message-----
From: Flechsenhaar, Jon J
Sent: Wednesday, September 27, 2006 10:30 AM
To: lartc@mailman.ds9a.nl
Subject: FW: [LARTC] 2.6.14 - HTB/SFQ QoS broken?
Please see below
Jon Flechsenhaar
Boeing WNW Team
Network Services
(714)-762-1231
202-E7
-----Original Message-----
From:
2005 May 04
4
HTB rate miscalculation
Hi,
I''ve migrated my tc configuration from CBQ to HTB.
One problem appeared. Htb seems to miscalculate the bandwidth for classes
with greater rates.
For rates below 2Mbit there is almost no difference between the configured
and the measured rate.
For large ones the problem starts. My root class has 10Mbit rate and when
the interface has heavy trafic the measured bandwidth
2007 May 03
2
HTB and burst...
Hey everyone,
For some reason my htb configuration isn''t allowing any class to burst
up to its ceiling ever, even when the link is only being utilised by one
class that class only ever gets its assigned rate and exactly that
assigned rate...
The hierarchy I have is 1: at the root with no default, then 1:2 and 1:3
under that, both with assigned rates, then 2: and 3: under those
2007 Jan 19
3
HTB? (NEWBIE)
Hi to all
I am studying HTB on LARTC how to. I realize a simple configuration on
router:
tc qdisc add dev eth0 root handle 1: htb default 30
tc class add dev eth0 parent 1: classid 1:1 htb rate 3mbit burst 15k
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 2mbit burst 15k
tc class add dev eth0 parent 1:1 classid 1:20 htb rate 1mbit burst 15k
tc qdisc add dev eth0 parent 1:10 handle 10: sfq
2006 Oct 18
2
Errors with GRED after upgrading to 2.6.18 kernel
ALL:
<<diffserv-gred_10-06>>
I have attached the current script that I am using.
$TC qdisc add dev $EDEV parent 2:20 gred setup DPs 3 default 2 grio
$TC qdisc change dev $EDEV parent 2:20 gred DP 1 limit $lim min $minTh
max $maxTh avpkt $avgPL burst $bursty bandwidth $netBand probability
0.02 prio 2
$TC qdisc change dev $EDEV parent 2:20 gred DP 2 limit $lim min $minTh
max
2001 Jun 19
3
RTNETLINK answers: Invalid argument
Hi all,
I have installed 2.4.5 kernel, Debian Potato.
my tc script:
#!/bin/bash
tc qdisc add dev eth1 root handle 20: cbq bandwidth 10Mbit avpkt 1000
echo root
tc class add dev eth1 parent 20:0 classid 20:1 cbq bandwidth 10Mbit rate \
10Mbit allot 1514 weight 1Mbit prio 8 maxburst 20 avpkt 1000
echo class
tc class add dev eth1 parent 20:1 classid 20:100 cbq bandwidth 10Mbit rate \
5Mbit allot
2007 Feb 17
3
Two ADSL links and one gateway only
Hello!
I read the Split access and Load balancing sections into LARTC
(Chapter 4). However I have one gateway only and the LARTC says about
2 links. I need to know how to make a load balance with my links.
Thanks in advance.
Eriberto - Brazil
2004 Oct 18
11
IP based bandwith limit
Hi,
i''ve following problem. One of our gateway router, which connects some
of our customers should have bandwith limit.
So customer A with IP XX should have 2 Mbit, customer B with IP YY
should have 10 Mbit. There is no need of borrowing bandwith so no
fairness needed.
My simple question: with which technique should I manage this shaping?
Or is there any existing project which
2007 Feb 18
3
Modifying traffic shaping rates according to the amount of active users
Hi,
I''m trying to divide my bandwidth between different services, but I''d like
to take into account the number of active users.
For example, l want divide my bandwidth between HTTP and SMTP and guarantee
HTTP 80% of the bandwidth.
However, I have many users on my system (tens of thousands) and if only 1%
of my active users are using HTTP (and the other 99% SMTP), I''d
2006 May 20
2
FATAL: Could not open ''System.map''
Hello all,
I downloaded the linux-2.6.16.16.tar.bz2 (www.kernel.org) and
xen-3.0.2-src.tgz. I tried on Debian:
# tar -xvzf xen-3.0.2-src.tgz
# tar -xvjf linux-2.6.16.16.tar.bz2
# cd xen-3.0.2-2
# mkbuildtree ../../linux-2.6.16.16
# cd ../../linux-2.6.16.16
# make menuconfig (I made a basic configuration)
# make-kpkg --append-to-version=-686-xen --revision=1.0 -us -uc
kernel_image
However
2007 Mar 06
1
QoS prio queuing
Is there anyway to actually see packet stats or that packets are for
sure going into a prio queue with TC?
I can see all the HTB stats but the prio classes just list as being
there...would like more information
Basically I have the following setup
DSMARK
|
HTB - (tcindex filter on TOS)
|
Prio (u32 filter on TOS)
Thanks
Jon Flechsenhaar
Boeing WNW Team
Network Services
2006 Dec 11
1
Limit pps not just bandwidth (kbps) on ingress
I want to limit pps (packets per second) not just bandwidth on the
ingress side. I can do this using IP tables but I''m curious if there is
a way to do this with TC.
Thanks.
Jon Flechsenhaar
Boeing WNW Team
Network Services
(714)-762-1231
202-E7
2006 Jan 04
3
TC/CBQ shaping problems
Hello everyone,
I''m a newbie experimenting with CBQ shaping and am facing a few problems.
Can any of you please help?
TEST SETUP:
+---------------+ +----------------+
| 10.0.0.103 |----------->| 10.0.0.102 |
+---------------+ +----------------+
10.0.0.103: Linux, 100Mbit/s NIC
10.0.0.102: Windows, 100Mbit/s NIC, iperf tcp server (ports 2000 and 2001)
WHAT I