Displaying 20 results from an estimated 43 matches for "1000kbit".
Did you mean:
100kbit
2007 Aug 29
5
HTB does not respect the prio parameter
...sults I
expect. I''ve created 4 HTB classes:
1:10 TCP ACKs (prio 0)
1:20 TCP traffic on dst port 10001 (prio 1)
1:30 TCP traffic on dst port 10000 (prio 2)
1:40 Default (prio 3)
ceil and rate parameters are the same for all 4 classes (rate is 1000kbit and ceil is
55000kbit).
Then I start 2 TCP flows on src/dst ports 10000 and 10001. The packets seem to be
correctly classified by the filter (I get hits on classes 10, 20 and 30).
The problem is that I get the same throughput on both TCP flows. Shouldn''t I get about
1000kbit through clas...
2003 Apr 09
1
HTB Question
...ve the archive but cant send to the list, cant delete myself because I
don''t exist and can''t 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 EXAM...
2004 Jan 11
1
HTB rates aren''t enforced correctly
Hi!
I recently changed my qdisc from CBQ and PRIO to only HTB, and I can''t
really seem to get the rates to work as I want them to. I have eight
classes, which I set up as follows:
tc qdisc add dev eth1 root handle 1: htb default 122
tc class add dev eth1 parent 1: classid 1:1 htb rate 1000kbit ceil 1000kbit cburst 1500 burst 50kb
tc class add dev eth1 parent 1:1 classid 1:11 htb prio 0 rate 25kbit ceil 50kbit burst 10kbit
tc class add dev eth1 parent 1:1 classid 1:12 htb prio 1 rate 400kbit ceil 1000kbit burst 10kb
tc class add dev eth1 parent 1:1 classid 1:13 htb prio 1 rate 150kbit cei...
2004 Oct 12
0
ssh and cs LAG
...uot;
tc qdisc add dev eth1 root handle 1: htb default 12
echo "tc qdisc add dev eth0 root handle 2: tbf rate 230kbit latency
50ms burst 1540"
tc qdisc add dev eth0 root handle 2: tbf rate 230kbit latency 50ms
burst 1540
echo "tc class add dev eth1 parent 1: classid 1:1 htb rate 1000kbit
ceil 1000kbit"
tc class add dev eth1 parent 1: classid 1:1 htb rate 1000kbit ceil
1000kbit
# tc class add dev eth1 parent 1: classid 1:2 htb rate 200kbit ceil 200kbit
echo "Ustawianie klas"
for IP in $HIGHSPEED; do
echo "tc class add dev eth1 parent 1:1 classid 1:1${IP...
2004 Dec 03
3
HTB High CPU Utilization
...rver outgoing traffic and setup a HTB scheme like this
iptables -F PREROUTING -t mangle
iptables -A PREROUTING -t mangle -p tcp -s 99.99.99.99 -j MARK --set-mark 2
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 10: htb default 10
tc class add dev eth0 parent 10: classid 10:3 htb rate 1000kbit ceil
1000kbit
tc filter add dev eth0 parent 10: protocol ip prio 3 handle 2 fw classid
10:3
Now i''m seeing CPU Utilization beyond 30% and load averages of 0.79, the
network total bandwidth is 20Mb/s. The server is a linux kernel
2.6.7-gentoo-r8 running on a P4 1.7 Ghz.
Is this norma...
2005 Oct 06
1
HTB problem running on VLAN, not working
...le 13: htb r2q 1
/sbin/tc qdisc del dev eth1.4 root
/sbin/tc qdisc add dev eth1.4 root handle 14: htb default 20 r2q 1
#classes for download
/sbin/tc class add dev eth0.100 parent 100: classid 100:1 htb rate 4000kbit quantum 6000
/sbin/tc class add dev eth0.100 parent 100:1 classid 100:2 htb rate 1000kbit quantum 6000
/sbin/tc qdisc add dev eth0.100 parent 100:2 handle 1002 pfifo limit 10
/sbin/tc class add dev eth0.100 parent 100:1 classid 100:3 htb rate 3000kbit quantum 6000
/sbin/tc qdisc add dev eth0.100 parent 100:3 handle 1003 pfifo limit 10
#classes for upload
/sbin/tc class add dev eth1.4 p...
2005 Feb 11
1
Help!!! Bandwith Control with a NAT machine
...lt
# in lower latency but will also cause slightly lower throughput due
# to IP and TCP protocol overhead.
ip link set dev $DEV1 mtu 1000
# add HTB root qdisc
$TC qdisc add dev $DEV1 root handle 1: htb default 37
# add main rate limit classes
$TC class add dev $DEV1 parent 1: classid 1:1 htb rate 1000kbit
# add leaf classes - We grant each class at LEAST it''s "fair share" 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...
2005 Feb 10
5
priorizing vlans in a bridge
...kets,
and I don''t want to unless it was really necessary.
I read about the "prio" option of the htb qdisc and made some scripts, but they
don''t work as I expected.
HTB script:
tc qdisc add dev eth0 root handle 1: htb
tc class add dev eth0 parent 1: classid 1:1 htb rate 1000kbit
tc class add dev eth0 parent 1:1 classid 1:11 htb rate 500kbit ceil 1000kbit prio 1
tc filter add dev eth0 parent 1: prio 1 protocol ip handle 1 fw classid 1:11
iptables -t mangle -A PREROUTING -i eth1 -j MARK --set-mark 1
tc class add dev eth0 parent 1:1 classid 1:12 htb rate 500kbit ceil 800kbi...
2007 May 31
5
IFB & 802.1q
...redirected to ifb0). I''m using
the following commands to create a QoS simple tree :
ip link set up dev ifb0
tc qdisc add dev ifb0 root handle 1: htb default 3
tc class add dev ifb0 parent 1: classid 1:1 htb rate 2000kbit quantum
1514
tc class add dev ifb0 parent 1:1 classid 1:2 htb rate 1000kbit ceil
2000kbit quantum 1514
tc class add dev ifb0 parent 1:1 classid 1:3 htb rate 1000kbit ceil
2000kbit quantum 1514
tc filter add dev ifb0 parent 1: protocol ip priority 10 u32 match ip
sport 80 0xffff flowid 1:2
So more precisely my question is which commands are to be used to
redirect flows ou...
2006 Jan 17
1
simply limit interface bandwith
...re,
I am quite new to lartc and the usage of tc commands is still very
difficult for me. All examples I have read (including the lartc.pdf) are
way too complex for my "simple" problem.
I just need to hard limit a given interface to a bandwith (egress and
ingress) like:
eth0 inbound 1000kbit
eth0 outbound 1000kbit
No priorities, just a bandwidth limitation per device.
Thanks
Daniel
2011 Apr 02
2
[Bug 712] New: iptables-save does not save correcly rateest bps parameter
....netfilter.org
ReportedBy: emiliolazozaia at gmail.com
Estimated Hours: 0.0
I have found something that may be a bug in iptables-save or in kernel
'rateest' code.
If I do:
# iptables -t mangle -A Balance -m conntrack --ctstate NEW -m rateest
--rateest1 wan1meter --rateest-bps 1000kbit --rateest-bps1 1000kbit
--rateest-gt --rateest2 wan2meter --rateest-delta -j CONNMARK --set-mark 1
its the corresponding line in iptables -L is:
CONNMARK all -- anywhere anywhere ctstate NEW
rateest match wan1meter delta bps 1000Kbit gt wan2meter delta bps 1000Kbit
CONN...
2007 Jun 15
2
HTB question, tokens.
...0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 10649 ctokens: 10649
#tc qdisc del dev eth0 root
#tc qdisc add dev eth0 root handle 1: htb default 1
#tc class add dev eth0 parent 1:0 classid 1:1 htb rate 1mbit
#tc -s -d class show dev eth0
class htb 1:1 root prio 0 quantum 12500 rate 1000Kbit ceil 1000Kbit burst 2099b/8 mpu 0b overhead 0b cburst 2099b/8 mpu 0b overhead 0b level 0
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 17203 ctokens: 17203
Why do the amount of tokens go UP if the conf...
2005 Jul 21
2
HTB and prio
Hi,
this is a followup to "Problem with HTB and ceil", the problem with the ceiling
has been resolved, thanks to the memebers on this m/g.
Now I have the problem that packets get into the correct classe with the correct
marks but the prios are not respected. I have 4 different classes:
1. voip class / prio 0 / mark 100 / voip traffic
2. ACK class / prio 1 / mark 200 / ACK packets to
2003 Jun 12
11
htb problem
...dle 1: htb
$TC class add dev eth0 parent 1: classid 1:1 htb rate 1990kbit ceil 2000kbit
$TC class add dev eth0 parent 1:1 classid 1:10 htb rate 190kbit ceil 200kbit
$TC class add dev eth0 parent 1:1 classid 1:11 htb rate 1400kbit ceil
1600kbit
$TC class add dev eth0 parent 1:1 classid 1:12 htb rate 1000kbit ceil
1500kbit
$TC class add dev eth0 parent 1:1 classid 1:13 htb rate 1000kbit ceil
1500kbit
$TC class add dev eth0 parent 1:1 classid 1:14 htb rate 1000kbit ceil
1200kbit
, filters and queuing disciplines :
#filter
$TC filter add dev eth0 protocol ip parent 1:0 prio 1 handle 2 fw flowid
1:10 clas...
2004 Oct 20
0
up and down shaping based on IP
...oot handle 1: htb default 12
> echo "tc qdisc add dev eth0 root handle 2: tbf rate 200kbit latency
> 50ms burst 1540"
> tc qdisc add dev eth0 root handle 2: tbf rate 230kbit latency 50ms
> burst 1540
> echo "tc class add dev eth1 parent 1: classid 1:1 htb rate 1000kbit
> ceil 1000k bit"
> tc class add dev eth1 parent 1: classid 1:1 htb rate 1000kbit ceil
> 1000kbit
>
> echo "Ustawianie klas"
>
> for IP in $CLIENTS; do
> tc class add dev eth1 parent 1:1 classid 1:1${IP} htb rate 80kbit
> ceil 1000k bit c...
2007 Dec 15
1
hfsc and bps
...;s no output for speed only for packets. Doesn''t hfsc support such
a field?
tc -s class show dev eth0
class hfsc 1: root
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
period 0 level 2
class hfsc 1:11 parent 1:1 sc m1 0bit d 18.0ms m2 1000Kbit ul m1 0bit d
0us m2 100000Kbit
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
period 0 level 0
class hfsc 1:1 parent 1: sc m1 0bit d 0us m2 100000Kbit ul m1 0bit d 0us
m2 100000Kbit
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
rate...
2006 Dec 05
1
Bridge HFSC QOS questions ...
Hello,
I''ve got somes questions about Bridge and QOS ...
I''ve got a serveur with 2 interfaces eth0,eth1 inside br0 bridge ...
nothing of special ...
If I understand all, normally I should configure TC class and qdisc on
each physical or use ebtables to manage packets on output ... right ?
I''ve attached my qos_script that hsfc and layer7 module. I use only
Iptables
2004 Oct 21
3
[Fwd: up and down shaping based on IP]
...oot handle 1: htb default 12
> echo "tc qdisc add dev eth0 root handle 2: tbf rate 200kbit latency
> 50ms burst 1540"
> tc qdisc add dev eth0 root handle 2: tbf rate 230kbit latency 50ms
> burst 1540
> echo "tc class add dev eth1 parent 1: classid 1:1 htb rate 1000kbit
> ceil 1000k bit"
> tc class add dev eth1 parent 1: classid 1:1 htb rate 1000kbit ceil
> 1000kbit
>
> echo "Ustawianie klas"
>
> for IP in $CLIENTS; do
> tc class add dev eth1 parent 1:1 classid 1:1${IP} htb rate 80kbit
> ceil 1000k bit c...
2005 Dec 21
1
Limit for prio value
Hi all,
I am using htb for traffic classification.
Is there a limit to the value prio can take cos when I give the
following command .
tc class add dev eth2 classid 1:22 parent 1:2 htb rate 500Kbit ceil
1000Kbit prio 8
and then check the output, I find that the prio of 1:22 is 7, same
case for other values above 7.
Thanks,
Vinod C
2005 Jul 01
0
How to set HTB correct ?
...h management.
When I config qdisc like below:
tc qdisc add dev br0 root handle 1: htb default 30
tc class add dev br0 parent 1: classid 1:1 htb rate 4000kbit
tc class add dev br0 parent 1:1 classid 1:10 htb rate 2000kbit ceil
4000kbit prio 0
tc class add dev br0 parent 1:1 classid 1:20 htb rate 1000kbit ceil
4000kbit prio 1
tc class add dev br0 parent 1:1 classid 1:30 htb rate 500kbit ceil
4000kbit prio 2
tc class add dev br0 parent 1:1 classid 1:40 htb rate 100kbit ceil
4000kbit prio 3
tc qdisc add dev br0 parent 1:10 handle 10: pfifo limit 10
tc qdisc add dev br0 parent 1:20 handle 20: pfifo...