Displaying 20 results from an estimated 11000 matches similar to: "htb child classes don''t borrow form "parent''s parent class" :("
2002 Oct 21
9
help, a children can not borrow from a parent?
Hi ;
MY script:
tc-htb3 qdisc del dev eth2 root
ipchains -F
tc-htb3 qdisc add dev eth2 root handle 10: htb default 20 r2q 40
tc-htb3 class add dev eth2 parent 10: classid 10:1 htb rate 50Mbit burst
2000
tc-htb3 class add dev eth2 parent 10:1 classid 10:100 htb rate 12mbit ceil
50mbit prio 1
tc-htb3 class add dev eth2 parent 10:1 classid 10:20 htb rate 38mbit ceil
50Mbit prio 8
ipchains
2006 Jul 20
1
QoS doubt about network machine
Hello all,
I am with a doubt about QoS solution... I have a 4 Mbit backbone
coming from the telco I use... This is the link I serve to my clients,
so I make this classes:
$TC qdisc add dev $DL root handle 1: htb default 60
CLASS="/sbin/tc class add dev $DL parent"
$CLASS 1: classid 1:1 htb rate 4096Kbit
$CLASS 1:1 classid 1:10 htb rate 256Kbit ceil 3072Kbit burst 15k
$CLASS 1:1
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
2006 Apr 05
5
QoS - Ping problem
Hello all,
I have set my QoS solution and now I am facing a little problem...
When I ping to my server it has some lost packages:
Estatísticas do Ping para 172.30.0.1:
Pacotes: SENDED = 1029, RETURNED = 880, LOST = 149 (14% de perda),
Aproximar um número redondo de vezes em milissegundos:
Mínimo = 0ms, Máximo = 686ms, Média = 105ms
If I disable my QoS ping stats to be ok. I even have
2007 Jun 20
8
Why does scp stall on low bandwidth connections?
Hi,
I am new to tc and have been reading quite a bit on how to set it up etc.
Everything seems to be working fine, until I started scp-ing a large file
over a low bandwidth connection as part of my testing process.
Here is the setup:
my pc --- bridge running tc/htb --- rest of network
TC is filtering traffic from "my pc" and classifies it as 120kbit (see my
script below). I then scp a
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
2005 Dec 14
3
exact rate
Hello
I am using htb (krenel 2.6.14.3 + esfq patch from fatooh.org) to limit the
bandwidth. But I want the absolute maximum rate to be for example 5Mbit
and not to exceed it.
here is the script:
$tc qdisc add dev ${NETIF} root handle 1 htb r2q 4
$tc class add dev ${NETIF} parent 1: classid 1:21 htb rate 5Mbit ceil 5Mbit
$tc class add dev ${NETIF} parent 1:21 classid 1:101 htb rate 2Mbit ceil
2006 Jan 06
6
HTB traffic shaping odd effects
Hi,
I''m trying to perform some (what I consider) basic traffic shaping on
our network utilising HTB. I have mostly reused the example on the
lartc.org site:
tc qdisc add dev eth0 root handle 1: htb default 10
tc class add dev eth0 parent 1: classid 1:1 htb rate 100mbit burst 24k
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 50mbit ceil
80mbit burst 19k
tc class add dev eth0
2005 Sep 27
2
QoS-iptables-iproute-tc (doesn''t work together:S)
Hello i''m having some issues trying to match packets
using iptables mark, iproute filter and tc filter.-
i mean, when i do
iptables -t mangle -A INPUT -p tcp --dport 80 -j MARK
--set-mark 20
iptables -t mangle -A PREROUTING -p tcp --dport 25 -j
MARK --set-mark 10
iptables -t mangle -A FORWARD -p tcp -i eth0 -o eth1
--dport 25 -j MARK --set-mark 10
$TC qdisc del dev $INET_IFACE root
$TC
2006 Feb 20
6
HTB, strange capacity distribution
Hello,
after spending several hours reading archives, I decided to write new
post.
I successfully set up packet classification, made some basic HTB
setup, made some simple graphical representation from HTB statistics
data...
BUT, I cannot figure out how to refine HTB to get this behaviour:
I need that class "p2p" should be the last one to get some link
capacity.
If I set both RATE
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
2006 Aug 14
1
HTB and BOND Interface
Hi!
Is it HTB fully compatible with BOND interface?
I have this setup (mode= fault tolerance) :
BOND0 -> ETH0 + ETH1
BOND1 -> ETH2 + ETH3
( http://www.kernel.org/pub/linux/kernel/people/marcelo/linux-2.4/Documentation/networking/bonding.txt
)
HTB work very well with Class over BOND0.
If I add Class for BOND1 it generate balance errors.
Also with HTB.init
2004 Oct 06
3
HTB and Openvpn
Hi!
I have just started with traffic shaping, and after hours of reading
websites, man pages asf. I am still stumped at one problem I have.
The interface eth0 is attached to the outside world, and I have an openvpn
tunnel to another part of the organization using eth0 and port 5001.
The idea was that all traffic going through the tunnel would have top
priority and the rest share
2005 May 08
1
tc/htb QoS script
hello folks,
this is my first post to that list. so I hope I am not completely OT
here :-)
reading the (excellent!) lartc and then writing my own qos-script I have
still some open questions which I will try to formulate now:
- "Now we can optionally attach queuing disciplines to the leaf classes.
If none is specified the default is pfifo." - I can''t find info about
Pfifo.
2005 Apr 06
4
Games and QOS on share connection line
Hello. I''m newbie with QoS. I read some articles and I have a question on You. If you have time to spare, it would be great
if you reply. Here is my problem. I''m on wireless network(no earnig comunity). We got 2/2Mbit(soon 4/4) for 100 people(sharing link). Not long ago people start
screaming that their games don''t work good(lagging). So I add to our qos class games
2004 Apr 06
11
htb2 -> htb3 problems
Hello!
I need to switch from htb2 to htb3, because of speed issues (for me,
htb2 is unable to handle more then 100mbit duplex with ~550 classes),
kernel profiling shows htb_dequeue_prio at 1st place with 3x isolation.
So, I''ve moved from 2.4.19 to 2.4.25 kernel (hi-pac for classification/marking
and htb3 for queueing), and traffic rate drop from 100 to 20mbit.
What can be wrong? The
2007 Jun 19
4
Why does this script noet work (bandwidth, tc en u32)
Hi,
Can anyone point me out where the script below is wrong?
All I want is that host 172.31.1.1 can only use 10 megabit. If I run
this script on the in-between router nothing happens (the host uses
still the full 100 mbit, tested with iperf) , so i assume that something
must be wrong....
#!/bin/sh
# LAN1 NIC
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb
tc class add dev
2004 Nov 19
2
HTB&IMQ
i''m trying to limit upload and download but something is wrong(it is about NAT)
i will post here my "script" maybe someone could tell me what is wrong
my kernel(2.6.9) is patch with imq(linuximq.net) and my iptables(1.2.11) also
#flush
tc qdisc del dev eth0 root
tc qdisc del dev eth1 root
tc qdisc del dev imq0 root
tc qdisc del dev imq1 root
ifconfig imq0 down
2007 Jan 19
3
HTB? (NEWBIE)
Hi to all
I am studying HTB on LARTC how to. I realize a simple configuration on
router:
tc qdisc add dev eth0 root handle 1: htb default 30
tc class add dev eth0 parent 1: classid 1:1 htb rate 3mbit burst 15k
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 2mbit burst 15k
tc class add dev eth0 parent 1:1 classid 1:20 htb rate 1mbit burst 15k
tc qdisc add dev eth0 parent 1:10 handle 10: sfq
2006 Apr 07
9
u32 and iptables do not work together
Hello all,
I am trying to make a filter into my QoS rules and I founded that
when I try to use filters u32 and with fwmark they do not work together.
This is the filter I use, just and example, for u32:
$TC filter add dev $DL parent 1:0 protocol ip prio 1 u32 match ip sport
22 0xffff flowid 1:10
This is working fine. Now if I try to mark a package that I want it
to go to the same