Displaying 20 results from an estimated 7000 matches similar to: "Controlling only few ip addresses"
2003 Jun 14
15
herz the script that i have done.
Hello there,
Having made quite a lot of expensive mistakes i have finally clobbered
together a script for the users on my network.
Have a look at it and please suggest as to how can i limit bandwidth to
each ip on this network to about 64Kbits.
Trevor
--
( >- GNU/LINUX, It''s all about CHOICE -< )
/~\ __ trevor@clovertechnologies.com __ /~\
| \) / Pre Sales
2002 Oct 21
9
help, a children can not borrow from a parent?
Hi ;
MY script:
tc-htb3 qdisc del dev eth2 root
ipchains -F
tc-htb3 qdisc add dev eth2 root handle 10: htb default 20 r2q 40
tc-htb3 class add dev eth2 parent 10: classid 10:1 htb rate 50Mbit burst
2000
tc-htb3 class add dev eth2 parent 10:1 classid 10:100 htb rate 12mbit ceil
50mbit prio 1
tc-htb3 class add dev eth2 parent 10:1 classid 10:20 htb rate 38mbit ceil
50Mbit prio 8
ipchains
2004 May 03
1
htb bandwith
Hi,
tc qdisc add dev eth0 root handle 1: htb
tc class add dev eth0 parent 1:0 classid 1:1 htb rate 2000Kbit ceil 2000kbit
tc class add dev eth0 parent 1:1 classid 1:2 htb rate 1200Kbit ceil 2000kbit
tc class add dev eth0parent 1:1 classid 1:3 htb rate 800Kbit ceil 2000kbit
tc class add dev eth0 parent 1:2 classid 1:21 htb rate 600Kbit ceil 2000kbit
tc class add dev eth0 parent 1:2
2004 Apr 03
7
Few question on HTB
Dear All,
Sorry to trouble again..... After go through www.lartc.org I have implemented the HTB instead of CBQ
for the same scenario.
Now following files are under /etc/sysconfig/htb directory.
eth0 DEFAULT=30 R2Q=10
eth0-2.root RATE=256kbps BURST=25k
eth0-2:10.comp1 RATE=120kbps BURST=12k PRIO=0 LEAF=sfq RULE=192.168.200.0/24
eth0-2:20.comp2
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 Jan 19
4
tool to monitor HTB class utilisation
Hi,
can any body suggest any tool which can show the utilisation for individual classes for HTB.
preferable written in C/or shell script.
Regards
Jayesh
-------------------------------------------------
Still single? Click here to find the perfect match.
http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?141
2003 Jun 12
9
HTB and TC on MAC addresses
Hi
I''ve searched the archive for a solution where I want to limit/shape WLAN users. I only know''s their MAC, because they get their IP from dhcp.
> Why not, just use negative offsets with U32 to access
>the 14-byte eth frame header before the IP header:
>
>Decimal Ofs Description
>-----------------------------------
>-14: DST MAC, 6 bytes
>-8: SRC MAC, 6
2004 Jan 04
6
HTB filters - pls help me
Hi,
we r using HTB algorithm,for traffic shaping, we are facing a problem.
we are able to create multiple classes,filters. But when we delete 1 filter all filter gets deleted. how do we avoid that.
waiting for you reply
Regards
Jayesh
-------------------------------------------------
Shop & Save at Sifymall.com!
Special Festive Offers - up to 60% off on DVD players, MP3 Players.
Mobile
2004 Jun 12
5
HTB theory?
Hello,
I have been searching for HTB theory documentation and found two interesting
sources - Devik''s page and docum.org FAQ. In some places they are
contradictory which make me think that Devik''s theoretic document (marked
"actual") is just too old and does not reflect the latest changes. After
reading http://www.docum.org/docum.org/faq/cache/30.html and others, I
2004 Jan 31
6
HTB dequeueing in pairs fixed
I posted earlier when I noticed that htb was releasing packets in pairs,
even though my burst/quantums were 1 pkt.
To fix I set HTB_HYSTERESIS 0 in net/sched/sch_htb.c .
This gives a noticable gain in upstream worst case latency, for me with
256kbit/s up I used to see +90 sometimes, now it''s +45. For the many who
have 128 up it should limit them to +90 rather than +180.
Andy.
2003 Aug 20
9
CBQ_bandwidth
Hi Stef,
Reffering to page < http://www.docum.org/stef.coene/qos/faq/cache/7.html
> I found a para as follows,
" CBQ is not always as accurate as it should be. See docum.org on the
test page for some tests with bounded classes. The algorithm used by cbq
is very "link sensitive". It calculates the link idle time and for that
it needs the real link bandwidth, average
2003 Jan 10
4
Question on TC filter
Hi,
I want work out a GUI interface for htb and now here
comes to the part about adding and removing classes
and filters.
Here is an example script.
TC="tc"
DEV="dev eth1"
echo "Add root qdisc, default traffic go to 1:30"
$TC qdisc add $DEV root handle 1: htb default 30
echo "Divide the traffic into different classes and
levels"
# -------- level 1
2002 May 08
5
how to clean "tc" configure
tc qdisc add dev eth0 root sfq perturb 10
I want to set perturb to 8
then i used this
tc qdisc add dev eth0 root sfq perturb 8
system give me the following message
RTNETLINK file exists
I delete the rule by this :"tc qdisc del dev eth0 root
sfq perturb 10"
please tell me how can i delete the rule by another
way
and where is "RTNETLINK file"
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 May 11
3
I''m leaving this list ....
Hi,
I''m subscribed to this mailing list for a long time. During that time, I
enjoyed reading all posts and try to understand them :)
LARTC started as a something I could use to impress my boss. After a while it
became clear to me that my boss was not impressed ;(, but I kept following
this list because it was fun. I also placed a lot documentation online on
2002 Feb 28
6
basic htb setup
Hey all. I''m trying to set up QoS using the HTB qdisc in a very basic
setup, but it the example shown in the howto doesn''t seem to be working.
While the packets show up in the correct classes, they appear to be
completely ignoring the rates, meaning nothing gets shaped.
My setup is that I''ve got a a bunch of machines behind my firewall/router:
1.2.3.1
2004 Nov 18
5
burst question
This is one of my test classes:
class htb 1:10 parent 1:1 prio 0 quantum 2048 rate 160Kbit ceil 400Kbit
burst 1803b/8 mpu 0b cburst 2111b/8 mpu 0b level 0
Q1: where does "level 0" stand for?
Q2: where does this b/8 stand for?
Q3: this is on a i386 platform, so timer resolution should be 10mS.
According to the doc the minimal burst should be 10mS*160Kbit=1600. Why
is it 1803?
Q4: I
2003 May 15
5
cbq vs htb?
Hello,
Does anyone know when one should use cbq versus (simpler more accurate) htb? Specifically does cbq have added functionality that may be of interest to certain applications?
from htb home> Both CBQ and HTB help you to control the use of the
outbound bandwidth on a given link. Both allow you to use one physical link to simulate several slower links and to send different kinds of
2004 May 25
1
how to borrow bandwith
Hi,All
I am using iproute2 to manage bandwith for ADSL router.High,medium,low priority are needed for different protocol port on the ADSL's upstream side,as following:
LAN --- |ADSL Router|------WAN
When there aren't traffic on the specific priority, its bandwidth should be borrowed by other priorities.But it doesn't work.Here is my script:
/usr/sbin/tc qdisc del dev nas0 root
2003 Oct 16
5
tc filter problem with 2.4.22
Hi,
I have a problem with ''tc filter'' on a 2.4.22 kernel from Slackware 9.1
distribution.
The tc command binary is from htb3.6-020525.tgz
(http://luxik.cdi.cz/~devik/qos/htb)
I''m trying the following command sequence:
tc qdisc add dev eth0 root handle 1: htb default 1 r2q 1
tc class add dev eth0 parent 1: classid 1:1 htb rate 1200kbit ceil
1200kbit
tc class add dev