Displaying 20 results from an estimated 6000 matches similar to: "slowing down traffic to a certain port"
2002 Dec 31
3
[tcng] More complex example?
Hi
I''m completely stuck with the tcng language - I assume there must be
some way to arrange queues hierachically like
eth1
|
TBF
|
PRIO
/ \
class class
but my attempt (below) produces a "inferno.tc:8: qdisc "tbf" has no
classes near "prio"" when run through tcc.
dev eth1 {
egress {
tbf (rate 128kbps, burst 64kb,
2005 Feb 02
8
can''t understand strange PRIO behaviour
Hello everybody,
sorry for bothering you, but after some hours, I''m stuck. I''m living in
a student''s foundation where I want to connect lots of people to a tiny
DSL link. We have exactly four types of traffic. We want a really hard
PRIO solution (as I promised to someone that group X will only use the
link capacity which isn''t used by group Y). I could make a
2001 Jun 26
1
prio fighting
Hi,
I have done this setup to give the machine 192.168.1.4 (masqueraded over
dialup) the highest priority:
#! /bin/bash
WHAT="add"
iptables -A PREROUTING -i eth0 -s 192.168.1.1 -t mangle -j MARK
--set-mark 1
iptables -A PREROUTING -i eth0 -s 192.168.1.4 -t mangle -j MARK
--set-mark 4
tc qdisc $WHAT dev ppp0 root handle 1: prio bands 3 priomap 0 1 2
tc qdisc $WHAT dev ppp0 parent 1:1
2004 Jun 25
1
TBF maximum bucket size
I''m trying to fill a token bucket with enough tokens to burst several gigs
of data. However, it doesn''t seem to get any higher than ~3.9GB:
>tc qdisc add dev eth0 root tbf rate 1440kbit latency 50ms \
burst 16000000000
>tc qdisc show dev eth0
qdisc tbf 800b: rate 1440Kbit burst 3908420240b lat 2197.8s
A smaller attempt of ~1.6 gigs works just fine:
>tc qdisc
2007 Jun 14
16
PQ questions
Hi all,
First, let me say I''ve been most impressed with how quickly and
professionally people on this list ask and answer questions.
Next, let me say that with which I need help is properly configuring strict
PQ, and gathering certain stats. Specifically:
- I need to create a priority queue with four queues (let''s say they are of
high, medium, normal, and low priority)
- I
2003 Apr 04
1
iproute question
Hello all,
My company is sharing it''s internet access with a neighbor and the neighbor
in question was eating our bandwidth (both in upload and download) most of
the time. I finally set up a linux router to limit the incoming/outgoing
bandwidth to his network by adding a tbf on eth0 interface and eth1 interface
of the router (neighbor is behind eth1 and we are in-between him and the
2002 Oct 28
1
Deleting ingress tbf
Quick question:
How do I delete an ingress tbf?
[root@atlas root]# tc qdisc
qdisc tbf ffff: dev eth0 rate 50Kbit burst 2999b lat 1us
[root@atlas root]# tc qdisc del dev eth0 ingress
RTNETLINK answers: Invalid argument
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
2005 Dec 04
6
tbf and prio blocking some flows entirely
I thought I had this all worked out, but it seems not. The following tc
configuration:
tc qdisc del dev ppp0 root 2> /dev/null > /dev/null
tc qdisc add dev ppp0 root handle 1: tbf rate 120kbit burst 1200 limit 1
tc qdisc add dev ppp0 parent 1:1 handle 2: prio bands 3
tc qdisc add dev ppp0 parent 2:1 handle 10: sfq perturb 20
tc qdisc add dev ppp0 parent 2:2 handle 20: sfq perturb 20
tc
2007 Aug 29
1
Alternative section to the HOWTO...
IMHO, the priomap explanation in the 9.2.1.1. of the LARTC HOWTO is not
clear enough. I only understood it''s real behavior until I read this
document from Russell Stuart:
http://ace-host.stuart.id.au/russell/files/tc/doc/tc/priority.txt So, based
in this information, I''ve prepared an alternative priomap explanation for
this section of the HOWTO, if you like it as it is I could
2004 Nov 29
2
Interesting oopses...
OK - this is starting to get frustrating... Are there any known issues
with 2.6.9 and traffic shaping? I am using 2.6.9 with geoip 20041115,
and get odd oopses. The following script oopses my box:
-----------------------------------------------------
#!/bin/sh -x
IFOUT=''eth1''
IFIN=''eth0''
TC=''/sbin/tc''
2006 Feb 23
1
1k: 1000 or 1024?
The docs[1][2] suggest it''s 1024, but tc says something else:
# tc qdisc add dev eth0 root tbf rate 1kbps latency 50ms burst 1500
# tc -s qdisc ls dev eth0
qdisc tbf 8009: rate 8000bit burst 1499b lat 48.8ms
^^^^^^^
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
If 1k were 1024, then I would have 8192bit above.
2007 Apr 23
1
Multiple bands with equal priority ?
I''m trying to build a wan latency test environment, where packets
from different "remote" locations get delayed by different amounts
of time, depending on which remote location we''re pretending they
are from.
Currently, I''m doing this using the ''prio'' qdisc to obtain multiple
bands, and hanging a different netem qdisc off each of the branches
2005 Jan 11
3
Need help regarding TBF Token rate setting
Hi,
I would like to know how to specify the token rate when a tbf qdic is created using tc tool.. Will it be
a default value when tbf qdisc is created?
This could be a silly question.... im quite new to all these stuff.. but im really interested..
any help will be most appreciated...
thanks in advance,
sanjeev
--
______________________________________________
Check out the latest SMS
2004 May 04
4
Wrapping prio in tbf
The manual says (about prio):
> Because it doesn''t actually shape, the same warning as for SFQ holds:
> either use it only if your physical link is really full or wrap it
> inside a classful qdisc that does shape. The latter holds for almost all
> cable modems and DSL devices.
I want to wrap prio inside of tbf. Here''s why: I have a server on a DSL
line, which has
2007 Aug 22
4
Limited number of bands in PRIO qdisc
Hello,
is it possible that the number of bands for the PRIO qdisc is limited to 16?
tc qdisc add dev $DEVICE root handle 1: prio bands 16 priomap 1 2 2 2 1 2 0 0
1 1 1 1 1 1 1 1
succeeds but
tc qdisc add dev $DEVICE root handle 1: prio bands 17 priomap 1 2 2 2 1 2 0 0
1 1 1 1 1 1 1 1
returns: ''RTNETLINK answers: Invalid argument''
Is there any possibility to raise the
2003 Aug 29
1
Priomap
Hi all,
Here is something that i still haven''t understood.
When installing PRIO, it creates 3 "classes" with priority level according
to the TOS.
That command line :
# tc qdisc add dev eth0 root handle 1: prio
give that result :
# tc qd sh
qdisc prio 1: dev eth0 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
How should i read that priomap, what does it mean and how to
2007 Jun 15
0
sangoma WAN boards with lartc
Hi
anyone using sangoma hardware with lartc? pls let me know
Thanks
Imthiyaz
Original Message:
-----------------
From: lartc-request@mailman.ds9a.nl
Date: Fri, 15 Jun 2007 12:00:07 +0200 (CEST)
To: lartc@mailman.ds9a.nl
Subject: LARTC Digest, Vol 28, Issue 23
Send LARTC mailing list submissions to
lartc@mailman.ds9a.nl
To subscribe or unsubscribe via the World Wide Web, visit
2007 May 08
5
limit bandwidth per host question
EHLO tc gurus.
New to traffic control. Unfortunately, the politicians here in Denmark
have decided that a PC is the same as a television set - so anyone
owning a PC and internet connection of over 255 kbit/s must pay DKR
2200/year = EUR 300 = USD 400 in television licence fees :-( This is a
lot of money for poor students, so we want to offer the students the
*option* of limiting their
2007 Jun 08
5
CBQ + Layer7 x Emule
Hi All ,
My first message and I have a little problem with my FC6 box trying to block
emule traffic using layer7 .
Here my network :
Internet --------- ADSL Router ------------------- FC6 Box
-------------------- Emule Box
external ADSL : Dynamic
Internal ADSL : 192.168.254.1
external FC6 : 192.168.254.3
internal FC6 : 192.168.253.1
Emule Box : 192.168.253.3
I guess that everything
2005 Feb 06
2
problems with u32 fiter
hello to all
i''m trying to set a filter but doesn''t want to work.
i''ve set ut the qdiscs and the classes like this :
tc qdisc add dev ppp0 root handle 1: htb default 20
tc class add dev ppp0 parent 1: classid 1:1 htb rate 120kbit
tc class add dev ppp0 parent 1:1 classid 1:20 htb rate 30kbit ceil 120kbit
tc class add dev ppp0 parent 1:1 classid 1:21 htb rate 30kbit ceil