Displaying 20 results from an estimated 7000 matches similar to: "htb,iptables"
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 Apr 08
4
First Post: Question on Ip Aliasing
Hi All,
I did a google search on this and didn''t find exactly what I was looking
for. Suppose I have a machine that has an IP alias eth0:0. I have set
up HTB.init so that it properly throttles bandwidth on eth0, however
when I use eth0:0, it doesn''t work. I read elsewhere that it should
work at the PHYSICAL device layer, and should therefore work for both at
once. This is not
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
2002 Sep 06
6
Wondershaper
Hi !
I´ve been using the wonderful wondershaper from chapter 15.8 of the
LARTC Howto for some time. It´s really wonderful.
Actually, I use the version from
http://freshmeat.net/projects/wshaper/?topic_id=87
Now I tried to put some hosts to low priority, and it doesn´t work. The
traffic is splitted equally between the noprio and the other hosts.
Is this because I use ip masquerading, and all
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 Dec 02
2
forwarding in tcng
Hi!
I am learning tcng without having experiance of tc and I am trying to
build something that shall schedule traffic dependent on the value in the
IPv4 packets ip_ttl field.
I have read the tcng reference manual and cannot find information about
forwarding. Is it possible to farward packets from ingress to egress
without sending them upwards in layers?
2004 Aug 05
4
NAT & tc filter addresses
Is there a flow diagram as to where tc actions take place with respect
to NAT and other iptables functions on a multihomed box (private &
public NICs) ? Are tc filter rules consulted before or after NATing?
My real interest is in basic understanding first, and then solving a
real problem second.
Example:
Firewall Public NIC 123.123.123.1
Firewall Private NIC 192.168.168.1
Dedicated Video
2004 May 09
2
MARK target question
This is more of a NF question but it is tightly related to LARTC as well. In the following example:
-t mangle -A PREROUTING -i eth0 -j MARK 0x1
....
-t mangle -A INPUT -i eth0 -j MARK 0x2
Since MARK is a non-terminatring target, what would be the resulting mark on a packet comming from the outside and
destined for a local process?
Thanks
P.S. I agree, the example looks stupid, but on the
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 May 12
3
Limit bandwidth per client
Hi all,
I have an installation where each user on subnet 192.168.1.0/24 is
connected via a multiplexer.
The problem is that if any client uses more than about 48Kb/s, the
multiplexer crashes.
I need to limit each client to under this rate, say 32Kb/s. I have seen
examples on creating a class per host but is there a simple way of
saying "any host from 192.168.1.0/24" so I dont have
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
2002 Nov 22
2
TC HTB Traffic Shaping
Hi guys,
I''m new to TC HTB traffic shaping....
I installed it at my first try on my Bearing Leaf Router/Firewall
I use the tc -s class show dev eth? To see my output
All looks dandy and nice, but it''s figures, of which at current momment
looks like French to me,
I would like to see exactly what these figures looks like in a GRAPH
style...
I know I can use MRTG, I do have
2003 Nov 15
3
ctokens vs tokens - HTB.
Hi,
One more of those ...
1) what is a ctoken with regard to HTB? Does the ''c''
stand for ceil and if so how is it different from
tokens?
2) Is the difference, only in the generation of these
tokens?
3) Would the ctokens and token be treated equally once
borrowed?
Kindly help.
Thank you.
Regards,
suraj.
__________________________________
Do you Yahoo!?
Protect your
2004 Jan 22
4
Problems with netfilter
Hi,
I have 2 internet connections (1 adsl/1 cable). I am try to route all
outgoing mail from the mail server (on the same box), through the ADSL
connection routing through the cable will mean mail will get rejected by AOL
:( I am using qmail as the mail server.
The configuration is:
eth0 : cable connection
ppp0 : adsl connection
eth2 : internal lan connection
I have configured split access as
2004 Jun 30
3
HTB and iptables statistics
Hello.
The problems are:
1. Using HTB I get negative values for tokens and ctokens in tc -s
output, for example:
mich:~# tc -s -d class show dev eth0
class htb 1:11 parent 1:1 prio 1 quantum 1024 rate 8Kbit ceil 23Kbit burst 1609b/8 mpu 0b
cburst 1628b/8 mpu 0b level 0
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
lended: 0 borrowed: 0 giants: 0
tokens: 1287999 ctokens: 453286
class htb 1:1
2003 Jun 16
7
htb & bandwidth sharing
Hi everybody!
I''ve been trying with htb and tc filter. It seemed to work fine, but
after testing with ethloop I''ve realized that traffic is not being
distributed through the leaves as I thought. When sending packets to
1:10 and 1:11 at the same time, there''s no bandwidth sharing. There''s no
traffic through 1:11 until traffic through 1:10 has finished. Though
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 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 Oct 04
2
htb errors, wrong patch?
I downloaded iproute2-2.4.7-now-ss010824.tar.gz and I did patched tc with
the htb3.6_tc.diff from htb3.6-020525.tgz and when I try to use a htb script
I get just errors. I did not patch the kernel, since I use kernel 2.4.21 and
I saw on - HTB Homepage that I need to patch it only if I run version 2.4.20
or earlier. Do also need the kernel patch ? Or maybe is something else
wrong?
RTNETLINK
2002 Sep 17
8
the range of HTB''s prio
HTB and imq was used to control traffic.
AC="tc class add dev eth0 parent"
$AC 1: classid 1:1 htb rate 100kbps burst 2k
$AC 1:2 classid 1:10 htb rate 50kbps ceil 100kbps
burst 2k prio 1
$AC 1:2 classid 1:11 htb rate 50kbps ceil 100kbps
burst 2k prio 1
please tell me the range of "prio"
_________________________________________________________
Do You Yahoo!?
新鲜到底,娱乐到家 -