Displaying 20 results from an estimated 10000 matches similar to: "HTB weird problem ...."
2004 Jul 24
5
HTB classifying
I am trying to shape a client (somewhat advanced).
This is my target:
Client is 192.168.2.224. I would like to allow him to download with
500000 bits/sec in general. But, for a specific port(say 22), i would
like him to download with 300000 bit/sec only. The problem is that my
configuration (maybe wrong) allows him to download with 800000 bit/sec.
(500000 generally + 300000 on port 22)
I thought
2005 Apr 26
8
HTB Weird Shaping Question(Bug?). Please Help!
Hi all,
I have a script that allocates an ADSL(1500K/256K) bandwidth to three
users.
My idea is to allow each user having a guarentee rate, while each one is
allowed to burst to the max rate while no one is using the bandwidth.
I use imq0 for uplink (for some mobility reason) and imq1 for downlink.
Everything works smoothly except for VoIP traffic.
There are three VoIP phones attached to a
2003 Jul 03
9
HTB burstable for 2 interface , how ?
Dear folks,
Here goes my bandwidth manager:
INTERNET
|
|eth0 202.14.41.1
BW.Manager
| |
| +----eth1----192.168.1.0/24
|
+------eth2----192.168.2.0/24
Total incoming bandwidth to eth0 is 1024kbps
should be shared to eth1 and eth2, which mean each get 512Kbps and
burstable to 1024Kbps if other host is idle.
My question is how do i apply HTB to these situation ?
As far as i know eth1 and eth2
2004 Apr 13
4
tc does''nt limit the bandwidth!
Hi, good people!
I wanted to limit my 4 customers to 144, 16, 32, and
32kbps.
I used the following tc commands BUT IT FAILED TO
LIMIT each and everyone of them to its bandwidth.
What am I doing wrong:
My tc scripts are:
tc qdisc add dev eth1 root handle 1: htb default 1
#Classes#
tc class add dev eth1 parent 1: classid 1:1 htb
rate 9bps ceil 9bps #Default
2005 May 14
1
Need some help
Hi all, I have read the larc howto and I need to apply a traffic shaper
with this configuration:
router / two interface etho and eth1
lan
lan is on eth1 and on eth0 I''ve the dsl connection (1.2 Mbit / 256 kbit)
I need to limit the bandwith towards lan and I''ve thought at HTB and
tcng. I write the script belove. I want limit the p2p and ftp (ssh and
irc) connection at 15
2006 Jul 27
12
Weird HTB behaviour in 2.6.17
Hello,
I''ve just compiled the kernel 2.6.17 and noticed an odd HTB behaviour.
For instance:
tc class add dev eth0 parent 1:1 classid 1:30 htb rate 1kbit ceil
750Kbit burst 15k
tc filter add dev eth0 parent 1:0 protocol ip prio 15 u32 match ip dst
192.168.5.1 classid 1:30
The filter works ok and the traffic to 192.168.5.1 flows through the
class 1:30, but the rate gets much higher than
2007 Aug 28
8
cpufreq affects rate in, at least, htb
Hi all :)
I''ve tested this and having a cpufreq that slows down the CPU
affects the rate of HTB. My ondemand cpufreq governor scales down the
CPU frequency about 40% and this is more or less the slowdown the rate
suffers, 40%.
Any known way of dealing with this without having to disable
cpufreq?
Thanks in advance :)
Ra?l N??ez de Arenas Coronado
--
Linux Registered
2007 Oct 29
1
Some questions about HTB
Hello,
I have installed a server with three physical ethernet links and some
virtual interfaces:
eth0 - 213.215.42.70
eth0:1 - 213.215.42.71
eth0:2 - 213.215.42.72
eth0:3 - 213.215.42.73
eth0:4 - 213.215.42.74
eth0:5 - 213.215.42.75
eth0:6 - 213.215.42.76
eth0:7 - 213.215.42.77
eth0:8 - 213.215.42.78
eth2 - 192.168.1.128
eth3 - 213.215.42.69
All traffic are routed by iproute2 and iptables
2003 Mar 24
11
How to do ensure bandwith
How to do ensure a class not lended and not borrowed each other.
I do cburst burst 0b ,but ctokens tokens go to negative!
---------------------------------
Do You Yahoo!?
"更多惊喜,同样精彩,NetVista A30 热卖"
--0-611462377-1048485942=:33792
Content-Type: text/html; charset=gb2312
Content-Transfer-Encoding: 8bit
<P>How to do ensure a class not lended and not borrowed each
2004 May 05
3
Simple HTB setup with tcng
Hello all,
I am trying to set up a simple htb based system, where packets with
source ip 10.0.0.1 should have their own class.
I plan to use tcng to set it up easier.
Is there something wrong in my tcng file ?
~/tcng$ cat htb
/*
*/
#include "fields.tc"
#include "ports.tc"
dev eth0 {
htb ( ) {
class ( rate 600kbps, ceil 600kbps )
{
2006 Nov 12
9
Why did I need strange ceiling settings? (full version)
Sorry I pressed the wrong key and sent the message too early...
> -----Ursprüngliche Nachricht-----
> Von: Philipp Leusmann [mailto:philipp.leusmann@rwth-aachen.de]
> Gesendet: Mittwoch, 8. November 2006 12:53
> An: ''lartc@mailman.ds9a.nl''
> Betreff: Why did I need strange ceiling settings?
>
> Hi all,
>
> I recently installed traffic shaping on my
2004 Oct 10
3
How to invert tc matches?
Hi,
I want to use inverted matches with tc-filter. I tried to invert the
matches with a "!", but this doesn''t seem to be the correct syntax.
The following rules don''t work:
---------------------------snip-----------------------------------------
$TC filter $ACTION dev $DEV protocol ip parent 1:0 u32 match ip src
${NETWORK[$i]} !match ip dst 192.168.0.0/24 flowid
2004 Nov 15
5
Packet loss with htb+sfq+l7filter
Hi all!
I''m trying to shape traffic in a dorm''s network (4 mbit symmetrical
internet link, about 200 computers, heavy p2p usage). The router is a
p4xeon running linux 2.6.9 with the qnet patches
(http://kem.p.lodz.pl/~peter/qnet/). When I activate ip_forward I get
>20% packet loss and a lot of duplicates. Any ideas? I attach my shaping
script.
Thank you very much in advance,
2006 Mar 28
1
Please help - totally confused (NAT + FWMARK + IMQ + HTB)
Hello,
I''m trying to get my shaper to work, but have only a partial success.
Can someone help me with that. My setup unfortunately is not so trivial,
but I think some people could have similar one...
1. There is a router connected to the internet line via interface eth0
2. There are users connected to the router via two interfaces : eth1 and
wlan0
3. All users are assigned private IP
2005 Dec 07
2
can the htb applied to http/ftp server not in the router???
can someone help me??
-------------------------
| server (http & ftp) | ------> 1.2.3.4
-------------------------
|
|
| -----> 10/100 MB LAN
|
|
|
----------
| client | -----> 1.2.3.5
----------
i want the client download file from http server with maximum rate is
30 kbps and download from
2002 Aug 31
3
HTB shares equally when borrowing enabled :(
Hi,
I''m fighting seriously with a most simple HTB setup. I''d like to share
the incoming 64kbps into 5 and 59 for two different machines under NAT.
HTB seems to hold the required limits when ceil is not set (no
borrowing), but when borrowing enabled it seems to share equally rather
then keeping the specified ratio.
My setup is below. A typical output of "tc -s -d qdisc
2005 Feb 18
1
lartc on bridge, help
I''m new on this mailing list, reading it for last 4 weeks, ...
Need help please...
I want to implement tc rules on br0 witch is build of wlan0, wlan0wds0,
wlan0wds1? I did something but it doesn''t do good job, it doesn''t give
constant flow ... any idea, please if someone already have experiance...
OS: Suse 9.0
myshaper
2002 Aug 07
11
pb with ingress policy
Hi !
I have a single host which is connected via an 512kbit ADSL link to the n=
et. I quite often use some realaudio application that uses some bandwidth =
and I want to avoid other traffic to scale that bandwidth down. So I used =
some classes (with htb) on imq0 device and applied some filters and it see=
ms to work in most cases. However, there are some sites with which downloa=
d is
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
2006 May 29
3
TCNG HTB priority and bandwidth
Hi,
I have several users on the lanside each allocated separate IP addresses.
I need to allocate th traffic to each IP addresses certain portion of
total uplink.
Say, 192.168.0.2 rate 128kbps, ceil 128kbps.
192.168.0.3 rate 65kbps, ceil 128kbps
129.168.0.4 rate 64kbps, ceil 64kbps.
and so on....
Also, for each user i would like to prioritize the traffic within the
allocated bandwidth.
say for