Displaying 6 results from an estimated 6 matches for "4000kbit".
Did you mean:
1000kbit
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...
2005 Oct 06
1
HTB problem running on VLAN, not working
...default 10 r2q 1
/sbin/tc qdisc del dev eth1.3 root
/sbin/tc qdisc add dev eth1.3 root handle 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 p...
2007 Feb 14
0
Marking packets with iptables (NEWBIE)
...s 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
iptables -A PRE...
2004 Apr 06
0
cbqmon.pl
...ot;tc -s class show dev $iface")))
> {
> # class cbq 1: root rate 100Mbit (bounded,isolated) prio no-transmit
> # Sent 41352703832 bytes 165540580 pkts (dropped 0, overlimits 0)
> # borrowed 0 overactions 0 avgidle 58 undertime 0
> # class cbq 1:1990 parent 1: leaf 1990: rate 4000Kbit (bounded) prio
no-transmit
> # Sent 22013154608 bytes 33663376 pkts (dropped 326694, overlimits
114912551)
> # borrowed 0 overactions 807479 avgidle 26432 undertime 0
> foreach (@allinfo)
> {
> next unless /\S/;
> chomp;
>
> next if ((/clas...
2004 Nov 15
5
Packet loss with htb+sfq+l7filter
Hi all!
I''m trying to shape traffic in a dorm''s network (4 mbit symmetrical
internet link, about 200 computers, heavy p2p usage). The router is a
p4xeon running linux 2.6.9 with the qnet patches
(http://kem.p.lodz.pl/~peter/qnet/). When I activate ip_forward I get
>20% packet loss and a lot of duplicates. Any ideas? I attach my shaping
script.
Thank you very much in advance,
2009 Oct 30
4
traffic shaping with two internal interfaces
Hi,
my shorewall is version 4.0.15 on Debian Lenny. I have 3 following
interfaces:
eth0 net (4mbit/512kbit)
eth1 loc (100mbit)
eth2 loc (100mbit)
I want to shape traffic from net on two lan interfaces like:
- default is 2000mbit for each local interface
- if is no traffic on eth1 is 4mbit for eth2 (and vice versa)
My tcdevices
eth0 4000mbit 512kbit
eth1 -