Displaying 20 results from an estimated 9000 matches similar to: "What does tc shape?"
2005 May 30
3
Question: traffic shaping (tc-htb)
Hello *!
My trafficshaping (tc-htb) drops packets very early, at least i suspect
this. It drops about 30% fo the packets. The traffic-generating appication
is running locally on the shaping host. I think i can lower this rate by
increasing the packet-buffer, because the locally application will slow down
with increasing buffer (tcp/ip). But i can´t find any options for that, i
cycled the manual
2006 Apr 09
2
tc counters "problem"
Hi, I''m using tc and HTB to shape my outgoing ADSL traffic. I was trying to
make some graphs on the classes by meassuring the "sent bytes" of each class
using rrdtool to store the data (as kbps after conversion). I expected that
meassuring the root class I would get values similar that the ones I get
measuring the interface counters but they differ by a large amount.
Is
2004 Sep 12
0
routing failover
Hello,
i read an old message of Ard van Breemen with subject "More things about /proc /
failover of default gateway"
(http://mailman.ds9a.nl/pipermail/lartc/2002q1/002667.html)
and tryed to do the same config. But then i''m inserting the second default route
ip tells:
root@epia# ip route add default via 192.168.1.1
RTNETLINK answers: File exists
As i know, there are no way to
2006 Sep 14
10
tc is giving an error: RTNETLINK answers: File exists
Hello,
I''m using tc to limit the bandwidth of our wireless customers. I have a
working script, but I''m not happy with it. I''m trying to write a more
sophisticated script, but when I run it, it give me this error:
RTNETLINK answers: File exists
I have no idea what this error means or how to fix it. Here is a portion
of the script (the whole script shapes several
2007 Oct 25
7
TC (HTB) doesn''t work well when network is congested?
Hi,
I have a server and ten clients in a Gigabit network. The server has
125mbps network bandwidth.
I want that the server has 40Mbps bandwidth reserved for client 1 (IP
192.168.5.141), and the
rest bandwidth is for all other clients.
My script looks like this (I use IFB for incoming traffic):
#!/bin/bash
export TC="/sbin/tc"
$TC qdisc add dev ifb0 root handle 1: htb default 30
2006 Nov 12
9
Why did I need strange ceiling settings? (full version)
Sorry I pressed the wrong key and sent the message too early...
> -----Ursprüngliche Nachricht-----
> Von: Philipp Leusmann [mailto:philipp.leusmann@rwth-aachen.de]
> Gesendet: Mittwoch, 8. November 2006 12:53
> An: ''lartc@mailman.ds9a.nl''
> Betreff: Why did I need strange ceiling settings?
>
> Hi all,
>
> I recently installed traffic shaping on my
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 Apr 12
8
HTB ATM MPU OVERHEAD (without any patching)
I know there is that handy patch available to very efficiently use ATM
bandwidth, but I was wondering what the best values to use with a
non-patched iproute2 would be. Anyone here care to check my logic in coming
up with these numbers and perhaps suggest better values?
My transmit speed is 768kbps per ADSL line (I have two). This is the HTB
shaping I do on the interface (logic used for this
2003 Jun 06
4
tc show error for ingress
Hi,
I am trying to do both ingress and egress bandwidth management on a bridge.
eth0 is the WAN interface. IPTraf shows that the following script is running
successfully and it limits bandwidth both ways to 256 KB
However when I want to see the statistics using tc - it only shows me stats
for htb class
and not for ingress class. The tc output is as follows:
tc -s -d class show dev eth0
class
2006 Mar 02
33
Patch to allow for the ATM "cell tax"
I have been trying to optimise my ADSL connections for VOIP.
Funny things were happening - for example increasing the ping
packet size by 50% had no effect, but then adding one byte
had a major effect. It took me a while to figure out that I
was seeing the effects of the fixed ATM cell size.
This is probably obvious to some of you. For the rest: ADSL
uses ATM as its transport. An ATM
2004 May 13
19
HTB MPU
Hi.
I wrote in a reply to a mail on here recently that you can''t set mpu
(minimum packet unit) on HTB as you can on CBQ.
I''ve just noticed that there is a patch on devik''s site which does mpu
and overhead.
http://luxik.cdi.cz/~devik/qos/htb/
For dsl users mpu is, for practical purposes going to be 106 - overhead
is still variable though, depending on packet size.
2005 Oct 16
2
Lost packets and strange "behaviour" of my TC rules
Hi all.
I''m going on my 3rd week trying to get a simple traffic shapping to work the right way :( !!
My goal it to shape the traffic coming from one machine (pc1) to another machine (pc2) throught the "eth0" interface. My test configuration is as follows:
PC1
IP: 192.168.105.237
Mask: 255.255.255.0
OS: Red Hat Linux Kernel 2.4.20-8
Rules:
2005 Jul 27
13
HTB and PRIO qdiscs introducing extra latency when output interface is saturated
Im using a Linux machine with standard pc hardware with 3 seperate PCI
network interfaces to operate as a DiffServ core router using Linux
traffic control. The machine is a P4 2.8ghz, 512mb RAM running fedora
core 3 with the 2.6.12.3 kernel. All links and network interfaces are
full duplex fast ethernet. IP forwarding is enabled in the kernel. All
hosts on the network have their time sychronised
2007 May 20
3
dropped bytes in "tc -s class" output
Hi All
Is there any output that counts the number of dropped bytes (not packets)
just as in "Sent" in "tc -s class" output?
I have an HTB arrangement here I can see "dropped" in father/mother 1:0 qdisc
but NOT in each class (they are all zeroes).
These dropped are packets or bytes?
Why these "drops" do not show thenselves in its own class(es) under its
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
2006 Sep 09
2
Re: htb traffic shaping problem (Charlie Meyer)
Eric,
I''ve attached the output from the command you requested below.
I''m using kernel 2.6.17.12 and tc version ss060323. I''m have a nforce4
onboard giggabit controller using the forcedeth driver, if that makes a
difference.
Charlie,
I''ll take a look at the Apache model for throttling, thanks. I was going
for tc because was going to try to add additional
2004 May 04
3
shape outgoing/upload traffic PER-IP.
does anyone know a way to shape outgoing/upload traffic per ip?
I have a network and i want to limit the upload with 100kbit per user. Ex:
192.168.1.20 ----> 1024kbit-DOWN / 100kbit-UP
192.168.1.21 ----> 1024kbit-DOWN / 100kbit-UP
and so on.......
Ive tried CBQ and HTB, but couldnt get is right. the only thing that I did in upload bases was:
"tc qdisc add dev ppp0 root tbf rate
2006 Feb 23
4
HTB: far unequal behaivor at a slight conf rate change
Hi all!
I''m working in a " _really_ end user simple", yet powerfull, flexible,
scalable, GPL htb/htb-init front end, but now, in the "test fase" im facing
an utlimate problem...
Absoult minimalistic scenario: #Use a FIXEDFONT to read this
#inet-ethx-|FIREWALL|-lan-ethx <-> |client_host_1|
#
#FIREWALL class(rate,ceil) at lan-ethx
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
2006 Apr 12
0
CentOS-announce Digest, Vol 14, Issue 5
Send CentOS-announce mailing list submissions to
centos-announce at centos.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.centos.org/mailman/listinfo/centos-announce
or, via email, send a message with subject or body 'help' to
centos-announce-request at centos.org
You can reach the person managing the list at
centos-announce-owner at centos.org
When