Displaying 20 results from an estimated 9000 matches similar to: "tc doesn''t shape correct"
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 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
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 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
2005 Jun 30
4
HTB: shaping internet bandwidth but don''t shape local network traffic
i got this problem, i want to shape my clients internet bw, but i
don''t want to shape my local network traffic. For information, my
clients using wireless to connect to my router[192.168.1.254].
when the clients request data from internet, example download from
www.download.com, i want to shape his bandwidth, but when the clients
[192.168.1.1] want to download from my file server example
2005 Apr 08
1
HTB + speed a bit lower than what shaped to
Hi Guys,
I have a little problem i dont understand why its happening,
Initially i thought it was a network problem, but then i made a
crossover between me and the server and shaped on that interface with as
minimal as possible config
this my test:
$TC qdisc add dev $INTERFACE root handle 1: htb default 30
$TC class add dev $INTERFACE parent 1: classid 1:1 htb rate 10Mbit
# POOL1
$TC class add
2007 Nov 19
15
Unexpected results using HTB qdisc
Hi All,
I am using the script below to limit download rates and manage traffic for a certain IP address and testing the results using iperf. The rate that iperf reports is much higher than the rate I have configured for the HTB qdisc. It''s probably just some newbie trap that''s messing things up but I''m buggered if I can see it.
The following script is run on the
2005 Jun 18
6
htb child classes don''t borrow form "parent''s parent class" :(
Dear list,
I have the problem that child classes don''t seem to issue the parent
class to borrow from their parent.
This is a simplified version of my script:
tc qdisc del dev $DEV root
tc qdisc add dev $DEV root handle 1: htb default 10
tc class add dev $DEV parent 1: classid 1:1 htb rate 10mbit
tc class add dev $DEV parent 1:1 classid 1:10 htb rate 1kbit ceil
512kbit
#groups
tc
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
2005 Dec 14
1
mgen & tc
Hello,
I have the following proplem. My DiffServ configuration is working fine
when I do ping, but when I use mgen the packets are not detected at the
core router.
Here is my core router configuration:
#!/bin/bash
tc qdisc add dev eth1 handle 1:0 root dsmark indices 64 set_tc_index
tc filter add dev eth1 parent 1:0 protocol ip prio 1 tcindex mask 0xfc
shift 2
tc qdisc add dev eth1 parent
2004 May 12
4
HFSC
Hi:
I am using a machine with the 2.4.26 kernel, and trying to compare the
performance of the HTB qdisc with the HFSC one. I have the following
simple script that allows me to have a video stream on port 1234 while
it limits a ttcp UDP stream so that the video stream is unimpaired.
#!/bin/bash
tc qdisc add dev eth0 root handle 1: htb default 12
tc class add dev eth0 parent 1: classid 1:1
2005 Dec 04
3
Shaping per machine
I''m trying to shape each machine on an interface to 256k each, but I''m
getting stuck and only able to shape an entire interface to 256k. What
should I be doing differently here?
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb default 10
tc class add dev eth0 parent 1: classid 1:1 htb rate 100MBit ceil 100MBit
tc qdisc add dev eth0 parent 1:10 handle 110:
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
2004 Aug 09
2
cbq dosen''t shape on MARK for one host.. strange!
Hello all, this is my first post here. Sorry for my english.
Gentoo LAN router, 2.4.26-hardened-r2
There are 2 WAN links, one LAN link. I am doing some iptables/routing/tc magic
in my scripts. What''s interesting is marking packets traveling from all IP''s
in LAN.
Interesting commands are:
-------------
for ip in `seq 50`;
do
$IPTABLES -t mangle -A FORWARD -o eth2 -d
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
2006 Sep 08
8
htb traffic shaping problem
Hello.
I have a linux server connected to a gigabit lan, and though that lan to a
768kbps/768kbps DSL modem.
I''m trying to shape my webserver running on port 80/443 down to 512kbps,
while leaving all other ports alone. The current configuration script that
I''m using is as follows:
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb default 99
tc class add dev
2002 Dec 03
4
Multiple classes
I''m trying to implement something similar the the diagram in section
9.5.2.1 in the LARTC HOWTO, but must have missed something somewhere :(
I''m trying to hack up wondershaper, as it looked like a good place to
start.. Here''s where I currently at, but I''ve tried alot of different
things, all failing, some worse than others. The end result is to throttle
back 126
2013 Dec 10
4
Structure needs cleaning on some files
Hi All,
When reading some files we get this error:
md5sum: /path/to/file.xml: Structure needs cleaning
in /var/log/glusterfs/mnt-sharedfs.log we see these errors:
[2013-12-10 08:07:32.256910] W
[client-rpc-fops.c:526:client3_3_stat_cbk] 1-testvolume-client-0: remote
operation failed: No such file or directory
[2013-12-10 08:07:32.257436] W
[client-rpc-fops.c:526:client3_3_stat_cbk]
2004 Jan 18
2
HTB + ESFQ in nat router for shape incoming by ip
Hi, i´ve read about this problem but i didn´t find any solution.
I have a router with nat like that:
internet - eth0 - Router - eth1 - Lan
I made a htb script for shaping outgoing in eth0 and it works great. The
problem begin with the incoming traffic... Like other people said, when
somebody in the lan uses the tipical download accelerator, the line is
out because the bandwidth is divided by
2007 Apr 04
13
tc questions
Hi to all of you!!!
I am a Computer Science student trying to do the pre-grade thesis. I am trying
to develop a free software tool to help administrators to control the
traffic. Right now this tool is based on tc and iptables.
I am having some problems trying to understand tc and tc examples:
- Why in almost every list of tc rules based on htb class, there is a "tc
qdisc dev ... root ...