Displaying 12 results from an estimated 12 matches for "3kbps".
Did you mean:
kbps
2006 Jun 28
3
Simple Rule to Cap P2P Uploads
...g in a very slow ssh sessions:
tc qdisc add dev eth0 root handle 1: htb default 3
tc class add dev eth0 parent 1: classid 1:1 htb rate 102400kbps ceil 102400kbps
tc class add dev eth0 parent 1:1 classid 1:2 htb rate 102400kbps ceil 102400kbps
tc class add dev eth0 parent 1:1 classid 1:3 htb rate 3kbps ceil 3kbps
tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip dport 22 0xffff flowid 1:2
Any ideas? Thanks for your time.
---------------------------------
Do you Yahoo!?
Next-gen email? Have it all with the all-new Yahoo! Mail Beta.
_________________________________________...
2003 Feb 26
1
traffic shaper with htb and imq ==> bad latency
...mmx 64mb ram 2.4.20 kernel
my script:
### Traffic Shaper
## down 768kbit
## up 128kbit
tc qdisc add dev $EXTIF root handle 1:0 htb default 13
tc class add dev $EXTIF parent 1:0 classid 1:1 htb rate 16kbps ceil 16kbps prio 0
# Gamevoice
tc class add dev $EXTIF parent 1:1 classid 1:11 htb rate 3kbps ceil 14kbps prio 0
# Bnet
tc class add dev $EXTIF parent 1:1 classid 1:12 htb rate 7kbps ceil 14kbps prio 1
# Normal
tc class add dev $EXTIF parent 1:1 classid 1:13 htb rate 3kbps ceil 14kbps prio 6
# Edonkey
tc class add dev $EXTIF parent 1:1 classid 1:14 htb rate 2kbps ceil 5kbps prio 7
tc qdisc...
2006 Jun 29
0
Matching outgoing ssh traffic if ssh connection initiated from outside
...h the filter being the last one:
tc qdisc add dev eth0 root handle 1: htb default 3
tc class add dev eth0 parent 1: classid 1:1 htb rate 102400kbps ceil 102400kbps
tc class add dev eth0 parent 1:1 classid 1:2 htb rate 102400kbps ceil 102400kbps
tc class add dev eth0 parent 1:1 classid 1:3 htb rate 3kbps ceil 3kbps
tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip dport 22 0xffff flowid 1:2
The rules are on Machine A and Machine A is the one running the P2P applications (the traffic control + the P2P downloads are on the same machine). The machine only has a single NIC.
After thi...
2007 Jul 09
1
Help with traffic control (HTB ESFQ RED)
...UTING -o $DEV -m mark --mark 2 -j TOS
--set-tos Maximize-Throughput
MAX_RATE=30kbps
P2P_UP=10kbps
## HTB CLASSES ##
tc qdisc add dev $DEV root handle 1: htb default 30
tc class add dev $DEV parent 1: classid 1:1 htb rate $MAX_RATE burst 15k
tc class add dev $DEV parent 1:1 classid $P2P htb rate 3kbps ceil
$P2P_UP burst 0 prio 2 quantum 1600
tc class add dev $DEV parent 1:1 classid $SSH htb rate 5kbps ceil
$MAX_RATE burst 0 prio 0 quantum 1600
tc class add dev $DEV parent 1:1 classid $HTTP htb rate 10kbps ceil
$MAX_RATE burst 15k prio 0 quantum 1600
tc class add dev $DEV parent 1:1 classid $D...
2005 Jul 06
8
HTB and bittorrent, won''t work
.../*Changed port from 22 to 8080 */
class ( <$otro> ) if 1 ;
htb () {
class ( rate UPRATE, ceil UPRATE ) {
$emule = class ( prio 8, rate 6kBps, ceil P2P ) { sfq; } ;
$smtp = class ( prio 1, rate 6kBps, ceil 12kBps ) { sfq; } ;
$ssh = class ( prio 0, rate 3kBps, ceil 5kBps) { sfq; } ;
$otro = class ( prio 1, rate 8kBps, ceil UPRATE ) { sfq; } ;
}
}
}
}
Also, given the priorities it''s expected to let me surf the web or chat in msn
messenger rather than take my whole bandwidth.
I hope someone can help me out with this, maybe...
2005 Jun 29
0
Upload shaper problem
...ted bandwidth for Test PC 40kbps
RT2 ETH4 - dedicated bandwidth for Test PC 30kbps
RT2 ETH4 - dedicated bandwidth for users to upload is 250kbps
The thing is if I use Test PC to download from RT1 it makes straight line of
40kbps. If I use TestPC to download from RT2 the traffic varies from 3kbps
to 30kbps. It is very random. If I start a transfer on RT1 from RT2 I can
see there is much bandwidth available I can use 230kbps.
We simulated the Test PC connecting is straight on eth4 of RT2 with the same
IP address it has on internet in order to not change the shaper and the
transfer was ex...
2004 Aug 03
0
ceil, cburst, prio not working?
...that when other classes are idle the remaining bandwith would be
assigned in order of prio (I believe, again from howto that 0 is
highest) to other classes, which is not happening.
In particular, sending big test emails (with everything else idle) shows
that SMTP traffic never exceeds exactly 3kbps, even with ceil set at
9kbps. I measured the speed with iptraf. What am I doing wrong?
List of my classes. If you need more info, please let me know!
# tc class show dev eth2
class htb 1: root prio 0 rate 13312bit ceil 13312bit burst 1732b cburst 5Kb
class htb 1:20 root prio 7 rate 12bit ceil 12...
2005 Jul 17
3
iproute2 rules not being followed !!!!!!!
Hi...
I have installed ip route 2 package on Linux kernel 2.4.25
I am using 2 tables:
###################################
ebox:100.254~# ip route list table ALTER
default via 192.168.100.253 dev br0
ebox:100.254~# ip route list table main
10.0.0.254 dev ppp0 proto kernel scope link src 10.0.0.1
192.168.100.0/24 dev br0 proto kernel scope link src 192.168.100.254
192.168.100.0/24 dev
2005 Jul 07
1
HELP PLEASE BITTORRENT SHAPING (HTB)
...otro> ) if 1 ;
class ( <$p2p> ) ;
htb () {
class ( rate UPRATE, ceil UPRATE ) {
$smtp = class ( prio 1, rate 6kBps, ceil
12kBps ) { sfq; } ;
$ssh = class ( prio 0, rate 3kBps, ceil
5kBps ) { sfq; } ;
$ack = class ( prio 2, rate 8kBps, ceil
15kBps ) { sfq; } ;
$otro = class ( prio 1, rate 8kBps, ceil
UPRATE ) { sfq; }
$p2p = class ( prio 8, rate P2P, ceil P2P,
cburst 0bits...
2005 Jan 31
1
tc, VLAN, ebtables issue
...1 classid 1:9 htb rate 1kbps
ceil 256kbps prio 7
## eth0 port class
/usr/sbin/tc class add dev eth0 parent 1:1 classid 1:10 htb rate 1kbps
ceil 256kbps prio 0
/usr/sbin/tc qdisc add dev eth0 parent 1:10 handle 10: sfq /usr/sbin/tc
class add dev eth0 parent 1:1 classid 1:11 htb rate 1kbps ceil 3kbps
prio 2
/usr/sbin/tc qdisc add dev eth0 parent 1:11 handle 11: sfq
/usr/sbin/tc qdisc add dev eth1 root handle 1: htb default 9
/usr/sbin/tc class add dev eth1 parent 1: classid 1:1 htb rate 256kbps
ceil 256kbps
/usr/sbin/tc class add dev eth1 parent 1:1 classid 1:9 htb rate 1kbps
ceil 256kb...
2005 Apr 19
7
tc filter - based on iptables - MAC - MARK not working - altough marking on ip src, dst address works
=== tc filter - based on iptables - MAC fw marking not
working ==
DEV="eth1"
tc qdisc add dev $DEV root handle 1: htb default 20
tc class add dev $DEV parent 1: classid 1:1 htb rate
600kbps ceil 3276800kbit
tc class add dev $DEV parent 1:1 classid 1:15 htb rate
3kbps prio 4
tc class add dev $DEV parent 1:1 classid 1:20 htb rate
500kbps prio 3
tc qdisc add dev $DEV parent 1:15 handle 150: sfq
perturb 10
tc qdisc add dev $DEV parent 1:20 handle 200: sfq
perturb 10
tc filter add dev $DEV parent 1:0 protocol ip prio 3
handle 2 fw classid 1:15
tc filter add dev $DE...
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