similar to: Problem with HTB and IPTABLES

Displaying 20 results from an estimated 2000 matches similar to: "Problem with HTB and IPTABLES"

2002 Dec 04
3
HTB/IMQ troubles (probably)
Hello, I use HTB with linux-2.4.20-ac1 and iptables-1.2.7a (pathced for IMQ). I configured one HTB qdisc on an IMQ device. This qdisc has some classes (about 5) and all of the classes has qdisc pfifo. I sometimes got out from my linux (while I was working) and I found in logs: Dec 4 11:49:27 core kernel: HTB init, kernel part version 3.7 Dec 4 11:49:28 core kernel: HTB: quantum of class
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
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:
2004 Aug 04
10
htb and fw problems
Dear All, I''m using the kernel 2.6.6, iproute2-2.4.7.20020116, iptables v1.2.9, and gentoo. I have a leased-line 64 kbps. I can see the counter works in iptables, but in the htb, it doesn''t go to the right class (it always go to the default class). Any help will be appreciated here''s my htb conf #!/bin/bash tc qdisc del dev eth1 root tc qdisc add dev eth1 root
2004 Jun 13
1
[Help] IMQ download traffic is duplicated !?
Hi, I have a default class for my un-marked traffic (prio 5) and a prio 0 class for the important stuff, but I do not understand why my download traffic is duplicated in both. It work fine for my upload traffic (same setting except the red class but I have the same result if I create an esfq instead). Any comments/information will be appreciated. Below my config : tc commands from my scirpt :
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] |
2004 May 04
0
problem with wrong speeds
Hello everyone, I just found very strange problem. I have a big class with 5500 KBit bandwidth, and a lot of smaller for which this one is their parent. Some of them are with rate 64 and ceil 1024 and other are with rate 256 and ceil pceil (5500). All filters are using mark from iptables. The strange thing is that noone can get more of about 60% of its ceil even if the parent class is almost
2007 Jun 21
1
A HTB problem
My hardware is a Linksys AP with MIPS 300MHz and Linux kernel 2.4.20. The traffics are from two LAN switch ports to WAN port. And the traffics are generate at a rate of 80Mbit. So the total traffic to WAN port is 160Mbit. The shaping works well that the traffic to WAN port is about 50/30Mbit according to configuration. But the priority seems strange when the root rate is 50Mbit. When the root
2003 Jan 07
1
Trouble about snmp.html
I used Stef Coene''s snmp.pl. #./tc.sh #./get_snmp.pl #./snmp.pl #tc -s class ls dev eth0 class htb 20:1 root rate 80Mbit ceil 80Mbit burst 106440b cburst 106440b Sent 674762 bytes 5660 pkts (dropped 0, overlimits 0) rate 3bps lended: 0 borrowed: 0 giants: 0 tokens: 8313 ctokens: 8313 class htb 20:10 parent 20:1 rate 40Mbit ceil 80Mbit burst 54017b cburst 106440b Sent 670753
2006 Feb 10
3
htb root don''t reach ceil rate?
Hello, i have a htb setup where the root and (nearly) all child classes has a ceil rate with max up from my adsl line. But the root class don''t reach the ceil value but some childs are get a huge backlog. My setup: (tc -d class show dev ppp0) [cleaned a bit] ******************************************************** class htb 1:1 root rate 576000bit ceil 576000bit burst 30Kb/8 cburst
2005 Sep 28
4
Re:Does HTB consider PRIO or not? 2
Thanks for quick reply Andreas! > Every class is allowed to use bandwidth as long as it does not have to > borrow (the specified rate is guaranteed). Prio in HTB only affects > borrowing bandwidth from other classes... In the example below, the class > 1:5 should be allowed to borrow bandwidth before 1:14 does. Thats exactly what I want from HTB to do..to prio the borrowed bandwidth.
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
2004 Dec 30
2
HTB - ethloop - overlimits?
Hi all, I''m trying to setup htb on a box with the following class configuration: class htb 1:2 root rate 4Mbit ceil 4Mbit burst 2099b/8 mpu 0b overhead 0b cburst 2099b/8 mpu 0b overhead 0b level 7 Sent 0 bytes 0 pkts (dropped 0, overlimits 0 requeues 0) lended: 0 borrowed: 0 giants: 0 tokens: 4300 ctokens: 4300 class htb 1:4 parent 1:2 leaf 4: prio 7 quantum 1000 rate 1Kbit ceil
2002 Oct 16
10
htb limiting trouble: no overlimit or dropped packets
Hi! I''m trying to limit the uplink bandwidth using htb but no packets are overlimit or dropped. :-( My router config: * Linux kernel 2.4.20-pre10 (htb v3.7) with everything built as modules in QoS, iptables in use. * tc binary from htb3.6-020525.tgz * external interface eth0: Internet access, 512 kbit/s uplink speed * internal interface eth1: internal LAN, 100 Mbit/s The hosts in the
2007 Sep 23
0
Giants on IMQ0
Why am I getting giants on imq0? How do I stop that? ========== imq0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 UP RUNNING NOARP MTU:1500 Metric:1 RX packets:39880312 errors:0 dropped:0 overruns:0 frame:0 TX packets:39878715 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1024 RX
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
2005 Oct 19
0
help for script add ip addresses dynamically
Hi, I am trying to write a script that will create a class and will add specific Ip address to that class. let me write commands: tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 1: htb default 12 tc class add dev eth0 parent 1 classid 1:1 htb rate 10mbit ceil 10mbit tc qdisc add dev eth0 parent 1:1 sfq tc class add dev eth0 parent 1:1 classid 1:21 htb rate 128kbit ceil 128kbit tc
2004 Apr 28
1
HTB not obeying to specified rate?
here is the situation i am using htb.init with fwmark to do QoS. i have 2 parent classes with RATE=CEIL which then have some leafs each on his own. the first one works fine (it shapes the packets to the specified rate) class htb 1:21 root rate 1Mbit ceil 1Mbit burst 2909b cburst 2909b Sent 631520262 bytes 651550 pkts (dropped 0, overlimits 0) rate 131573bps 141pps lended: 380595 borrowed: 0
2005 Oct 06
1
HTB problem running on VLAN, not working
Hello. I''m running linux box with Slackware 9.1 and compiled kernel 2.4.31 with "yes" to VLANs and "yes" to all QoS. On this box i have more ethernet interfaces: eth0 eth1 eth2 and so as more vlan interfaces: eth0.100 eth1.3 eth1.4 This is entrace(uplink) router to our whole network and my goal is to shape users on this machine. I want for this purpose use HTB so
2004 Dec 02
1
FW: differing rate and ceil values
Hello all, when running tc -s -d class show dev eth, the parent class rate and ceil are different to the configuration? his is the first time I have used HTB so I may have made some basic mistakes. Thanks in advance Shaun Output as follows: class htb 1:1 root rate 760Mbit ceil 760Mbit burst 997641b/8 mpu 0b cburst 997641b/8 mpu 0b level 7 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)