Displaying 20 results from an estimated 7000 matches similar to: "Testing if tc works as configured and shaping rtp traffic"
2009 Aug 26
2
shaping torrent traffic
hi
who can ever help me out with the shaping of torrent traffic?
i have a pptp at ppp0 over eth0 (10.0.0.1/8)
i would like to shape outgoing traffic of rtorrent on these two
interfaces, assume rtorrent is running at port 6999
need 3mbit for ppp0 and 50mbit for eth0
i supposed:
[tcclasses]
ppp0   1   2mbit    3mbit   1
eth0    2   20mbit 50mbit   2
[tcrules]
1   0.0.0.0/0     0.0.0.0/0 tcp
2006 Dec 14
1
hfsc rule command problem
My hfsc rule ..
 
tc qdisc add dev eth2 handle 1: root hfsc 
iptables -t mangle -N ms-all
iptables -t mangle -N ms-all-chains
iptables -t mangle -N ms-prerouting
iptables -t mangle -A PREROUTING -j ms-prerouting
iptables -t mangle -A ms-prerouting -j CONNMARK --restore-mark
 
iptables -t mangle -A ms-prerouting -p udp --dport 4444 -j MARK --set-mark 1
iptables -t mangle -A ms-prerouting -p udp -m
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
2006 Jun 27
0
tc filter problems, please help...
Hi Guys,
I have a couple of problems that are driving me nuts.
This is the script I am using to setup restirctions and bw limitations:
#Adding root class.
tc qdisc add dev eth0 root handle 1: htb default 10 &>/dev/null
tc class add dev eth0 parent 1: classid 1:1 htb rate 100Mbit ceil 100Mbit 
burst 2k quantum 1536
tc qdisc add dev eth1 root handle 1: htb default 10 &>/dev/null
tc
2007 Feb 28
1
Xen and tc problems
Hi,
I am trying to shape traffic to two VMs hosted in Xen. There seems to be
very little information regarding this. I found this web page
http://www.ioncannon.net/system-administration/57/limiting-bandwidth-usa
ge-on-xen-linux-setup/ and followed the instructions. But, the real
bandwidth experienced from clients always seems to exceed the set rate.
Part of the problem may be because of the way
2007 Mar 13
4
Re: Standalone Shaping
On a router, there is no need for and IMQ because there is always an
egress path.
For example:
    Internet -> eth1 -> iptables -> routing -> ... -> egress qdisc ->
eth0 -> LAN
    LAN -> eth0 -> iptables -> routing -> .... -> egress qdisc -> eth1
-> Internet
    Local Process / Proxy -> routing -> iptables -> egress qdisc ->
eth1/eth0 ->
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 Dec 09
0
error in TC FILTER documentation ???
I''ve done some tests with TC FILTER and his PRIO
and think that is an error or OMISION on TC FILTER DOCUMENTATION
from: http://lartc.org/howto/lartc.qdisc.filters.html#AEN1100
	Let''s say we have a PRIO qdisc called ''10:'' which contains three
	classes, and we want to assign all traffic from and to port 22
	to the highest priority band, the filters would be:
2005 Jun 10
3
Lamer needs help for basic tc setup
Hi fellows,
i''m just a newbie to use the cool tc and played around
the last 2 weeks.
I''m quite confident - in theory - what''s possible and
the basic difference
between the queuing disciplines.
We''re using a Fedora Core 3 box as Gateway
(iptables,tc,iproute2 with NAT).
Clients are coming in via eth1 and outgouing traffic
(2Mbit/s SDSL) through
eth0.
So we
2004 Nov 03
0
Download ratio unstable
Hi, i''m newbie with traffic control. I create a script based in one from
Jason Boxman (thx a lot). the upload flow is prioritized well, but when i
download from a site, the down flow vary a lot from 25 KB to 4 KB. Before
i use this script the downloads are constant between 22 an 25 KB. Perhaps
there''s something wrong in my script ?
I paste it, thx.
2006 Jan 13
0
HTB not shaping correctly ? (or bad scripts...)
Hello to everybody,
We have an ADSL link with uplink speed of 530kbit, the goal is to divide the
traffic into three classes,
let say A, B and C.
A data rate of 240kbps must be guaratee to class A.
The remaing rate must be assigned: at least 180kbit to class B and at least
80kbit to class C.
The unused band of class A must be given to class B and C (if needed)
The unused band of class B must be
2006 May 09
3
tc del class not working
When I start my script:
*   - Creating classes on br1 for upload control ...
 *     - tc class add dev br1 parent 2:0 classid 2:46  hfsc ls m1
576.0Kbit d 2000ms m2 192.0Kbit ul m2 384Kbit ...
[ ok ]
 *     - tc class add dev br1 parent 2:46 classid 2:47 hfsc sc umax
1500b dmax 30ms rate 80Kbit .  [ ok ]
 *     - tc class add dev br1 parent 2:46 classid 2:48 hfsc ls m2
152.0Kbit ul m2 152.0Kbit
2007 Oct 30
0
2 NICS - local services not shaping correctly
Hi
Having a problem trying to figure out how to shape local services
running on the debian box (asterisk, squid etc) as currently the voice
only seems to be getting shaped one way when making external calls.  For
example I have the rules below (these are the matching rules only not
the actual policy rules):
 
#Create Chain for local traffic (outbound)
/sbin/iptables -t mangle -A match-all -m
2007 Apr 06
1
tc / MARK question
Hi,
I have a router, running iptables & tc, with 2 interfaces (eth0 & eth1).
I classify http traffic in iptables (prerouting mangle) coming in on eth0
and going out on eth1 with MARK 0x1, and I also classify return http traffic
coming from eth1 -> eth0 with MARK 0x1 as well. I then ACCEPT them in the
filter/FORWARD chain based on --mark 0x1.
However, I want to shape this traffic, and
2005 Dec 20
0
Question about tc class in skb
We''re using tc to classify all packets currently - it avoids conflicting 
with other packages that want to play with the ipfilters, and up to this 
point has done everything we need. However now I''d like to map the four 
htb flows I''ve set up (and are working great on their own) to the four 
wireless hardware driver queues when the driver currently only has 
support for
2006 Sep 13
1
HTB shaping problem
Hi all !
I''m building a network appliance whose goals are to enhance Voip
quality on 512/128k DSL links. But, i have a voice quality problem,
and i think i''m doing something wrong, but i can''t find what. Please
excuse my terrible english, i''m french.
>From what i''ve read, tc is the tool i need. I read the documentations,
readmes and lartc.org
2007 Jul 08
0
Troubles with tc/iptables - per TCP session tc
Hello,
 
I have read most of the relevant emails already posted to the LARTC mailingilist and I have not found a solution to my problem.
 
What I am trying to do is: limit the HTTP output traffic to 30Mbps and also to limit each HTTP connection at 512Kbps, if the client downloads more than 1MB. I have managed to limit the total traffic but not the traffic of each HTTP connection.
 
Here it is my
2005 Jul 07
1
HELP PLEASE BITTORRENT SHAPING (HTB)
Ok, earlier I post a message explaining my problem with HTB and layer7 (or 
ipp2p), about not being able to shape the traffic. Well, actually this is 
what''s happening, I''m marking the packets (right now, I''m using ipp2p as 
Klaus adviced me to) with iptables, and my queue rules are made using tcng, 
I''m using the HTB qdisc, and traffic is going to the HTB class
2006 Jan 04
3
TC/CBQ shaping problems
Hello everyone,
I''m a newbie experimenting with CBQ shaping and am facing a few problems.
Can any of you please help?
TEST SETUP:
+---------------+            +----------------+
| 10.0.0.103 |----------->| 10.0.0.102 |
+---------------+            +----------------+
10.0.0.103: Linux, 100Mbit/s NIC
10.0.0.102: Windows, 100Mbit/s NIC, iperf tcp server (ports 2000 and 2001)
WHAT I
2005 Apr 06
2
MARK vs CLASSIFY with tc
Hello list,
I just wonder if someone did any performance tests (speed of processing the 
packets) or maybe could advise about this two scenario:
1. packets are marked with iptables and processed by tc using filters
2. packets are sent by iptables directly to tc using CLASSIFY chain, thus 
avoiding the tc filters
I had some thinking about these two ways of dealing with egress traffic and my