Displaying 16 results from an estimated 16 matches for "3000kbit".
Did you mean:
1000kbit
2004 May 08
2
PRIO qdisc with HTB
...ld starve. Which is exactly what I want.
Problem is, when I add filters to enqueue in HTB "below" prio qdisc, they
aren''t working.
I''m tried to make simplified version first:
tc qdisc add dev eth0 root handle 1: htb
tc class add dev eth0 parent 1: classid 1:1 htb rate 3000kbit
tc qdisc add dev eth0 parent 1:1 handle 10: prio
tc qdisc add dev eth0 parent 10:1 handle 20: htb
tc class add dev eth0 parent 20:0 classid 20:1 htb rate 3000kbit
tc qdisc add dev eth0 parent 10:2 handle 30: htb
tc qdisc add dev eth0 parent 10:3 handle 40: htb
tc class add dev eth0 parent 30:0 clas...
2005 Oct 06
1
HTB problem running on VLAN, not working
...ev 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 parent 14: classid 14:4 htb rate 4000kbit quantum 6000
/sbin/tc class add dev eth1.4 parent 14:4 classid 14:5 htb rate 1000kbit quantum 6000
/sbin/tc qdisc add de...
2007 Jan 08
0
TC on multiple nics
...le 1: root htb default 1
/sbin/iptables -t mangle -A server-prerouting -m physdev --physdev-in
eth0 --physdev-out eth1-j protocop-all
/sbin/iptables -t mangle -A POSTROUTING -m physdev --physdev-in eth0
physdev-out eth1 -j server-all-chains
/sbin/tc class add dev eth1 parent 1: classid 1:1 htb rate 3000Kbit
/sbin/tc filter add dev eth1 parent 1:0 protocol all u32 match u32 0 0
classid 1:1
# bridge traffic - output (eth1 -> eth0)
/sbin/tc qdisc add dev eth0 handle 1: root htb default 1
/sbin/iptables -t mangle -A server-prerouting -m physdev --physdev-in
eth1 --physdev-out eth0-j protocop-all
/sbin...
2005 Jul 11
5
Simple traffic shaping
My needs is limiting the outbound traffic of an smtp mail server.
It is connected to a gateway via 100Mbit ethernet. I want limits its
outbound traffic to max 3 Mbit.
I have read lot of docs and tried various script without great results.
Any simplest solutions?
TIA.
Regards, B.
2007 Sep 19
1
major packet loss with htb
...overhead 0b level 0
Sent 328942394630 bytes 480708749 pkt (dropped 1725703, overlimits 0
requeues 0)
rate 17344Kbit 3494pps backlog 0b 58p requeues 0
lended: 290657995 borrowed: 190050689 giants: 0
tokens: -2409 ctokens: -1914
class htb 1:30 parent 1:1 leaf 30: prio 5 quantum 37500 rate 3000Kbit
ceil 3100Kbit burst 1974b/8 mpu 0b overhead 0b cburst 1986b/8 mpu 0b
overhead 0b level 0
Sent 66686833287 bytes 127212829 pkt (dropped 3728008, overlimits 0
requeues 0)
rate 3099Kbit 792pps backlog 0b 126p requeues 0
lended: 121903109 borrowed: 5309594 giants: 0
tokens: -6323 ctokens: -6...
2004 Sep 20
0
Shaper & prio qdisc
...ish =)
I have following config for traffic prioritization:
tc qdisc add dev eth0 root handle 1: prio
tc qdisc add dev eth0 parent 1:1 handle 10: tbf rate 7000kbit buffer 1600
latency 2msec
tc qdisc add dev eth0 parent 1:2 handle 20: sfq
tc qdisc add dev eth0 parent 1:3 handle 30: tbf rate 3000kbit buffer 1600
latency 50msec
tc qdisc add dev eth1 root handle 1: prio
tc qdisc add dev eth1 parent 1:1 handle 10: tbf rate 7000kbit buffer 1600
latency 2msec
tc qdisc add dev eth1 parent 1:2 handle 20: sfq
tc qdisc add dev eth1 parent 1:3 handle 30: tbf rate 3000kbit buffer 1600
latency...
2006 Apr 11
0
Htb queueing problem
...if [ tc ]; then
echo "Deleting qdisc for eth1"
tc qdisc del dev eth1 root
fi
tc qdisc add dev eth1 root handle 1:0 htb default 90
tc class add dev eth1 parent 1:0 classid 1:1 htb rate ${RATE}kbit ceil
${RATE}kbit
tc class add dev eth1 parent 1:1 classid 1:10 htb rate 3000kbit ceil
3000kbit
tc class add dev eth1 parent 1:1 classid 1:20 htb rate 1500kbit ceil
1500kbit
tc class add dev eth1 parent 1:1 classid 1:30 htb rate 1000kbit ceil
1000kbit
tc class add dev eth1 parent 1:1 classid 1:50 htb rate 500kbit ceil 500kbit
tc class add dev eth1 parent 1:1 classid 1:90 htb...
2007 Jun 21
1
A HTB problem
...an2 limit 80p
qdisc pfifo 110: dev vlan2 limit 10p
qdisc htb 1: dev vlan2 r2q 10 default 13 direct_packets_stat 0
The output for tc -d -s class show dev vlan2 is like the following for
root rate is 50Mbit and ceil for class is 50Mbit:
class htb 1:11 parent 1:1 leaf 110: prio 0 quantum 37500 rate 3000Kbit
ceil 10000Kbit burst 50Kb/8 mpu 0b overhead 0b cburst 14098b Sent 0
bytes 0 pkts (dropped 0, overlimits 0)
lended: 0 borrowed: 0 giants: 0
tokens: 111847 ctokens: 9240
class htb 1:1 root rate 50000Kbit ceil 50000Kbit burst 64093b/8 mpu 0b
overhead 0b cburst 64093b/8 mpu 0b overhead 0b level 7...
2007 Aug 19
0
HTB qdisc within HTB root qdisc
...tb rate 10000Kbit
# SYN/minimal payload
$tcc parent 2:1 classid 2:10 htb rate 200Kbit ceil 500Kbit prio 0
$tcq parent 2:10 pfifo limit 50
# gw traffic
$tcc parent 2:1 classid 2:11 htb rate 200Kbit ceil 500Kbit prio 2
$tcq parent 2:11 pfifo limit 20
# DMZ
$tcc parent 2:1 classid 2:13 htb rate 3000Kbit ceil 5000Kbit prio 4
# telnet/SSH/IRC
$tcc parent 2:13 classid 2:31 htb rate 300Kbit ceil 500Kbit prio 2
$tcq parent 2:31 pfifo limit 30
# UDP
$tcc parent 2:13 classid 2:32 htb rate 700Kbit ceil 1000Kbit prio 3
$tcq parent 2:32 pfifo limit 30
# generic NORMAL
$tcc parent...
2006 Jan 08
2
HTB - not borrowing, not exceeding rate
...for internet connections - this one can use nearly whole link
tc class add dev eth2.24 parent 1:1 classid 1:6667 htb rate 12000kbit ceil
13500kbit burst 100kbit
# class for in-network p2p connections - this one has lower guaranteed rate
tc class add dev eth2.24 parent 1:1 classid 1:6666 htb rate 3000kbit ceil
14000kbit burst 10kbit
tc qdisc add dev eth2.24 parent 1:6666 handle 6666: sfq perturb 5 quantum
1500b
# users (htb+sfq for each):
tc class add dev eth2.24 parent 1:6667 classid 1:2 htb rate 1kbit ceil 256kbit
quantum 2000 burst 100kbit
tc qdisc add dev eth2.24 parent 1:2 handle 2: sfq per...
2007 Feb 14
0
Marking packets with iptables (NEWBIE)
Hi all,
I''m trying to marking packets 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 handl...
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
2005 Jul 19
10
Problem with HTB and ceil
Hi,
I am trying to setup a shaper for my linux box and I am experiencing some
problems. What I am trying to do is priorizing packets on the egress link,
therefore I have setup some prio classes etc. The priorizing seem to work but
the problem is that the ceil parameter doesnt seem to work on non leafs.
This is what stats show:
> class htb 1:1 root rate 3000bit ceil 3000bit burst 1602b/8 mpu
2004 Jul 09
3
tc filter + bridging + htb -- works only if ip_forward = 0
...in turn 1:10,20 and 30 then fight for any excess above
their
# minimum rates.
# ceil is 90% of max rate (768kbps)
# rate is 80% of max rate
# we don''t let it go to 100% because we don''t want the WAN provider to
buffer
CEIL=4500kbit
RATE1=1000kbit
RATE2=3000kbit
RATE3=500kbit
APPRATE1=1500kbit
APPRATE2=750kbit
APPRATE3=250kbit
$TC qdisc ${TCOP} dev ${WAN} root handle 1: htb
$TC class ${TCOP} dev ${WAN} parent 1: classid 1:1 htb rate ${CEIL}
ceil ${CEIL}
$TC class ${TCOP} dev ${WAN} parent 1:1 classid 1:10 htb rate ${RATE1}...
2007 Sep 01
9
complete linux and shaping newbie needs help
Hi there good people,
I''m a newbie in what concerns running Linux on machines other than
desktops, so I need help from all you gurus out there :-)
I have Linux installed on an old computer (Winchip C6, Pentium clone),
acting as a router/firewall for two other computers. Both these
machines are connected to the firewall via a dedicated ethernet card
each, on different subnets,
2007 Mar 20
3
Divide bandwidth between 4 groups of ip with the same rate
Hello, I have begun to use the tc scripts since 2 weeks ago, so I am beginner. I am trying to divide my bandwidth in 4 independent ones. Each of these sub-bandwidths is assigned to 4 different groups of ip. Bandwidth sharing is allowed. I put a Linux with two Ethernet card between the router and the LAN. Eth1 is the card connected to the router and eth0 is the one connected to the LAN. My ISP