Displaying 20 results from an estimated 165 matches for "64kbit".
Did you mean:
64bit
2002 Oct 16
10
htb limiting trouble: no overlimit or dropped packets
...an should be bandwidth limited and are
masqueraded by the router.
Q: Must the versions of the kernel module and the tc utility match?
Below are my commands to create the qdiscs and classes:
tc qdisc add dev eth1 root handle 1: htb default 20
tc class add dev eth1 parent 1: classid 1:1 htb rate 64kbit ceil 64kbit burst 5k
tc class add dev eth1 parent 1:1 classid 1:10 htb rate 64kbit ceil 64kbit burst 5k
tc class add dev eth1 parent 1:1 classid 1:20 htb rate 57kbit ceil 64kbit burst 5k
tc class add dev eth1 parent 1:1 classid 1:30 htb rate 51kbit ceil 64kbit burst 5k
tc class add dev eth1 parent...
2005 Sep 30
3
Ceil Rate
...;'m using:
/sbin/iptables -t mangle -A FORWARD -o eth1 -s ! 192.168.244.2 -j MARK --set-mark 53
tc qdisc add dev eth1 root handle 1: htb default 20
tc class add dev eth1 parent 1: classid 1:1 htb rate 100mbit burst 131072k quantum 59000
tc class add dev eth1 parent 1:1 classid 1:10 htb rate 64kbit quantum 1501
tc class add dev eth1 parent 1:1 classid 1:20 htb rate 1kbit ceil 100mbit burst 131072k quantum 1600
tc qdisc add dev eth1 parent 1:10 handle 10: sfq perturb 10
tc qdisc add dev eth1 parent 1:20 handle 20: sfq perturb 10
tc filter add dev eth1 protocol ip parent 1:0 prio 1 handle 53...
2004 Apr 06
0
hashing rule don''t match
...81.180.12.0/24 can
somebody help me ?
this is a part fo my script
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb default 1 r2q 1
tc class add dev eth0 parent 1: classid 1:1 htb rate 640Kbit ceil 640Kbit
prio 0
tc class add dev eth0 parent 1:1 classid 1:201 htb rate 1Kbit ceil 64Kbit
prio 7 quantum 1500
tc class add dev eth0 parent 1:1 classid 1:202 htb rate 1Kbit ceil 64Kbit
prio 7 quantum 1500
tc class add dev eth0 parent 1:1 classid 1:203 htb rate 1Kbit ceil 64Kbit
prio 7 quantum 1500
tc class add dev eth0 parent 1:1 classid 1:204 htb rate 1Kbit ceil 64Kbit
prio 7 quantum 15...
2003 Apr 09
1
HTB Question
...rejoin as they say I do exist, anyway hope you don''t
mind
Can you tell me what the difference between these two scripts is please.
What I want to achieve is a high speed channel 1000kbit from port 3000 from
an application running on the box doing the shaping, while shaping the
traffic at 64kbit going thru the box to the network, WITHOUT affecting the
small 64kbit bandwidth.
In EXAMPLE 1 ALL traffic goes thru 1:1 but does not seem to affect the slow
channels 1:2,1:3 and 1:4
In EXAMPLE 2 the port 3000 traffic only goes thru 1:998 and 1:997 but it
shows "lended" packets in the &qu...
2004 Oct 25
1
tc philosophy, will this work?
...s a tc solution
with fairness to hosts on a 512K/s DSL line, but few of them should be
restricted to 64K/s
I thought about htb + esfq (sfq with ip based fairness, not connection)
parent class with CEIL=500Kbit (no RULE? see *1) and attached esfq to this
parent class, now
child class with CEIL=64Kbit and RULE=10.0.0.1
child class with CEIL=64Kbit and RULE=10.0.0.2
child class with CEIL=64Kbit and RULE=10.0.0.N
child class with CEIL=500Kbit and RULE=10.0.0.0/24
is this correct? or:
*1 maybe here I will need RULE=10.0.0.0/24 ?
so the traffic would be directed to the parent and then 64Kbit fo...
2004 Jan 27
7
Whats wrong with my script?
...sh
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1 htb default 10 r2q 5
tc qdisc del dev eth1 root
tc qdisc add dev eth1 root handle 1 htb default 10 r2q 5
tc class add dev eth0 parent 1: classid 1:2 htb rate 5Mbit burst 15k
tc class add dev eth0 parent 1:2 classid 1:59 htb rate 64Kbit ceil 64Kbit
tc qdisc add dev eth0 parent 1:59 handle 59 sfq perturb 10
tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match ip src
192.168.0.50 classid 1:59
tc class add dev eth1 parent 1: classid 1:2 htb rate 5Mbit burst 15k
tc class add dev eth1 parent 1:2 classid 1:56 htb rate 64Kb...
2005 Feb 18
1
lartc on bridge, help
...0k
tc class add dev br0 parent 1:1 classid 1:11 htb rate 70kbit ceil
128kbit burst 20k
tc class add dev br0 parent 1:1 classid 1:12 htb rate 110kbit ceil
192kbit burst 20k
# class for wireless users
tc class add dev br0 parent 1:12 classid 1:21 htb rate 8kbit ceil
64kbit
tc class add dev br0 parent 1:12 classid 1:22 htb rate 8kbit ceil
64kbit
tc class add dev br0 parent 1:12 classid 1:23 htb rate 8kbit ceil
64kbit
tc class add dev br0 parent 1:12 classid 1:24 htb rate 8kbit ceil
64kbit
tc class add dev br0 parent 1:12 classid 1:25...
2005 Jan 31
3
why there is any traffic in default class?
I have:
tc qdisc add dev imq0 root handle 1: htb default 30
tc class add dev imq0 parent 1: classid 1:1 htb rate 512kbit ceil 512kbit
tc class add dev imq0 parent 1:1 classid 1:30 htb rate 64kbit ceil 512kbit
then:
iptables -t mangle -A PREROUTING -i ppp0 -s 192.168.2.2 -j IMQ --todev 0
tc class add dev imq0 parent 1:1 classid 1:22 htb rate 64kbit ceil 128kbit
tc filter add dev imq0 protocol ip parent 1:0 prio 1 u32 match ip src
192.168.2.2 flowid 1:22
so, as I understand any traffic fr...
2002 Nov 17
2
Ingress shaping for ISP clients
...the
incoming bandwidth my ISP''s clients use.
Please assist me with the following:
Diagram:
INTERNET
|
|
|
|eth0
----------- Linux router/shaper
|eth1
|
|
|
--------------- Clients1(64k)/2(128k)/3(64k)/...
Clients normally purchase bandwidth in bundles of 64kbit. and I need to
limit their incoming bandwidth so that they are restricted to the amount
they have purchased from me. Some clients buy 64kbit, 128kbit and 256kbit of
incoming bandwidth.
So far I''ve pick up the following:
iptables -A PREROUTING -t mangle -i eth0 -p tcp \
-s 0/0 -d <clie...
2004 Jan 20
1
example clarification needed
Hi,
I have a parent class 1:1 with rate=ceil=64kbit
i create 3 classes under it(1:1).
class 1:2 rate=ceil=32kbit
class 1:3 rate=ceil=16kbit
class 1:4 rate=ceil=16kbit
if 64kbit traffic is flowing from the cable all the 3 classes will get their respective shape.
1 .if only 32kbit data is flowing(for some reason).
a. Then how will the traffic gets...
2004 Nov 01
1
Big problem :(((((
...for provider''s network.
Afther the mark i send the packets to the followind classes:
script for eth0 (eth0 is my local network)
#!/bin/bash
tc qdisc del dev eth0 root >/dev/null
tc qdisc add dev eth0 root handle 1: htb default 3
tc class add dev eth0 parent 1: classid 1:1 htb rate 64kbit ceil 256kbit burst 15k quantum 1500 # Internet
tc class add dev eth0 parent 1: classid 1:2 htb rate 10Mbit burst 15k quantum 1500 # Metropolitan
tc class add dev eth0 parent 1: classid 1:3 htb rate 80Mbit burst 15k quantum 1500...
2004 Nov 18
6
Bandwidth throttling/limiting for all traffic
...hat behaves
over various link speeds. (we are in a lab environment)
Using kernel 2.6.5-1.358 I simply used these commands from Stef''s
version of tc from docum.org, module sch_htb is loaded.
tc qdisc add dev eth0 root handle 10: htb
tc class add dev eth0 parent 10: classid 10:1 htb rate 64kbit ceil 64kit
I thought that would do the job, but my testing from uploading files via
ftp to another box, show nothing gets shaped.
I think I''ve missed something here and need a clue. Alternatively can
anyone suggest any programs that are designed for doing this type of work.
Thanks
Dar...
2005 Feb 11
1
Help!!! Bandwith Control with a NAT machine
...uot; of bandwidth.
# this way no class will ever be starved by another class. Each
# class is also permitted to consume all of the available bandwidth
# if no other classes are in use.
$TC class add dev $DEV1 parent 1:1 classid 1:20 htb rate 64kbit ceil 1000kbit
$TC class add dev $DEV1 parent 1:1 classid 1:21 htb rate 64kbit ceil 1000kbit
$TC class add dev $DEV1 parent 1:1 classid 1:22 htb rate 64kbit ceil 1000kbit
$TC class add dev $DEV1 parent 1:1 classid 1:37 htb rate 832kbit ceil 1000kbit #por defecto
$TC class add dev $DEV1 pa...
2001 Feb 20
2
Incoming trafic shaping (depending on src IP)
Hi there,
i''m trying to shape incoming trafic on my linux box.
I want it to depend on the source IP adress of the packets (in fact, i got
a VPN on an ADSL link and wanted to get at least/max 64Kbit/s for the VPN)
So i tried this :
tc qdisc add dev ppp0 root handle 1:0 cbq bandwidth 512Kbit avpkt 1000 cell 8
tc class add dev ppp0 parent 1:0 classid 1:1 cbq bandwidth 512Kbit rate
512Kbit weight 50Kbit prio 8 allot 1514 cell 8 maxburst 20 avpkt 1000
tc class add dev ppp0 parent 1:1 classid 1:...
2005 Mar 23
5
tc + zebra/quagga
I have some problem with traffic shaping on debian testing. I actually posted
a full config on the list a while ago but didn''t get any answers.
The problem is that traffic doesn''t get into the user classes (~150) when I
associate a class with a qdisc. I tried sfq, fifo but none works. If I dont''t
associate a qdisc with a class classification occurs well.
2002 Sep 07
0
configuration problem
...ent 1: classid 1:1 htb rate 500Kbit prio 1
quantum 2000
tc class add dev eth1 parent 1: classid 1:2 htb rate 9999Kbit prio 1
quantum 2000
Classes:
tc class add dev eth1 parent 1:1 classid 1:601 htb rate 1Kbit ceil 500Kbit
prio 0 quantum 2000
tc class add dev eth1 parent 1:1 classid 1:602 htb rate 64Kbit ceil
500Kbit prio 0 quantum 2000
.
. (255 clases total)
.
tc class add dev eth1 parent 1:1 classid 1:6fe htb rate 128Kbit ceil
500Kbit prio 0 quantum 2000
tc class add dev eth1 parent 1:1 classid 1:6ff htb rate 1Kbit ceil 500Kbit
prio 0 quantum 2000
Filters
tc filter add dev eth1 parent 1: prio 1...
2003 Nov 24
1
u32 filter divisor/hashkey
Hi,
I am trying to put together a hashing filter based on example provided in
LARTC how-to document.
I want to link two hashing filters together where first one will use 3rd
octet of an IP address as hashkey and second one will use 4th octet as hash
key.
How do I tell mask the address so that u32 filter uses 3rd octet as hashkey?
Venkatesh K
_______________________________________________
2004 Nov 19
2
HTB&IMQ
...q0 down
ifconfig 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 10...
2004 Jan 19
3
Shaping inbound ok, outbound wrong
...07
tc class add dev eth0 parent 1:2 classid 1:108 htb rate 128Kbit ceil 128Kbit
tc qdisc add dev eth0 parent 1:108 handle 108 sfq perturb 10
tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match ip dst
200.43.134.24 classid 1:108
tc class add dev eth0 parent 1:2 classid 1:2211 htb rate 64Kbit ceil 64Kbit
tc qdisc add dev eth0 parent 1:2211 handle 2211 sfq perturb 10
tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match ip dst
200.43.134.220 classid 1:2211
tc class add dev eth0 parent 1:2 classid 1:2212 htb rate 128Kbit ceil
128Kbit
tc qdisc add dev eth0 parent 1:2212 handle...
2004 Nov 17
4
Help with prioritizing internet Cafe Terminals
Hi All,
I am new to tc so please forgive me. I have read as much documentation
as I can get my hands on, but I still have problems with getting the
rules right. Here is my scenario:
Internet Cafe/Office
4 Internet Cafe Terminals
3 Office Terminals
Leased Line connectivity at 64Kbps.
What I would like to have:
All Cafe terminals have priority to the internet over the office
machines. Each