Displaying 20 results from an estimated 31 matches for "2000kbit".
Did you mean:
1000kbit
2004 May 03
1
htb bandwith
Hi,
tc qdisc add dev eth0 root handle 1: htb
tc class add dev eth0 parent 1:0 classid 1:1 htb rate 2000Kbit ceil 2000kbit
tc class add dev eth0 parent 1:1 classid 1:2 htb rate 1200Kbit ceil 2000kbit
tc class add dev eth0parent 1:1 classid 1:3 htb rate 800Kbit ceil 2000kbit
tc class add dev eth0 parent 1:2 classid 1:21 htb rate 600Kbit ceil 2000kbit
tc class add dev eth0 parent 1:2 classid 1:22 htb...
2005 Jul 08
5
HTB Rate and Prio
...bits prio 1
-LOWPRIO SUBCLASS 50 kbits prio 5
Here is the details of the implementation, I only wrote 1 on the subclass
Cause they are all on the same template.
tc qdisc add dev $QOSIN root handle 1:0 htb default 1000
tc class add dev $QOSIN parent 1:0 classid 1:1 htb rate 2000kbit
### SUBCLASS1
tc class add dev $QOSIN parent 1:1 classid 1:10 htb rate 750kbit ceil
2000kbit prio 1
tc class add dev $QOSIN parent 1:10 classid 1:101 htb rate 250kbit ceil
2000kbit prio 1
tc qdisc add dev $QOSIN parent 1:101 handle 101: pfifo limit 10
tc class add dev $QOSIN parent 1:10 cla...
2007 Dec 06
1
Setting max latency on classful qdiscs
...rotocol 0x8100 prio 5 u32 match u16
3000 0x0fff at 0 flowid 1:1 action ipt -j MARK --or-mark 0x01000000
tc filter add dev eth3 parent 1: protocol 0x8100 prio 5 u32 match u16
3000 0x0fff at 0 flowid 1:1 action ipt -j MARK --or-mark 0x01000000
tc class add dev eth2 parent 1:0 classid 1:1 htb rate 2000Kbit ceil
2000Kbit
tc class add dev eth3 parent 1:0 classid 1:1 htb rate 2000Kbit ceil
2000Kbit
tc qdisc add dev eth2 parent 1:1 handle 2: htb
tc qdisc add dev eth3 parent 1:1 handle 2: htb
tc class add dev eth2 parent 2:0 classid 2:1 htb rate 2000Kbit
tc class add dev eth3 parent 2:0 classid...
2007 Apr 26
1
HTB+SFQ
...ors?
Thx, in advance.-
NOTICE: IMQ device is to asociate with ETH1 my external iface.
SCRIPT que funciona:
############################################
#!/bin/sh
ifconfig imq0 up
tc qdisc add dev imq0 handle 1: root htb default 1
tc class add dev imq0 parent 1: classid 1:1 htb rate 500kbit ceil 2000kbit
tc qdisc add dev imq0 parent 1:1 handle 2 sfq
iptables -t mangle -A PREROUTING -i eth1 -j IMQ --todev 0
tc filter add dev imq0 parent 1: prio 0 protocol ip handle 2 fw flowid 1:1
############################################
SCRIPT que NO funciona:
############################################
#!...
2007 May 31
5
IFB & 802.1q
...evice grouping my two 802.1q
devices (let''s say eth0.10 and eth0.20 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...
2004 May 03
5
QoS in wireless networks
Hello,
I''m trying to configure several wireless routers with QoS support. The
idea is to implement differentiated services so that VoIP traffic gets
the maximal priority, then video, control traffic, interactive data
traffic and best-effort traffic.
I have seen that CBQ used to be chosen as qdisc for implementing
bandwith share in DiffServ but now HTB is preferred because it is
2007 Dec 05
3
Adding qdiscs crashes kernel??
...j MARK --or-mark 0x01000000 #
mark packets for VLAN 3000.
tc filter add dev eth3 parent 1: protocol 0x8100 prio 5 u32 match u16
3000 0x0fff at 0 flowid 1:1 action ipt -j MARK --or-mark 0x01000000 #
mark packets for VLAN 3000.
tc class add dev eth2 parent 1:0 classid 1:1 cbq bandwidth 100Mbit rate
2000Kbit weight 200Kbit prio 1 allot 1514 cell 8 maxburst 20 avpkt 1000
bounded isolated # 2000 Kbit rate limit on entry point.
tc class add dev eth3 parent 1:0 classid 1:1 cbq bandwidth 100Mbit rate
2000Kbit weight 200Kbit prio 1 allot 1514 cell 8 maxburst 20 avpkt 1000
bounded isolated # 2000...
2007 Mar 13
1
Shorewall and QoS => VoIP Help please
Hi
i want see if my QoS are good because i am not very sure ... the VoIP
quality are not very good when i download.
I have on my Linux routeur/Firewall Asterisk .. and i have into my config :
================================================
tcdevices:
eth0 2000kbit 2000kbit
tcclasses:
eth0 1 100kbit 180kbit 1 tos=0x68/0xfc,tos=0xb8/0xfc
eth0 2 full/4 full 2 tcp-ack,tos-minimize-delay
eth0 3 full/4 full 3 default
eth0 4 full/8 full*8/10 4
tcrules:
1 $FW 0.0.0.0/0 udp...
2004 Dec 23
1
does the inbound traffic affect the outbound on 2 different interfaces
...on eth1
-----------------------------------------------------------------------------------------------------------------------
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: cbq bandwidth 30Mbit cell 8 avpkt
1000 mpu 64
tc class add dev eth0 parent 1:0 classid 1:1 cbq bandwidth 2000kbit
rate 2000kbit allot 1514 cell 8 weight 100kbit prio 2 maxburst 20
avpkt 1000 bounded isolated
tc class add dev eth0 parent 1:1 classid 1:2 cbq bandwidth 2000kbit
rate 300kbit allot 1514 cell 8 weight 30kbit prio 1 maxburst 20 avpkt
1000 split 1:0
tc class add dev eth0 parent 1:1 classid 1:3 cbq b...
2007 Jun 15
2
HTB question, tokens.
...quot; output in the
examples below. And I can''t figure out why or how...
#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 2mbit
#tc -s -d class show dev eth0
class htb 1:1 root prio 0 quantum 25000 rate 2000Kbit ceil 2000Kbit burst 2599b/8 mpu 0b overhead 0b cburst 2599b/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: 10649 ctokens: 10649
#tc qdisc del dev eth0 root
#tc qdisc add dev...
2005 Jul 11
9
HTB Rate and Prio (continued)
Hi again,
I keep posting about my problem with HTB ->
http://mailman.ds9a.nl/pipermail/lartc/2005q3/016611.html
With a bit of search I recently found the exact same problem I have in the
2004 archives with some
graphs that explain it far better than I did ->
http://mailman.ds9a.nl/pipermail/lartc/2004q4/014519.html
and
http://mailman.ds9a.nl/pipermail/lartc/2004q4/014568.html
2007 Apr 28
2
Re: LARTC Digest, Vol 26, Issue 24
...cript that you give to me, and the problems its
continues.-
Maybe the problem was in the IPTABLES rules, i attach the complete script
below:
#####################
ifconfig imq0 up
tc qdisc add dev imq0 handle 1: root htb default 30
tc class add dev imq0 parent 1: classid 1:1 htb rate 500kbit ceil 2000kbit
tc class add dev imq0 parent 1:1 classid 1:10 htb rate 100kbit ceil 2000kbit
tc class add dev imq0 parent 1:1 classid 1:20 htb rate 100kbit ceil 2000kbit
tc class add dev imq0 parent 1:1 classid 1:30 htb rate 100kbit ceil 2000kbit
tc qdisc add dev imq0 parent 1:10 handle 2 sfq
tc qdisc add dev i...
2007 May 01
1
Re: LARTC Digest, Vol 26, Issue 25
...its
> continues.-
> Maybe the problem was in the IPTABLES rules, i attach the complete script
> below:
>
> #####################
> ifconfig imq0 up
>
> tc qdisc add dev imq0 handle 1: root htb default 30
> tc class add dev imq0 parent 1: classid 1:1 htb rate 500kbit ceil 2000kbit
>
> tc class add dev imq0 parent 1:1 classid 1:10 htb rate 100kbit ceil
> 2000kbit
> tc class add dev imq0 parent 1:1 classid 1:20 htb rate 100kbit ceil
> 2000kbit
> tc class add dev imq0 parent 1:1 classid 1:30 htb rate 100kbit ceil
> 2000kbit
>
>
> tc qdisc add dev i...
2005 Jul 01
0
How to set HTB correct ?
Hi, everyone
I has a ADSL link about 4M bandwidth, and use HTB do bandwidth 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 par...
2007 Jul 26
3
tc filter not work, why?
...c on mips with linux-2.4.18 but the u32 filter dosn''t work
I added htb qdisc to linux-2.4.18 and use it to limit the speed in
LAN, it only work well on the default class, for example
tc qdisc add dev eth0 root handle 1: htb default 10
tc class add dev eth0 parent 1:0 classid 1:1 htb rate 2000kbit
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 500kbit ceil 500kbit
tc calss add dev eth0 parent 1:1 classid 1:11 htb rate 300kbit ceil 300kbit
tc filter add dev eth0 protocol ip u32 match ip dst 192.168.18.100 flowid 1:11
the host 192.168.18.100 have a speed of 500kbit rather than 300kbit...
2006 Apr 15
13
htb overrate with 2.6.16
...xpected with 2.6.10
I''ve tried creating a proper 1:1 100Mbit parent to be the default but it
didn''t help. And it was working fine without it on 2.6.10
With the 2.6.16 kernel I get results like
# tc -s -d class show dev eth0
class htb 1:2 root leaf 800b: prio 0 quantum 25000 rate 2000Kbit ceil 2000Kbit burst 2600b/8 mpu 0b overhead 0b cburst 2600b/8 mpu 0b overhead 0b level 0
Sent 189796883 bytes 20626 pkt (dropped 0, overlimits 0 requeues 0)
rate 3484Kbit 45pps backlog 0b 0p requeues 0
lended: 20627 borrowed: 0 giants: 30926
tokens: -9768 ctokens: -9768
As you can see the corr...
2007 Feb 14
0
Marking packets with iptables (NEWBIE)
...s with iptables and use tc filter to catch this
packets.
I configure my device:
tc qdisc del root dev eth0
tc qdisc add dev eth0 root handle 1: htb default 10
tc class add dev eth0 parent 1: classid 1:1 htb rate 3000kbit ceil 6000kbit
burst 15k
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 2000kbit ceil
4000kbit burst 15k
tc qdisc add dev eth0 parent 1:10 handle 10: sfq perturb 10
tc class add dev eth0 parent 1:1 classid 1:20 htb rate 1400kbit ceil
2000kbit burst 15k
tc qdisc add dev eth0 parent 1:20 handle 20: sfq perturb 10
Then I mark the packet with this commands:
iptables -F -t mangle
i...
2007 Feb 21
1
Problem with HTB and outgoing traffic
...dev eth0 parent 1: protocol ip prio 1 u32 match ip dst
172.28.54.9 flowid 1:1
I want to test bandwidth with iperf to see if limitation is correct.
Sometimes, I get correct measure for certain rates, but i often get measure
that do not correspond to rate.
For example, if rate is 500kbit, measure is 2000kbit/s...
Can someone help me ?
Thanks,
Olivier
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
2006 Dec 13
0
classid, prio and position
...rent rules, now
it consists of one chain and two pipes. If they both use 60Kbit which
one would get priority? Would it be the one with the better prio or the
one with the lower classid or would it be the one which is first on the
list?
/sbin/tc class add dev eth1 parent 1:1 classid 1:11 htb rate 2000kbit
ceil 2000kbit prio 3 quantum 1532 /sbin/iptables -t mangle -N
test-chain-eth1-1:11 /sbin/iptables -t mangle -A test-all-chains -m
connmark --mark
0x44444445 -j protocop-chain-eth1-1:11
/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 MARK --se...
2004 Jan 13
1
ingress policing
...ingress qdisc,this is what I have in my script
tc qdisc add dev eth0 handle ffff: ingress
tc filter add dev eth0 parent ffff: protocol ip prio 4 \
handle 1: u32 divisor 1
tc filter add dev eth0 parent ffff: protocol ip prio 4 u32 \
match ip dport 4001 0xffff \
police rate 2000kbit burst 50k drop \
flowid 1:1
I''m sending a 9Mb traffic using iperf but noticed that the bandwith at the receiving end is 4 MB instead of 2M. When Im changing the police rate to 3MB, the traffic at the receiving end is 6MB. Any ideas why does this happen? Your help is greatly appreciated....