Displaying 20 results from an estimated 6000 matches similar to: "Strange things with HTB"
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
2005 Oct 01
2
imq + htb
Hi, i am running imq + htb on my router , the situation is like this
eth0 = uplink to my provider
eth1 = 1st customer
eth2 = 2nd customer
eth3 = 3th customer
eth0 has limit 512 and i want to share this between eth1 eth2 and eth3 ,
but not working , this is the script i used,
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
#!/bin/sh
2003 Jul 14
0
Why arent filteres working? (as I wanted)
Here goes the filter statements:
#Initializing traffic control...
tc qdisc add dev br0 root handle 1:0 htb
#Loading queue disciplines for plis230 network...
tc class add dev br0 parent 1:0 classid 1:1 htb rate 512kbit ceil 512kbit
#Loading queue disciplines for pmad048 network...
tc class add dev br0 parent 1:1 classid 1:20 htb rate 30kbit ceil 30kbit
#server queue
tc class add dev br0 parent
2005 Feb 06
2
problems with u32 fiter
hello to all
i''m trying to set a filter but doesn''t want to work.
i''ve set ut the qdiscs and the classes like this :
tc qdisc add dev ppp0 root handle 1: htb default 20
tc class add dev ppp0 parent 1: classid 1:1 htb rate 120kbit
tc class add dev ppp0 parent 1:1 classid 1:20 htb rate 30kbit ceil 120kbit
tc class add dev ppp0 parent 1:1 classid 1:21 htb rate 30kbit ceil
2007 Mar 03
2
Help with HTB rules (experiencing latency)
Hello, I''m using these rules (attached) to control traffic going out
from ip 192.168.0.100 which is acting as a p2p server, but when I have
these rules on and mldonkey running I experience some latency in web
pages, which Iwould like to eliminate. I''ve read that this is where the
burst and cburst (even quantum) parameters are useful, but I still can''t
understand
2002 Jun 06
0
again: HTB - I can''t stand it any longer HELP ME
sorry for previous post. I have no idea what was the reason :-(. I am sure it was set to ''plain-text'', but I have changed email anyway...
-----------------------------------------------
hi there!
For weeks I am trying to set my network in such a way:
server (linux) is connected through ppp0 to internet. There is MLDonkey
running on that and it is also Internet default gateway
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
2007 Aug 19
0
HTB qdisc within HTB root qdisc
Hello...
Im trying to setup HTB to allow me to shape traffic from two upstreams
that meets on single lan0 interface. I prefer to use HTB qdisc
within HTB root qdisc for cleaner rules design.
Seems that it doesnt work at all. tc -s class show doesnt
show any traffic on other classes attached to HTB qdisc.
Linux 2.6.20.7
iproute-2.6.20-070313
Weird thing is that tc -s class show that 1: and 2:
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
2007 Oct 16
0
Determining burst/cburst HTB values
Hello.
I am wondering if the default (auto-computed) burst and cburst parameters are appropriate values for my application.
I have a 100 mbit interface which is connected to a 16 mbit uplink.
I am sharing this bandwidth into a set of partitions (tc classes) defined as follows:
root class [1:1]
|
2007 Mar 06
1
Help needed with HTB
Hello, a few days ago I sent an email asking for help with my tc htb
rules I''ve got (a script), but I''m not sure if that email got to you...
anyway, I''m sending it again along with my htb script and I''ll tell you
the problem once again:
I have a computer with ip 192.168.0.100 which is acting as a p2p server,
so I want to shape traffic coming out from that
2004 Aug 18
0
HTB prio question
Hi all. I have a bridge running Linux 2.4.24 that I use as a
bandwidth manager on a broadband wireless network. I''m using HTB and
SFQ to prioritize that share bandwidth on a per-cell basis. My IP
tables rules divide the traffic based on IPand traffic type (using
layer-7 filter and ipp2p). My goal is to make sure that p2p traffic
on the network doesn''t sink all of the
2002 Dec 09
3
HTB problems
Hello,
I have HTB on IMQ device. My rate does not work as I configured. I
configured 1920kbit/s and I can download only about 290kbit/s (while it
should be the whole bandwidth).
My script:
/sbin/modprobe imq numdevs=1
/usr/local/sbin/tc qdisc del dev imq0 root 2> /dev/null > /dev/null
/usr/local/sbin/tc qdisc del dev imq0 ingress 2> /dev/null > /dev/null
/sbin/ifconfig imq0 down
2007 Sep 19
1
major packet loss with htb
Hi,
got a 25/25Mbit connection which is quite stuffed. So I applied htb rules.
Uplink:
class htb 1:1 root rate 24500Kbit ceil 24500Kbit burst 4661b/8 mpu 0b
overhead 0b cburst 4661b/8 mpu 0b overhead 0b level 7
Sent 430600689269 bytes 730147320 pkt (dropped 0, overlimits 0 requeues 0)
rate 23057Kbit 5520pps backlog 0b 0p requeues 0
lended: 199673949 borrowed: 0 giants: 0
tokens: -964
2007 Jul 09
1
Help with traffic control (HTB ESFQ RED)
Hello, there''s a problem I''ve had for several months now, and I''ve never
been able to find an answer to it. I''ll try to explain as quick as possible:
I have a server that controlls my home network, it provides internet
to them also (NAT) and I would like to provide QoS by shaping traffic. I
have a p2p server here (running mldonkey), since only that
2005 Jun 22
1
Problem with HTB and IPTABLES
Dear All,
Im working with Fedora Core 3, kernel 2.9.1, MPLS-for-Linux-4.193, and
having some problems when create a HTB queue. ALL packets goes to the
default queue, they dont care about any mark or ip field I use to enqueue
them. : -/
Thats the deal, all packets that incoming the interface eth2 are classified
and have theirs TOS field changed following some qos policy at the
PREROUTING
2007 Feb 01
0
tc filter Questions
I''m attempting to set up a hierarchy of tc qdiscs with filters, but the
filters don''t seem to be working correctly. I''m running iptables 1.3.5
with iproute 2.6.16.20060323 on a Gentoo 2.6.18 kernel. The system
takes all my tc setup, but does not filter packets as I am expecting it
to based on my ruleset.
My tc qdiscs and classes are added correctly and report as
2004 Jan 11
1
HTB rates aren''t enforced correctly
Hi!
I recently changed my qdisc from CBQ and PRIO to only HTB, and I can''t
really seem to get the rates to work as I want them to. I have eight
classes, which I set up as follows:
tc qdisc add dev eth1 root handle 1: htb default 122
tc class add dev eth1 parent 1: classid 1:1 htb rate 1000kbit ceil 1000kbit cburst 1500 burst 50kb
tc class add dev eth1 parent 1:1 classid 1:11 htb prio 0
2005 Jul 21
2
HTB and prio
Hi,
this is a followup to "Problem with HTB and ceil", the problem with the ceiling
has been resolved, thanks to the memebers on this m/g.
Now I have the problem that packets get into the correct classe with the correct
marks but the prios are not respected. I have 4 different classes:
1. voip class / prio 0 / mark 100 / voip traffic
2. ACK class / prio 1 / mark 200 / ACK packets to
2005 Aug 13
1
pfifo_fast as leaf qdisc for htb classes
Thank you Andy! I did''t find why I could''t use the fw
match in ingress. Now it works.
Now I ran into another problem:
When I try to add a pfifo_fast leaf qdisc dor htb
classes it seg.-faults. Is pfifo_fast a special qdisc?
I can succesfully add other type of qdiscs.
I found that a similar problem was reported in
february on a MIPS architecture.
root@zefir:/usr/src# tc qdisc