Displaying 19 results from an estimated 19 matches for "120kbit".
Did you mean:
100kbit
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 120kbit
tc class add dev ppp0 parent 1:1 classid 1:22 htb rate 30kbit ceil 120kbit
tc class add dev ppp0 parent 1:1 classid 1:23 htb rate 30kbit ceil 120kbit...
2007 Jun 20
8
Why does scp stall on low bandwidth connections?
...how to set it up etc.
Everything seems to be working fine, until I started scp-ing a large file
over a low bandwidth connection as part of my testing process.
Here is the setup:
my pc --- bridge running tc/htb --- rest of network
TC is filtering traffic from "my pc" and classifies it as 120kbit (see my
script below). I then scp a 5MB file from a server in "rest of network" to
"my pc". Everything seems to work fine and copies at a speed of around
12KB/s, which is what I would expect from a 120kbit connection. At some
stage scp stalls and eventually disconnects or I get...
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
2003 Oct 31
2
tc filter oddities
...y''re not getting the parents I''ve intended. comments on the sanity
of my queue structure are welcomed (as are all others), but really I
should be able to deal with that after my filters agree to work, as the
fw ones were beforehand.
copy of script (commented):
//root limited to 120kbits (on 128kbit link)
tc qdisc add root dev eth1 handle 1: htb
tc class add dev eth1 parent 1: classid 1:1 htb rate 120kbit ceil
120kbit burst 2k
//first one is voip, second one is everything else
//this is a change from how i was doing it before and is untested
tc class add dev eth1 parent 1:1 class...
2006 Apr 10
4
EF & AF filters with HTB
...ev $DEVICE parent 1:0 protocol ip prio 1 tcindex mask
0xfc shift 2
# Main HTB Queue Discipline (2:0) & Class (2:1)
echo -e "Installing main HTB queue discipline and class...\n"
tc qdisc add dev $DEVICE parent 1:0 handle 2:0 htb
tc class add dev $DEVICE parent 2:0 classid 2:1 htb rate 120Kbit ceil 120Kbit
# EF Class (2:10)
echo -e "Installing EF class, PFIFO queue discipline and filter...\n"
tc class add dev $DEVICE parent 2:1 classid 2:10 htb rate 60Kbit ceil 120Kbit
tc qdisc add dev $DEVICE parent 2:10 pfifo limit 5
tc filter add dev $DEVICE parent 2:0 protocol ip prio 1 ha...
2004 Nov 19
2
HTB&IMQ
...onfig imq1 down
iptables -t mangle -F
#UPLOAD
ifconfig imq0 up
tc qdisc del dev imq0 root
tc qdisc add dev imq0 root handle 1 htb default 99
tc class add dev imq0 parent 1: classid 1:10 htb rate 1536kbit
# 8k max 15k
tc class add dev imq0 parent 1:10 classid 1:1020 htb rate 64Kbit ceil 120Kbit
tc qdisc add dev imq0 parent 1:1020 handle 1020 sfq
tc filter add dev imq0 parent 1:0 protocol ip prio 200 handle 1020 fw
classid 1:1020
#8k max 1536k SSH
tc class add dev imq0 parent 1:10 classid 1:1000 htb rate 120Kbit ceil 1536Kbit
tc qdisc add dev imq0 parent 1:1000 handle 1000 sfq
tc fi...
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 qdisc add dev ppp0 parent 2:3 handle 30: sfq perturb 20
# ICMP so we can see PRIO working
tc filter add...
2005 Nov 03
6
Cannot get htb & prio working together.
...and priority. The
problem is that the traffic doesn''t get classified at all, it just
seems to go through the root queue untouched.
This is the minimal config I''ve been testing with:
tc qdisc add dev eth0 root handle 1: htb
tc class add dev eth0 parent 1: classid 1:1 htb rate 120kbit
tc class add dev eth0 parent 1:1 classid 1:20 htb rate 30kbit ceil 120kbit
tc qdisc add dev eth0 parent 1:20 handle 20: prio
#Note: With a "prio" qdisc the class ID''s of nn:1 to 3 are automatically
provided
tc qdisc add dev eth0 parent 20:1 handle 201: sfq
tc qdisc add dev eth0...
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
2004 May 31
1
Wondershaper - question
...48 pkts (dropped 0, overlimits 0)
borrowed 0 overactions 0 avgidle 624 undertime 0
class cbq 1: root rate 10Mbit (bounded,isolated) prio no-transmit
Sent 1117031 bytes 6154 pkts (dropped 0, overlimits 0)
borrowed 0 overactions 0 avgidle 624 undertime 0
class cbq 1:10 parent 1:1 leaf 10: rate 120Kbit prio 1
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
borrowed 0 overactions 0 avgidle 624 undertime 0
class cbq 1:1 parent 1: rate 120Kbit (bounded,isolated) prio 5
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
borrowed 0 overactions 0 avgidle 624 undertime 0
class cbq 1:20 parent 1:1 leaf 20...
2002 Apr 11
3
encoding bitrates, different machines...
...en using jack, here is
relevant output:
first one:
01/|\enc/|\128/|\[coding @0.67× done,129kbit]
02/|\enc/|\128/|\[coding @0.69× done,124kbit]
03/|\enc/|\128/|\[coding @0.66× done,124kbit]
<etc>
econd one:
01/|\enc/|\128/|\[coding @5.50× done,116kbit]
02/|\enc/|\128/|\[coding @2.24× done,120kbit]
03/|\enc/|\128/|\[coding @1.40× done,121kbit]
<etc>
Note the big difference in bit rate... both is RC3. My best guess at the
moment is that the former was with a -b setting while the latter was
with a -q setting. I usually do everything at -q, but it might be that I
forgot to do so with...
2002 Nov 24
2
Extending Wondershaper a bit
...the wlan. So I
tried this:
$DEV=eth1
tc qdisc add dev $DEV root handle 1: htb default 40
tc class add dev $DEV parent 1: classid 1:1 htb rate 480kbit burst 6k
tc class add dev $DEV parent 1:1 classid 1:10 htb rate 80kbit ceil 480kbit
burst 6k
tc class add dev $DEV parent 1:1 classid 1:20 htb rate 120kbit ceil 480kbit
burst 6k
tc class add dev $DEV parent 1:1 classid 1:30 htb rate 270kbit ceil 480kbit
burst 6k
tc class add dev $DEV parent 1:1 classid 1:40 htb rate 1kbit ceil 480kbit
burst 6k
# all get Stochastic Fairness:
tc qdisc add dev $DEV parent 1:10 handle 10: sfq perturb 10
tc qdisc add dev...
2004 Apr 05
0
htb v3 question - quantum and r2q again
...kernel with tc3 from Devik''s site, RH9.
My data flow is about 100Mbit duplex and is subject to grow, so
I''m creating root class with 200Mbit rate, with r2q=10,
quantum = rate/r2q, and 1500 < quantum < 200000 (sch_htb.c)
with such r2q my default shaping window will be from 120Kbit to 16Mbit, right?
So, the question is choosing r2q=10 -> max bandwith for root class=16M,
or it affects only leafs?
--
Michael Vasilenko
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc...
2002 Apr 13
0
Bandwidth sharing...
....5.0/24
RULE=192.168.5.0/24,192.168.6.0/24
root@mail:/etc/cbq# cat cbq-128.ourDept-internet-total
DEVICE=eth0,100Mbit,10Mbit
RATE=100Mbit
WEIGHT=10Mbit
LEAF=none
PRIO=6
BOUNDED=yes
TIME=20:00-06:00;160Kbit/16Kbit
root@mail:/etc/cbq# cat cbq-129.DSD-P2P
DEVICE=eth0,100Mbit,10Mbit
RATE=120Kbit
WEIGHT=12Kbit
PRIO=8
PARENT=128
BOUNDED=yes
RULE=:1214
RULE=,:1214
RULE=:6346
RULE=,:6346
TIME=20:00-06:00;60Kbit/6Kbit
root@mail:/etc/cbq# cat cbq-130.ourDept-internet
DEVICE=eth0,100Mbit,10Mbit
RATE=100Mbit
WEIGHT=10Mbit
PRIO=6
LEAF=sfq
PARENT=128
BOUNDED=no
RULE=192.168.5.0/24
RULE=192.168.5.0...
2000 Aug 21
1
beta2?
The debian vorbis-tools package is labeled version 1.0beta2-1 - does this
mean that better compression for stereo has been implemented? (I forgot
what the correct term for this was.) I am waiting with a couple of CD's I
would have ripped and made mp3's of (I don't have a multi-cd shuttle in
my laptop... ;), so that I can rather make ogg files, but I don't want to
make them now and
2005 Dec 02
17
HTB - prio and rate
Hi all,
I''ve not been able to find an explanation of the relationship between
prio and rate as they apply to the HTB technique. Hopefully someone on
here will be able to help me.
As I understand things, when prio values are assigned to an HTB setup,
classes with a given prio value will only be serviced when there are no
packets waiting in classes with a lower prio value.
Now, does
2006 May 14
6
How do I limit download speed by ip address on the LAN?
Hello there,
I can modify /etc/shorewall/tcdevices to control overall IN-BANDWITH. It is quite effective. Just change 2mbit to 128kbit.
However, how do I limit download speed for a certain host IP on the LAN? I want to limit host 192.168.1.140 download speed to 128Kbit. Other hosts on the 192.168.1.0 LAN can still surf at 2mbit.
Any input welcome.
Kind Regards,
Michael
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
2004 Dec 21
18
Weighted packet shaping?
Hi all,
Im new to all this, and am still trying to get my head qround some of the
concepts of how this all works.
Ive read the howto''s, man pages etc.
Ive setup packet shaping on my router/server box using HTB and SFQ, but its not
working the way i would like.
Im after shaping that has "weights" for classes so that a lower priority class
will slow down when a higher class