similar to: (yet another) HTB question(s)

Displaying 20 results from an estimated 20000 matches similar to: "(yet another) HTB question(s)"

2004 Oct 28
12
HTB: Problem with excess bandwidth distribution
Hello, I have a serious problem with HTB which I wasn''t able to solve myself. I run a masquerading router with ppp0 as interface to the Internet. Three clients need to share a downstream of 1 MBit, which I want to divide with tc. When I see a packet being forwarded to one of these clients, I give it the appropriate unique mark: iptables -t mangle -A FORWARD -d 192.168.34.141 -j MARK
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
2004 Jan 27
7
Whats wrong with my script?
I`m trying to shape both upload (eth0) and download(eth1). I made this script to acomplishthis but the filters are not working even though the classes and qdiscs are created. What am I doing wrong? #!/bin/bash tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 1 htb default 10 r2q 5 tc qdisc del dev eth1 root tc qdisc add dev eth1 root handle 1 htb default 10 r2q 5 tc class add dev
2004 Oct 08
6
HTB weird problem ....
Hello good day to all ... this is my setup 1 Linux Wireless Access Point, connected are 4 wireless gateway in which i needed to apply shaping ... ok here is the weird part... clients on each gateway download files from the Acess Point ... a 500 mb file through ftp on gateway 1 which is up to 64 kbps ... the result is from 60-64 kbps speed which is fine ... on gateway 2 which is 128 kbps ... the
2003 Jul 18
2
HTB + BRIDGE QUESTION!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! HELP!!!!!!!!!!!!
Hi everybody! I am very glad to get htb test information from www.docum.org for the htb performance. Today, I setup a bridge using brctl. my setup as following: 192.168.2.26 | | | |------------- | HTB+BR box |-------- 192.168.2.18 | eth0 | | eth1 192.168.2.29 | | | I want to limit
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
2004 Nov 25
1
Shaping with htb and VLAN
Hello At first I must tell you that I´m a real newbie with Linux (and english as well...) I´m using 2 vlans and shaping works quite well without vlan Now I want to do load balancing at these vlans. Any vlan should get the same minimum/maximum bandwidth of download and use the bandwidth that isn´t used by the other one at the moment. But with vlan the shaping doesn´t work. Can you please tell me
2003 Apr 09
1
HTB Question
Hi Stef, Sorry to write to you directly but my list membership is not working, I receive the archive but cant send to the list, cant delete myself because I don''t exist and can''t rejoin as they say I do exist, anyway hope you don''t mind Can you tell me what the difference between these two scripts is please. What I want to achieve is a high speed channel 1000kbit 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
2004 Feb 08
1
HTB - got mesage "invalid parent ID" is wrong: 1:1
Hi, I have more ethernet cards. Egress shaping with HTB over eth0 works fine, ingress shaping with HTB over IMQ works also fine, but in both of cases I use only one class of traffic. Now I want to divide traffic to 3 classes on other interface (egress to ineternal network). I try this command sequense tc qdisc add dev eth1 root handle 1: htb default 12 tc class add dev eth1 parent 1: classid
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
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 Oct 06
5
What is the reccomended minimum rate for leaf htb class for accurate operation?
Hi, I''m trying to setup QoS in my TSL box. Following to mailing list reccomendations I changed PSCHED_CPU but can''t get accurate shaping with HTB. I have disabled HYSTERESIS also (by setting it to 0). I have Intel Celeron 1.8Mhz (TSC supported I think). ******** My script ****** tc qdisc add dev eth0 root handle 1: htb default 22 r2q 10 # Class corresponding interface
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
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 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 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 Jan 01
2
htb bridge problem, please chceck my config
hello. i have following setup: a machine (winChip 200mhz cpu, 32mb ram, linux 2.4.28) acting like a bridge with 2 interfaces (eth0 - to our ISP, eth1 - to our network) machine does not have any IP there is a 802.1q vlan eth0.2 eth0.2 and eth1 are bridged in br0 i have one 4mbit link which i share with my friend, i have 3mbit and he has 1mbit all our IP addresses are public and we have the
2003 Oct 11
1
HTB: quantum of class 100001 is small. Consider r2q change
Salut lartc (lartc@mailman.ds9a.nl), 18:12:52 kernel HTB init, kernel part version 3.10 18:12:52 kernel HTB: quantum of class 100001 is small. Consider r2q change. 18:12:52 kernel HTB: quantum of class 100002 is small. Consider r2q change. 18:12:52 kernel HTB: quantum of class 100003 is small. Consider r2q change. 18:12:52 kernel HTB: quantum of class 100004 is small. Consider r2q change.
2002 Sep 01
3
htb ,essage in messages file !
hi all, i saw this message today & am reporting it(as it says) [root@cab1 surfNet]# tail -f /var/log/messages Sep 1 04:02:03 cab1 syslogd 1.4.1: restart. Sep 1 09:35:27 cab1 kernel: HTB: mindelay=500, report it please ! [root@cab1 root]# iptables -V iptables v1.2.6a [root@cab1 root]# tc -V tc utility, iproute2-ss020116 [root@cab1 root]# uname -a Linux cab1 2.4.19-r #2 Sun Aug 25 01:49:24