Displaying 20 results from an estimated 20 matches for "240kbit".
Did you mean:
200kbit
2006 Mar 31
2
__Very__ Low Bandwidth
...Pearson
#!/bin/bash
CLIENT1=192.168.1.190/32
CLIENT2=192.168.1.191/32
OPER=add;
DEV=eth0
RATE=3kbit
PEAKRATE=3kbit
BUFFER1=10kb
BUFFER2=10kb
echo -e "Attach Egress policy..."
tc qdisc $OPER dev $DEV root handle 1:0 htb default 15
tc class $OPER dev $DEV parent 1:0 classid 1:1 htb rate 240kbit
tc class $OPER dev $DEV parent 1:1 classid 1:2 htb rate 240kbit ceil 240kbit
tc class $OPER dev $DEV parent 1:1 classid 1:3 htb rate 240kbit ceil 240kbit
tc class $OPER dev $DEV parent 1:1 classid 1:15 htb rate 240kbit ceil
240kbit
tc qdisc $OPER dev $DEV parent 1:2 handle 2:0 tbf rate $RATE bur...
2002 Jun 06
1
parameter of htb
...sc show dev eth0
qdisc htb 1 dev eth0 r2q 10 default 12
direct_packets_stat 0 Sent 34210198 bytes 23370
pkts(dropped 0 overlimits 35534)
!!!!first question: what is meaning of "r2q" and
"direct_packets_stat"
tc -s -d class dev eth0
class htb 1:11 root prio 0 quantum 3072 rate 240kbit
ceil 800kbit burst 2kb/8 mpu 0b cburst 2636b/8 mpu 0b
level 0 Sent 0 bytes 0 pkts(dropped 0 overlimits 0)
lended:0 borrowed:0 giants:0 tokens:54612 ctokens
20992
class htb 1:10 root prio 0 quantum 3072 rate 240kbit
ceil 800kbit burst 2kb/8 mpu 0b cburst 2636b/8 mpu 0b
level 0 Sent 0 by...
2006 Jan 13
0
HTB not shaping correctly ? (or bad scripts...)
...kbit 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 given to C (if needed)
The unused band of class C must be given to B (if needed)
We started with the following HTB configuration:
#
DEV_RATE=530kbit
DEV_CEIL=530kbit
RT_RATE=240kbit
RT_CEIL=240kbit
MC_RATE=180kbit
MC_CEIL=530kbit
BE_RATE=80kbit
BE_CEIL=530kbit
OUTDEV=atm0
iptables -t mangle -F
iptables -F
tc qdisc del dev $OUTDEV root handle 1:
# Classification of A
iptables -t mangle -A PREROUTING -p udp --dport 50000 -j MARK --set-mark 100
iptables -t mangle -A PREROUTIN...
2005 Oct 23
1
Script for metropolitan
....txt | iptables-restore -n
IF="eth0"
RATE_INET="256kbit"
RATE_METRO="1024kbit"
CEIL="512kbit"
#traficul implicit se duce in clasa 1:20 (internet)
tc qdisc add dev $IF root handle 1:0 htb default 20
tc class add dev $IF parent 1:0 classid 1:1 htb rate 240kbit
# clasa 1:10 pt traficul metropolitan
# clasa 1:20 pt traficul extern
# poti sa renunti la prio daca nu vrei prioritati diferite
tc class add dev $IF parent 1:1 classid 1:10 htb rate $RATE_METRO ceil $CEIL prio 2
tc class add dev $IF parent 1:1 classid 1:20 htb rate $RATE_INET ceil $CEIL prio...
2003 Dec 03
12
$100 USD to the first person that can provide the rules/scripts that will solve the QOS latency & bandwidth allocation issue !!!!
To stress the urgency and importance of my questions, I am willing to
pay $100 to the first person that can provide me with the scripts/ rules
that will work in my SnapGear firewalls that will solve the problems I
am having.
Please see the following post:
Linux QOS and prioritization of real-time data (RTP/VoIP)
Thank you!
2004 Jun 09
2
SFQ with Per Flow Caps
I''d like to implement something like SFQ, but with a cap of a rate per
flow. Essentially, I''d like to be able to limit citrix connections to
30KBps without having an overall traffic flow cap for all citrix
connections. Slightly preferable to this would be something that would
actually work per flow instead of the stochastic algorithm.
Is this possible?
Thanks,
Bill
--
2007 Jul 04
1
infinite amount of data for HTB burst
...00kbyte/s) and higher
latency)
(2) on the desktop, a special restricted technical user
(call it "p2p") runs p2p software. The desktop-to-inet
traffic should be split into two parallel flows, "p2p" and
"!p2p". The entire desktop-to-inet traffic should be
constrained to 240kbit/s. If the two flows don''t compete for
this 240kbit/s (their combined upload stays below
240kbit/s), then each can use whatever it feels like (for
example, "p2p" uses 220kbit/s, "!p2p" uses 10kbit/s). If
they do compete, then "p2p" should be constrained to
140k...
2005 May 14
1
Strange HFSC behavior - bug? my misconfiguration/lack of knowledge?
...it''s not all
the link can do (240) - the rest remamins unused.
Is this my fault or the qdisc? (I must tell that htb works fine - I get all
the bandwidth I can no matter how many threads I use)
I enclose my config below
---------------------------cut---------------------------
$uplink=240kbit
tc qdisc add dev imq0 root handle 1: hfsc default 1009
#main class
tc class add dev imq0 parent 1:0 classid 1:1000 hfsc ls rate $uplink \
ul rate $uplink
#default
tc class add dev imq0 parent 1:1000 classid 1:1009 hfsc ls rate 1kbit \
ul rate 10kbit
#traffic from the server
tc class add dev i...
2003 Apr 23
1
cbq.init
...Ids and no PARENT rule?
What style of ID numbering you use if there is many conf files?
I read about htb.init problem here:
"<snip>
LEAF=sfq
RULE=192.168.1.[1..6]
The problem is when user start to download with Flashget,MassDownloader
(with 10 threads) he kills the internet connection (240Kbit) without
overlimiting his 80Kbit. Other users get 1-2kbps, witch is extremely
unpleasant." And the answer: "You can try the esfq qdisc. You can create the
different queues based on ip-addresses and/or ports and this for source
and/or destination."
I have cbq.init and LEAF=default...
2006 Jan 08
1
unexpected drop
...used for GRE tunnel)
3. 80kbit rate (for generic data traffic)
For each class, using "iperf", I send some data from a PC (connected attraverso eth0 device)
to a remote destination. The remote destination is the GRE tunnel terminator.
The data traffic test is different for each class:
1. 240kbit, 60byte packet size, UDP protocol
2. 200kbit, 250byte packet size, UDP protocol
3. 80kbit, 235byte packet size, UDP protocol
In this way I got a lot of dropped packets on each class, while my expected results was
a many drop packages only on the second class.
Can someone help me?
Thank all you,
r...
2005 Nov 04
4
Latency/burst problem with HTB
Hi all :)
I''m new to this list, as I''m new too to traffic shaping ;) I''ve
set up an FTP server in my ADSL line and I wanted it to serve as fast
as possible as long as I don''t use my outgoing ADSL bandwidth, and
I''m currently using HTB for that (succesfully, I must add).
The problem is (when the FTP server is serving higher than its
2005 May 26
2
Leaky bucket in TC
Hi,
I am trying to control bandwidths of the connections by using TC with
HTB. But I want to implement Leaky Bucket on this structure so as to
have a straight flow.
Due to being new in this area, could anyone help me how I could do this?
Does TC support leaky bucket?
Best regards,
Fatih Duzova
2005 Mar 15
1
Traffic Shaping multiple incoming broadband sources?
...bit ceil 224kbit prio 1 quantum 1500
tc class add dev eth0 parent 1:2 classid 1:220 htb rate 362kbit ceil 640kbit prio 2 quantum 1500
tc class add dev eth0 parent 1:2 classid 1:230 htb rate 640kbit ceil 960kbit prio 3 quantum 1500
tc class add dev eth0 parent 1:2 classid 1:240 htb rate 180kbit ceil 240kbit prio 4 quantum 1500
tc qdisc add dev eth0 parent 1:210 handle 210: sfq perturb 10
tc qdisc add dev eth0 parent 1:220 handle 220: sfq perturb 10
tc qdisc add dev eth0 parent 1:230 handle 230: sfq perturb 10
tc qdisc add dev eth0 parent 1:240 handle 240: sfq perturb 10
tc filter add dev eth0 parent 1...
2002 Jun 18
7
Better filtering to a class
Dear all,
I want to make a filter for all IRC-Dalnet traffic, so I want to put all
traffic for port 6660, 6661, 6662, 6663, 6664, 6665, 6666, 6667, 6668, 6669,
7000, 7001, 7002, and 8000 to a class. So, I create a TC script as below.
I''m sure, it is not effective, and we can write it in simpler.
I need help, how to make my script below are simpler.
The simpler, the better.
Thank you
2003 Nov 13
1
HTB traffic shaping + squid cache proxy
...ll
$TC qdisc del dev ppp0 root 2> /dev/null > /dev/null
$IPTABLES -F POSTROUTING -t mangle
$TC qdisc add dev eth0 root handle 1: htb default 50 r2q 2
$TC class add dev eth0 parent 1: classid 1:2 htb rate 248Kbit burst 35k
$TC class add dev eth0 parent 1:2 classid 1:10 htb rate 220Kbit ceil 240Kbit burst 25k prio 0
$TC class add dev eth0 parent 1:2 classid 1:30 htb rate 28Kbit ceil 28Kbit burst 10k prio 1
$TC qdisc add dev eth0 parent 1:10 handle 11: sfq perturb 10
$TC qdisc add dev eth0 parent 1:30 handle 33: sfq perturb 10
$IPTABLES -t mangle -A POSTROUTING -o eth0 -s ! 192.168.0.0/24 -j...
2005 Jan 08
2
script
...qdisc del dev eth1 ingress 2> /dev/null > /dev/null
$IPTABLES -F POSTROUTING -t mangle
$TC qdisc add dev eth0 root handle 1: htb default 50 r2q 2
$TC class add dev eth0 parent 1: classid 1:2 htb rate 248Kbit burst 35k
$TC class add dev eth0 parent 1:2 classid 1:10 htb rate 220Kbit ceil 240Kbit burst 25k prio 0
$TC class add dev eth0 parent 1:2 classid 1:30 htb rate 28Kbit ceil 28Kbit burst 10k prio 1
$TC class add dev eth0 parent 1: classid 1:60 htb rate 1Kbit ceil 100Mbit prio 1
$TC qdisc add dev eth0 parent 1:10 handle 11: sfq perturb 10
$TC qdisc add dev eth0 parent 1:30 handle 33...
2004 May 09
3
prerouting does not effect filtering
I try to shape traffic using HTB and mark packets within iptables using
PREROUTING. But the filterrules seems to ignore the marks set with
PREROUTING
Only POSTROUTING marks are accepted.
First my configuration
I have a router connected to the internet via ADSL over interface ppp0.
eth0 is a tunnel to ppp0 and eth1 serves the LAN.
LAN is 192.168.57.0/24 on 10Mbit
ppp0 is 80.126.16.44 on
2007 Aug 30
17
Question about how TC enforces bandwidth limiting
Hello,
I run one of my PCs as my personal router, with iptables+tc to control
traffic and be my firewall.
In TC, I use a combination of htb, qdisc and sfq (as well as prio) to
classify bandwidth. In my current setup, I have 10 classifications of my
bandwidth. (Even I admit this is probably more than I need, but at this
point I''m still learning, so I''ll just leave them be.)
2005 Feb 16
10
VOIP Challenges...
Greetings -
I''m new to QoS, so please be gentle (and yes, I''ve RTFM, though I don''t
understand every bit of it)
Here''s the thing; I''ve tried several scripts--simple and complex--for
classifying my Vonage traffic into a high-priority queue, but no matter what
I do it doesn''t seem to work. Right now I''m using the HTB script
2009 Apr 30
15
Shorewall Firewall con Openswan and OpenVPN
Hello guys,
I past the last days trying to configure my shorewall 4.06 firewall to
allow openvpn bridging connection.
My scenario is the following:
roadwarrior (openvpn client) -------------> Internet ------------>
(X.Y.W.Z - eth0) Firewall/Gateway (10.x.x.254 - eth1) --------> Local
Lan -------> OpenVPN Server (10.x.x.249 - br0)
where 10.x.x.0-254 is my private lan
X.Y.Z.W is