similar to: HTB question

Displaying 20 results from an estimated 40000 matches similar to: "HTB question"

2005 Sep 28
1
Does HTB consider PRIO or not?
Hello LARTC!!!! There is a question that kills me everytime I think about it. I just love HTB and for one year since I started to work wih it I had no complains until one day. One client needs to allocate the shared bandwith , based on priorities. The HTB as everybody knows have the CEIL parameter and also PRIO which are supposed to solve the problem. Now the problem: I configure everything, rate
2005 Jan 02
0
Performance Loss with HTB/tcng?
Hi, I try to shape my incoming traffic. I have 2MBit/s DSL bandwith and the following ruleset (on the internal interface): $INT="eth1"; $INT_NET=192.168.1.0; $MAX_IN=2Mbps; dev $INT { egress { class (<$int>) if ip_src:24 == $INT_NET; class (<$ssh>) if tcp_sport == PORT_SSH; class (<$smtp>) if tcp_sport == PORT_SMTP; class (<$http>) if
2003 Oct 12
1
couldn''t get available bandwith
Hello all. We have three tunnels over the internet between our "central" gateway and some branch office gateway. Each gateway has eth0 on its LAN an eth1 on the internet. We use DSL lines and eth1''s have the internet IP directly attached on it. Each gateway, also, acts as iptables NAT gateway. The outgoing bandwith is 300 kbit, and we tried this (i.e.) on each tunnel: tc
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
2005 Nov 01
0
HTB, rate and ceil question
Hello I have a 64kbits link to location and I need to limit the traffic of a machine (10.200.0.86) to this location to ensure that this machine will no use all th bandwidth, and I did a rule to this situation where the machine has it bandwith limited to 10kbits if there is other traffic to this location, otherwise it can use up to 54 kbits. tc qdisc add dev eth0 root handle 1: htb ... tc
2004 Aug 03
0
ceil, cburst, prio not working?
Hi, I''ve been using htb fine to separate outgoing SMTP traffic from HTTP traffic so sending big emails doesn''t affect browsing. As long as ceil == burst and the sum of all rates don''t exceed the root class'' rate all is fine but when I incorporate ceil I would expect (from lartc howto) that when other classes are idle the remaining bandwith would be assigned
2003 Nov 13
1
HTB traffic shaping + squid cache proxy
Hello! My system is: Internet ADSL(PPPoE) ---> ppp0 [LINUX server(router)] eth0 ---> LAN Server(router) is running on LINUX Slackware 8.1. I have recompiled a 2.4.22 kernel, enabled all QoS support in the kernel config, including HTB. My ADSL bandwidth is 256Kbit/s for download and 64Kbit/s for upload. I use the following HTB+IPTABLES configuration, because I want to reduce bandwith for
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.
2004 Nov 16
2
share bandwith between vpns
I have clients, which connectin to Internet through vpn. I want to dynamically share bandwith between vpn connections, so if there few connections, then they get all bandwith, if more then they get their minimal guaranteed bandwith. my idea is: ip-up.local: tc class add dev $DEV parent 1:1 classid 1:2${1/ppp/} htb rate $[$RATEUP/$VPNS]kbit ceil ${RATEUP}kbps tc filter add dev $DEV protocol ip
2004 May 13
2
wondershaper.htb problem
hi there, this is my 1st message in the list. I would like to use this wondershaper.htb to limit the bandwith usage at home. My kernel config is: # QoS and/or fair queueing # CONFIG_NET_SCHED=y CONFIG_NET_SCH_CBQ=y CONFIG_NET_SCH_HTB=y CONFIG_NET_SCH_CSZ=y CONFIG_NET_SCH_HFSC=y CONFIG_NET_SCH_PRIO=y CONFIG_NET_SCH_RED=y CONFIG_NET_SCH_SFQ=y CONFIG_NET_SCH_TEQL=y CONFIG_NET_SCH_TBF=y
2006 Feb 05
1
htb prio ...
Hey, I have such a script: tc qdisc add dev $DEV root handle 1:0 htb default 21 r2q 2 tc class add dev $DEV parent 1:0 classid 1:11 htb rate 100mbit tc class add dev $DEV parent 1:11 classid 1:21 htb rate 512kbit ceil 512kbit tc class add dev $DEV parent 1:11 classid 1:23 htb rate 1024kbit ceil 1024kbit tc class add dev $DEV parent 1:11 classid 1:25 htb rate 3072kbit
2005 Jun 28
0
Re: Questin regarding HTB
Yes sure here they are: The first one that i have received 2day and does not work almost at all: #!/bin/bash ETH_IN="eth1" ETH_OUT="eth0" BANDA_TOTALA="2Mbit" # pentru neclasificati ar trebui sa fie banda minima - 1k - aici ar trebui sa ajunga trafic necunoscut, # care nu e organizat in shape-uri BANDA_NECLASIFICATI="8kbit" #Shape generale /sbin/tc
2004 Oct 12
0
ssh and cs LAG
I have htb on 486 sx with 16mb ram. Slackware 9.1. Connection : dsl 1Mbit. 486 works as router and trafic shaper for network made of 12 pc''s. it does the job quite well, but when i play Counter-Strike or connect to my 486 via ssh (on lan), i get huge lag every 11-20 sec. when i connect to 486 via ssh and run iptraf program i see all the trafic, and after a while when lag comes the
2004 May 05
1
Re: [Fwd: Re: Simple HTB setup with tcng]
Thank you for your help. It generates this script : tc qdisc add dev eth0 handle 1:0 root htb default 2 tc class add dev eth0 parent 1:0 classid 1:1 htb rate 75000bps ceil \ 75000bps tc class add dev eth0 parent 1:0 classid 1:2 htb rate 125000bps tc filter add dev eth0 parent 1:0 protocol all prio 1 u32 match u32 \ 0xa000001 0xffffffff at 12 classid 1:1 But I thought it was necessary to
2004 Jul 30
0
Help:how many bandwidth are borrowed in HTB?How to caculate!
Hi,All I use HTB to control traffic.Here is my script: /usr/sbin/tc qdisc del dev nas0 root /usr/sbin/tc qdisc add dev nas0 root handle 1:0 htb default 60 /usr/sbin/tc class add dev nas0 parent 1:0 classid 1:1 htb ceil 896kbit rate 896kbit prio 0 burst 60k /usr/sbin/tc class add dev nas0 parent 1:1 classid 1:10 htb ceil 896kbit rate 537kbit prio 1 burst 60k /usr/sbin/tc class add dev
2002 Oct 08
1
how can i choose 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 2 $AC 1:2 classid 1:12 htb rate 50kbps ceil 100kbps burst 2k please tell me if i do not set prio, what is the default prio? low delay class
2005 Jul 08
5
HTB Rate and Prio
Hi, I wanted to implement some QOS on my Linux Box with HTB, but after some time spend on the configuration and tests, I still don''t manage to have some correct results. Here are the details : -ROOT 2000 kbits -HIGHPRIO SUBCLASS 50 kbits prio 0 -SUBCLASS1 750 kbits prio 1 -SERVICE1 250 kbits prio 1
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.
2004 Oct 23
0
error making htb example
Newbie here... tcng version 10b I''m just learning about htb and using tcng. I am trying to make the example in Martin A. Brown''s Traffic Control with tcng and HTB HOWTO v0.5 example 2 /* * Simply commented example of a tcng traffic control file. * * Martin A. Brown <mabrown@securepipe.com> * * Example: Using class selection path. * * (If you are reading the
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