Displaying 20 results from an estimated 6000 matches similar to: "HTB + speed a bit lower than what shaped to"
2005 Jun 18
6
htb child classes don''t borrow form "parent''s parent class" :(
Dear list,
I have the problem that child classes don''t seem to issue the parent
class to borrow from their parent.
This is a simplified version of my script:
tc qdisc del dev $DEV root
tc qdisc add dev $DEV root handle 1: htb default 10
tc class add dev $DEV parent 1: classid 1:1 htb rate 10mbit
tc class add dev $DEV parent 1:1 classid 1:10 htb rate 1kbit ceil
512kbit
#groups
tc
2006 Jan 12
1
tc class class id problem Limitation
Hello,
I have been working on tc class . But when the classid reaches 5 digit ,
it DOES NOT ACCEPT THAT ...
see the example below ::
tc class add dev eth0 parent 10:36 classid 10:13310 cbq bandwidth 10Mbit
rate 32Kbit allot 1514 weight 3.2Kbit prio 5 maxburst 20 avpkt 1000 bounded
See the bold digit !! this command doesn''t work , but if i use with 4
digit then it works :
tc class
2005 Mar 14
1
htb.init issues
Hi!
Here''s what I want:
root class 0010
premium parent class 1000
premium child classes 1xyz
best-effort parent class 2000
best-effort child classes 2xyz
default class 3000
Here''s how I do it:
eth1:
DEFAULT=3000
eth1-0010.root:
RATE=100Mbit
LEAF=sfq
eth1-0010:1000.premium
CEIL=352Kbit
RATE=352Kbit
PRIO=2
LEAF=sfq
eth1-0010:1000:1xyx.child1
CEIL=32Kbit
RATE=8Kbit
2004 Jan 18
2
HTB + ESFQ in nat router for shape incoming by ip
Hi, i´ve read about this problem but i didn´t find any solution.
I have a router with nat like that:
internet - eth0 - Router - eth1 - Lan
I made a htb script for shaping outgoing in eth0 and it works great. The
problem begin with the incoming traffic... Like other people said, when
somebody in the lan uses the tipical download accelerator, the line is
out because the bandwidth is divided by
2003 Jun 12
11
htb problem
Hi,
I have some interesting problem with htb , I set up root class and
sub-classess:
$TC qdisc add dev eth0 root handle 1: htb
$TC class add dev eth0 parent 1: classid 1:1 htb rate 1990kbit ceil 2000kbit
$TC class add dev eth0 parent 1:1 classid 1:10 htb rate 190kbit ceil 200kbit
$TC class add dev eth0 parent 1:1 classid 1:11 htb rate 1400kbit ceil
1600kbit
$TC class add dev eth0 parent 1:1
2005 Dec 22
5
control p2p upload bandwidth rate
Hi all,
I am running Slackware 10.1 with Kernel 2.6.14.3 includes iptables 1.3.4
with layer 7
My network diagram below: -
INTERNET --- LINUX_ROUTER_FW --- PCs
Below is my simple iptables script: -
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables -t mangle -A POSTROUTING -m layer7 --l7proto applejuice -j MARK
--set-mark 1
iptables -t
2005 Jun 30
4
HTB: shaping internet bandwidth but don''t shape local network traffic
i got this problem, i want to shape my clients internet bw, but i
don''t want to shape my local network traffic. For information, my
clients using wireless to connect to my router[192.168.1.254].
when the clients request data from internet, example download from
www.download.com, i want to shape his bandwidth, but when the clients
[192.168.1.1] want to download from my file server example
2007 Nov 28
5
tc doesn''t shape correct
Hi All,
I''m configuring my natting-firewall to do some tc shaping. Some traffic
has to be shaped on 30mbit, some on 10mbit all the others are unlimited.
The configuring and filtering works correctly. The traffic that is
shaped at 30mbit is correct, but the traffic that is shapped at 10mbit
only gets to 100KB/sec.
It is on a device configured with bonding (both in and out interface).
2003 Jul 18
2
HTB + BRIDGE QUESTION!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! HELP!!!!!!!!!!!!
Hi everybody!
I am very glad to get htb test information from www.docum.org for the htb performance.
Today, I setup a bridge using brctl. my setup as following:
192.168.2.26 | | |
|------------- | HTB+BR box |-------- 192.168.2.18
| eth0 | | eth1
192.168.2.29 | | |
I want to limit
2005 Jul 06
1
HFSC default upper-limit trouble
Hello,
I''m having such problem with HFSC with following config:
+ tc qdisc del dev eth3 root
+ tc qdisc add dev eth3 root handle 1: hfsc default 2
+ tc class add dev eth3 parent 1: classid 1:1 hfsc ls rate 512kbit ul
rate 512kbit
+ tc class add dev eth3 parent 1:1 classid 1:2 hfsc ls rate 2kbit ul
rate 400kbit
+ tc class add dev eth3 parent 1:1 classid 1:3 hfsc ls rate 32kbit ul
rate
2005 Jul 20
5
Transfer rate above the desired (tc+htb)
Hi folks.
I started to play with tc+htb last week, and I must confess that this
thing is really driving me nuts.
All we want to do is control bw, with no borrowing.
In order to get the feeling on this subject, I have setup the
following test bed.
---A---B---C---
On B: eth0 connecting A and eth1 connecting C.
The script.
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb
2005 May 04
4
OpenSwan traffic shaping with HTB & sfq
Hi All,
I''ve got an interoffice IPSEC VPN in place that I''m trying to give
priority to terminal service (tcp 3389) traffic.
I''ve created rules at each end, but have hit a bit of a dillemma. As
the data is encrypted I must also give highest priority to protocol 50
otherwise the priority is lost as the packet gets encrypted.
When I do this however, I can''t
2006 Jan 06
6
HTB traffic shaping odd effects
Hi,
I''m trying to perform some (what I consider) basic traffic shaping on
our network utilising HTB. I have mostly reused the example on the
lartc.org site:
tc qdisc add dev eth0 root handle 1: htb default 10
tc class add dev eth0 parent 1: classid 1:1 htb rate 100mbit burst 24k
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 50mbit ceil
80mbit burst 19k
tc class add dev eth0
2002 Aug 28
2
HTB - problem with one thread
Hello,
Besides a very good functionality, I have a small, yet stressing, problem.
Let''s say I have a bandwidth of N bits.
I have X clients, everyone with his fixed bandwidth.
I create htb qdsics for each client. Each leaf has sfq queueing
discipline.
A sample config would be like this :
tc class add dev eth0 parent 1:2 classid 1:346 htb rate 32Kbit ceil 32Kbit
burst 4k
2004 Nov 01
1
Big problem :(((((
Hello!
I have an internet connection of 64kbps garanteed in a channel of 256kbps. On this connection the metropolitan speed is 10Mbps and in the provider''s network the speed is 100Mbps.
I have a few clients behind my linux box and i want to set up some limitations because some of them are using it irrational.
I am marking the packets with 0 for internet; 1 for metropolitan 2 for
2003 Apr 30
1
Error! HTB: quantum of class 10001 is big. consider r2q change
hi.
When I execute follow class setting
qdisc 1:0 root htb default 2
parent 1:0 classid 1:1 htb rate 10Mbit ceil 10Mbit
parent 1:1 classid 1:2 htb rate 10kbit ceil 100Mbit
HTB: quantum of class 10001 is big. Consider r2q change. <7>htb*g j=1014xxxxx
HTB: quantum of class 10001 is big. Consider r2q change. <7>htb*g j=1014xxxxx
HTB: quantum of class 10001 is big. Consider r2q change.
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 Aug 14
3
Trying understand the HTB
Hi!
I am studying HTB. I used the topology showed below:
10.1.0.1 ------ 10.1.14.25 (eth1) / 192.168.10.10 (eth0) ----- 192.168.10.11
(host 1) (router)
(host 2)
All machines use Debian Etch. Has a Iptables masquerading rule to eth1
in the router machine . The NICs are 100 Mb/s. The host 1 has Apache 2
and a file with 670 MB (CD ISO image) to download.
When I used
2004 Dec 29
3
shaping on tcp ports
hi all:
the following scipt is wokring perfectly with limiting ...on limimitng per
ip basis..
----
eth0=public static ip
eth2= private ip ( 192.168.2.1)
--
iptables -t mangle -A POSTROUTING -s ! 192.168.0.0/32 -d 192.168.2.101/32
-j MARK --set-mark 21012
tc class add dev eth2 parent 1:1 classid 1:2101 htb rate 32kbit ceil 64kbit
tc filter add dev eth2 parent 1:0 protocol ip prio 2 handle
2007 Feb 27
2
Creating a contended section of bandwidth with HTB and IMQ
Hi All,
I''m trying to create a contended section of bandwidth using IMQ. I have the
imq0 device up and running, with traffic passing through it.
Firstly, I need to throttle the entire device imq0 to 2mbit/s.
I would then like to add throttle rules for individual IP addresses, allowing
them to pass up to 512kbit/s each, as long as imq0 has not reached its
2mbit/s.
The configuration