Displaying 20 results from an estimated 50 matches for "8kbit".
Did you mean:
8bit
2005 Mar 15
1
how to bring down htb rate to 3kbit?
Hello Everybody,
I am successful in throttling down the Bandwidth to 8kbit using HTB. Below that I get report to change r2q. I want to bring down the Leaf class Bandwidth to 3kbit.
My script is as below:
Tc Script to throttle down the Bandwidth to 8kbit based on MAC address and IP address
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1:0 htb default...
2005 Mar 12
0
I want to bring down the HTB rate to 3kbit-r2q? quantum?
...um.I am running TCNG 10-b but I am not able to classify packets based on MAC address using tcng, so I am running tc commands in /tcng/bin and they are working. But is there a way out to classify packets based on MAC address using TCNG.
And, I am successful in throttling down the Bandwidth to 8kbit using HTB. Below that I get report to change r2q. I want to bring down the Leaf class Bandwidth to 3kbit.My script is as below:
Tc Script to throttle down the Bandwidth to 8kbit based on MAC address and IP address
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1:0 htb defaul...
2005 Feb 18
1
lartc on bridge, help
...tc qdisc del dev br0 root
rc_status -v
;;
*)
tc qdisc del dev br0 root
tc qdisc add dev br0 root handle 1: htb r2q 1
tc class add dev br0 parent 1: classid 1:1 htb rate 230kbit
tc class add dev br0 parent 1:1 classid 1:10 htb rate 50kbit ceil
128kbit burst 20k
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 8kbi...
2007 Feb 27
2
Creating a contended section of bandwidth with HTB and IMQ
Hi All,
I''m trying to create a contended section of bandwidth using IMQ. I have the
imq0 device up and running, with traffic passing through it.
Firstly, I need to throttle the entire device imq0 to 2mbit/s.
I would then like to add throttle rules for individual IP addresses, allowing
them to pass up to 512kbit/s each, as long as imq0 has not reached its
2mbit/s.
The configuration
2005 Mar 14
1
htb.init issues
...ld classes 1xyz
best-effort parent class 2000
best-effort child classes 2xyz
default class 3000
Here''s how I do it:
eth1:
DEFAULT=3000
eth1-0010.root:
RATE=100Mbit
LEAF=sfq
eth1-0010:1000.premium
CEIL=352Kbit
RATE=352Kbit
PRIO=2
LEAF=sfq
eth1-0010:1000:1xyx.child1
CEIL=32Kbit
RATE=8Kbit
PRIO=3
LEAF=sfq
RULE=<public ip>,
eth1-0010:2000.best-effort
CEIL=500Kbit
RATE=500Kbit
PRIO=3
LEAF=sfq
eth1-0010:2000:2xyz.child1
CEIL=16Kbit
RATE=8Kbit
PRIO=2
LEAF=sfq
RULE=<public ip>,
eth1-0010:3000.default
RATE=2Kbit
PRIO=7
An output from tc commands generated by the script:
/s...
2003 Jun 15
3
how to emulate large IP routing table
...;
> #######################################
> #Setting up top 10 qdiscs
> #for initial Exatt packet classification
> #######################################
> tc class add dev eth0 parent 1:1 classid 1:3 cbq bandwidth 1Mbit rate
80Kbit allot 1514 cell 8 maxburst 20 avpkt 1000 weight 8Kbit bounded
isolated
> tc filter add dev eth0 parent 1:1 protocol ip u32 match ip src
192.168.10.0/24 classid 1:3
> tc filter add dev eth0 parent 1:1 protocol ip u32 match ip dst
192.168.10.0/24 classid 1:3
>
> tc class add dev eth0 parent 1:1 classid 1:4 cbq bandwidth 1Mbit rate
80Kbit all...
2005 Jan 24
3
Htb, imq and sfq traffic shaping
Hello,
I wrote a simple traffic shaping script (below) that should have allowed me to shape my internet traffic a bit (ppp0 - adsl 128kbit/64kbit; local interface eth0).
The script works only partially - the speed is being limited but too much. Without running this script my download rate is about 10kBytes (with second computer also downloading at about 6kBytes). After running it my download speed decreases to about 1..2kBytes and so...
2004 Jun 30
3
HTB and iptables statistics
Hello.
The problems are:
1. Using HTB I get negative values for tokens and ctokens in tc -s
output, for example:
mich:~# tc -s -d class show dev eth0
class htb 1:11 parent 1:1 prio 1 quantum 1024 rate 8Kbit ceil 23Kbit burst 1609b/8 mpu 0b
cburst 1628b/8 mpu 0b level 0
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
lended: 0 borrowed: 0 giants: 0
tokens: 1287999 ctokens: 453286
class htb 1:1 root rate 32Kbit ceil 32Kbit burst 1639b/8 mpu 0b cburst 1639b/8 mpu 0b level 7
Sent 2629492 bytes 29142...
2002 Dec 07
4
Why my script doesn''t work ???
Hi All,
I''m using iptables-1.2.7a on RedHat8 kernel 2.4.20.
I wanted to limit the file-sharing traffic to the internet.
I marked the packets with iptables:
iptables -A FORWARD -t mangle -p tcp -s 192.168.1.1/24 -d !
192.168.1.1/24 --dport 1024:1862 -j MARK --set-mark 1
iptables -A FORWARD -t mangle -p tcp -s 192.168.1.1/24 -d !
192.168.1.1/24 --dport 1864:65535 -j MARK --set-mark 1
2004 Mar 19
8
r2q
Hi...
I''m working with HTB, and have a question...
what happen if I create a class of "8kbit" ??
I get a log :
"HTB: quantum of class .... is small. Consider r2q change"
but, my r2q=1 I can''t reduce that variable...
how must I procced ?
Thank you!
mac
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9...
2005 Jan 05
0
tc and ntop inconsistent trafic.
...ww.ntop.org),
it is seen that overall traffic which that ip block handles is
much higher then 64kbit, actually it is about 500Kbps which
is not what I want !.
tc -s class show dev eth0
shows that I got the following
[root@nat root]# /usr/local/sbin/traffic-limit.sh status
class cbq 1: root rate 168Kbit (bounded,isolated) prio no-transmit
Sent 6068639 bytes 5841 pkts (dropped 0, overlimits 0)
borrowed 0 overactions 0 avgidle 38094 undertime 0
class cbq 1:1 parent 1: rate 8Kbit (bounded,isolated) prio 5
Sent 1460691 bytes 3174 pkts (dropped 0, overlimits 12339)
borrowed 0 overactions 1372 avg...
2004 Nov 01
1
Big problem :(((((
...c add dev eth0 parent 1:1020 handle 1020: sfq perturb 5 quantum 1500
tc class add dev eth0 parent 1:2 classid 1:300 htb rate 5Mbit prio 5 quantum 1500 burst 15k
tc qdisc add dev eth0 parent 1:300 handle 300: sfq perturb 5 quantum 1500
tc class add dev eth0 parent 1:300 classid 1:3001 htb rate 8kbit ceil 256kbit prio 5 quantum 1500 burst 15k
tc qdisc add dev eth0 parent 1:3001 handle 3001: sfq perturb 5 quantum 1500
tc class add dev eth0 parent 1:300 classid 1:3002 htb rate 8kbit ceil 256kbit prio 5 quantum 1500 burst 15k
tc qdisc add dev eth0 parent 1:3002 handle 3002: sfq per...
2007 May 02
7
tc u32 match !port
How can i redirect all traffic that not come from port 80 to a flow ?
i was thing about some like
tc filter add dev imq1 parent 1: protocol ip prio 7 u32 match ip sport
!80 ......
But this not work.
Another doubt, if i have two rules that intersects , for example ,
one filter with u32 match ip src 10.10.10.10 flowid 1:10
and other with u32 match sport 80 0xffff flowid 1:11 , which one will
2013 Jun 08
3
Inbound traffic shaping issue with a phantom limit
Hello Everyone,
We have a standalone Debian Wheezy box for game/web/VoIP server. My problem
is that somehow the inbound traffic is limited to 4kbit/s to 8kbit/s by
default whereas it''s set to 3*full/10 with 9*full/10 ceiling. The interface
is set to 100Mbit/sec and it actually gives that performance with the
corresponding outbound traffic limits. Naturally when I stop shorewall this
phantom limit disappears.
I think I did everything by the book...
2005 Jan 06
3
tc and ntop inconsistent data flow
...of this inconsistancy? How could I limit 64 Kbps? Is the above
configuration correct?
Many thanks for any kind of comment why it is different?
-Mehmet
PS:
tc -s class show dev eth0
shows that I got the following
[root@nat root]# /usr/local/sbin/traffic-limit.sh status
class cbq 1: root rate 168Kbit (bounded,isolated) prio no-transmit
Sent 6068639 bytes 5841 pkts (dropped 0, overlimits 0)
borrowed 0 overactions 0 avgidle 38094 undertime 0
class cbq 1:1 parent 1: rate 8Kbit (bounded,isolated) prio 5
Sent 1460691 bytes 3174 pkts (dropped 0, overlimits 12339)
borrowed 0 overactions 1372 avg...
2006 Dec 13
0
classid, prio and position
...ables -t mangle -A test-all -m physdev --physdev-in eth0 -s
192.168.2.0/24 -d 192.168.2.0/24 -j MARK --set-mark 0x44444445
/sbin/iptables -t mangle -A test-all -m physdev --physdev-in eth0 -s
192.168.2.0/24 -d 192.168.2.0/24 -j RETURN
/sbin/tc class add dev eth1 parent 1:11 classid 1:1001 htb rate 8Kbit
ceil 60Kbit prio 4 quantum 1532 /sbin/tc qdisc add dev eth1 handle 1001:
parent 1:1001 sfq /sbin/iptables -t mangle -A test-chain-eth1-1:11 -p
tcp -m multiport --port 81,3003,82,10000 -j CLASSIFY --set-class 1:1001
/sbin/iptables -t mangle -A test-chain-eth1-1:11 -p tcp -m multiport
--port 81,3003,...
2006 Feb 28
10
Htb queueing problem
...eth0 parent 1:1 classid 1:1000 htb rate 3350kbit
ceil 3500kbit burst 0 prio 5
/sbin/tc class add dev eth1 parent 2:1 classid 2:1000 htb rate 3350kbit
ceil 3500kbit burst 0 prio 5
# Create classes (1:44 2:44) :
/sbin/tc class add dev eth0 parent 1:1 classid 1:44 htb rate 64kbit ceil
72kbit burst 8kbit prio 1 quantum 1536
/sbin/tc class add dev eth1 parent 2:1 classid 2:44 htb rate 64kbit ceil
72kbit burst 8kbit prio 1 quantum 1536
# Flushing iptables rules:
/sbin/iptables -F -t mangle
# iptables classify
/sbin/iptables -A POSTROUTING -t mangle -p udp -s 172.16.0.185/32
--sport 10000:10100 -...
2005 Jul 30
2
Qos wiht HTB for ADSL/Home
...it
fundamental?
In my setup I have 3 categories of traffic:
1)very high priority traffic: ssh, DNS, ACK, SYN+ACK, RST, FIN+ACK
(40kbit > CEIL)
2) high priority traffic: web, online radio, online tv (72kbit->CEIL)
3)low priority traffic - default class: aMule, P2P, other type of
traffic(8Kbit->CEIl)
THANKS,
ddaas
My htb script is:
#!/bin/bash
YAHOOMSG="216.155.193.0/24"
RADIO="xxx.xxx.xxx.xxx"
TRI="xxx.dnsalias.net"
TV="xxx.xxx.xxx.xxx"
DNSSERVER="217.237.150.225"
IF="ppp0"
CEIL="120"
#flush everything
tc...
2010 Jun 07
0
No subject
...kes a narrowband Speex VOIP =
call to Client B.=0A=A0=0AIn the SIP negotiation there is no information ex=
changed besides the fact that it is a narrowband speex call (speex/8000)=0A=
=A0=0AClient A operates at a bitrate of 11kbit/s (28 bytes per payload)=0A=
=A0=0AClient B operates at a bitrate of 8kbit/s (20 bytes per payload)=0A=
=A0=0ASo client B receives a payload of 28 bytes.=0A=A0=0AIs the applicatio=
n on B's side supposed to extract the mode bits and reconfigure the speex d=
ecoder _before_ the payload is=0Agiven to the decoder? I don't see how it w=
ould work unless the decoder is...
2004 Jun 18
2
shaping a ciber cafe
Hi,
I''m looking for a script in order to do
traffic control on a ciber cafe LAN, with
linux router.
Ciber has about 40 hosts, and I haven''t much
bandwidth (512kbit).
Also, I''ve a squid cache and it works very good!
I''ve found Jim QoS script, and FairNat.
Which is more suitable for me ?
Jim QoS ? FairNat ? other ?
If I put FairNat, I would need ZPH patch