search for: 1024kbit

Displaying 20 results from an estimated 56 matches for "1024kbit".

2004 May 25
1
how to borrow bandwith
...--WAN When there aren't traffic on the specific priority, its bandwidth should be borrowed by other priorities.But it doesn't work.Here is my script: /usr/sbin/tc qdisc del dev nas0 root /usr/sbin/tc qdisc del dev br0 root /usr/sbin/tc qdisc add dev nas0 root handle 1:0 cbq bandwidth 1024kbit avpkt 1000 cell 8 /usr/sbin/tc class add dev nas0 parent 1:0 classid 1:1 cbq bandwidth 1024kbit rate 1024kbit weight 1024kbit prio 0 allot 1514 cell 8 maxburst 20 avpkt 1000 isolated bounded /usr/sbin/tc class add dev nas0 parent 1:1 classid 1:2 cbq bandwidth 1024kbit rate 611kbit weight 611kbit...
2006 Apr 05
5
QoS - Ping problem
...l > /dev/null $TC qdisc del dev $DL ingress 2> /dev/null > /dev/null #------ # Regras para a placa eth1 #------ $TC qdisc add dev $DL root handle 1: htb default 50 CLASS="/sbin/tc class add dev $DL parent" $CLASS 1: classid 1:1 htb rate 3072Kbit $CLASS 1:1 classid 1:10 htb rate 1024Kbit ceil 1024Kbit $CLASS 1:1 classid 1:20 htb rate 1536Kbit ceil 2560Kbit $CLASS 1:1 classid 1:30 htb rate 512Kbit ceil 1024Kbit $CLASS 1:1 classid 1:40 htb rate 512Kbit ceil 1024Kbit $CLASS 1:1 classid 1:50 htb rate 512Kbit ceil 1024Kbit QDISC="/sbin/tc qdisc add dev $DL parent" $QDISC 1:10...
2007 May 02
7
tc u32 match !port
How can i redirect all traffic that not come from port 80 to a flow ? i was thing about some like tc filter add dev imq1 parent 1: protocol ip prio 7 u32 match ip sport !80 ...... But this not work. Another doubt, if i have two rules that intersects , for example , one filter with u32 match ip src 10.10.10.10 flowid 1:10 and other with u32 match sport 80 0xffff flowid 1:11 , which one will
2006 Jul 20
1
QoS doubt about network machine
...ve to my clients, so I make this classes: $TC qdisc add dev $DL root handle 1: htb default 60 CLASS="/sbin/tc class add dev $DL parent" $CLASS 1: classid 1:1 htb rate 4096Kbit $CLASS 1:1 classid 1:10 htb rate 256Kbit ceil 3072Kbit burst 15k $CLASS 1:1 classid 1:20 htb rate 256Kbit ceil 1024Kbit burst 15k $CLASS 1:1 classid 1:30 htb rate 2048Kbit ceil 3072Kbit burst 15k $CLASS 1:1 classid 1:40 htb rate 256Kbit ceil 512Kbit burst 15k $CLASS 1:1 classid 1:50 htb rate 256Kbit ceil 256Kbit burst 15k $CLASS 1:1 classid 1:60 htb rate 1024Kbit ceil 2048Kbit burst 15k I use this classes to pu...
2006 Feb 05
1
htb prio ...
...ey, I have such a script: tc qdisc add dev $DEV root handle 1:0 htb default 21 r2q 2 tc class add dev $DEV parent 1:0 classid 1:11 htb rate 100mbit tc class add dev $DEV parent 1:11 classid 1:21 htb rate 512kbit ceil 512kbit tc class add dev $DEV parent 1:11 classid 1:23 htb rate 1024kbit ceil 1024kbit tc class add dev $DEV parent 1:11 classid 1:25 htb rate 3072kbit ceil 3072kbit tc class add dev $DEV parent 1:21 classid 1:102 htb rate 64kbit ceil 128kbit prio 2 tc qdisc add dev $DEV parent 1:102 handle 102:0 sfq perturb 10 quantum 1600 tc filter add dev $DEV parent...
2004 Oct 27
6
Limiting Bandwidth of an ppp interfaces
Hi everyone. I''m working on a problem since some days. I have a linux router with about 100 ppp interfaces. Each interface should bei limited to an individual bandwidth of 1024kbit, 2048kbit or 3096kbit. Up AND downstream. (let''s say for example 1024kbit upstream and 1024kbit downstream) The reason for this problem: I have to limit users to their booked bandwidth, because there are hard rules, who is allowed to use which kind of bandwidth. but some users used their...
2005 Jun 18
6
htb child classes don''t borrow form "parent''s parent class" :(
...lassid 1:a1 htb rate 2048kbit ceil 10mbit prio 2 burst 50k tc class add dev $DEV parent 1:f1 classid 1:b1 htb rate 2048kbit ceil 6mbit prio 3 burst 50k tc class add dev $DEV parent 1:f1 classid 1:c1 htb rate 2048kbit ceil 5mbit prio 4 burst 50k tc class add dev $DEV parent 1: classid 1:f2 htb rate 1024kbit ceil 10mbit burst 50k tc class add dev $DEV parent 1:f2 classid 1:a2 htb rate 1024kbit ceil 10mbit prio 2 burst 50k tc class add dev $DEV parent 1:f2 classid 1:b2 htb rate 1024kbit ceil 6mbit prio 3 burst 50k tc class add dev $DEV parent 1:f2 classid 1:c2 htb rate 1024kbit ceil 5mbit prio 4 burst 5...
2004 May 04
3
shape outgoing/upload traffic PER-IP.
does anyone know a way to shape outgoing/upload traffic per ip? I have a network and i want to limit the upload with 100kbit per user. Ex: 192.168.1.20 ----> 1024kbit-DOWN / 100kbit-UP 192.168.1.21 ----> 1024kbit-DOWN / 100kbit-UP and so on....... Ive tried CBQ and HTB, but couldnt get is right. the only thing that I did in upload bases was: "tc qdisc add dev ppp0 root tbf rate 220kbit latency 50ms burst 1540" witch is for the whole interface. n...
2007 Oct 24
0
Traffic shaping
...ng script but it does not work. Can anyone help me ? htb script -------------- tc qdisc del dev eth1 root 2> /dev/null > /dev/null tc qdisc add dev eth1 root handle 11: htb tc class add dev eth1 parent 11: classid 11:1 htb rate 10mbit tc class add dev eth1 parent 11:1 classid 11:21 htb rate 1024kbit ceil 1024kbit prio 5 tc qdisc add dev eth1 parent 11:21 handle 21: sfq perturb 10 tc filter add dev eth1 parent 11: protocol ip prio 100 handle 5000 fw flowid 11:21 tc class add dev eth1 parent 11:1 classid 11:22 htb rate 96kbit ceil 96kbit prio 5 tc qdisc add dev eth1 parent 11:22 handle 22: sfq p...
2002 May 24
0
multiple ingresses
Is it possible to have multiple filters around an ingress so that you can police your downloads more specific. What I''m trying to achieve is to have all my ftp-traffic limited to 1024kbit on downloads. I included some commands below so that you might better understand my thoughts on the matter. tc qdisc add dev eth0 root handle 1: htb default 2 tc class add dev eth0 parent 1: classid 1:1 htb rate 2048kbit ceil 2048kbit prio 1 tc class add dev eth0 parent 1:1 classid 1:2 htb prio 2...
2006 May 09
3
tc del class not working
...it ... [ ok ] * - tc class add dev br1 parent 2:46 classid 2:49 hfsc rt m2 76.00Kbit ls m2 152.0Kbit ul m2 304Kbit ... [ ok ] * - Creating classes on wivl4 for download control ... * - tc class add dev wivl4 parent 5:0 classid 5:46 hfsc ls m1 1536.0Kbit d 2000ms m2 256.00Kbit ul m2 1024Kbit ... [ ok ] * - tc class add dev wivl4 parent 5:46 classid 5:47 hfsc sc umax 1500b dmax 30ms rate 80Kbit [ ok ] * - tc class add dev wivl4 parent 5:46 classid 5:48 hfsc ls m2 472.0Kbit ul m2 472.0Kbit ... [ ok ] * - tc class add dev wivl4 parent 5:46 classid 5:49 hfsc rt m2 236.00Kb...
2005 Jul 12
1
Several basic doubts
I have a connection cablemodem (down 1024kbit up 256 kbit) that spreads Internet to a LAN of 4 PC. Router-firewall is one 486 DX4 100 96 MB RAM that runs a Debian Sarge (kernel 2,4,25), that does NOT serve nor squid, nor samba, nor smtp, etc.... single do routing-firewalling. I am something confused by opinions and "presumed" manu...
2006 Jun 16
3
tc ingress policing with multiple subnets
..., which is the speed my ISP grants for the rest of the internet. So, eth1 is the one connected to the cable modem and then to the internet. I do: tc qdisc add dev eth1 ingress handle ffff: then: tc filter add dev eth1 parent ffff: protocol ip prio 1 u32 match ip src xx.yy.zz.0/24 police rate 1024kbit burst 10kb drop flowid ffff: tc filter add dev eth1 parent ffff: protocol ip prio 1 u32 match ip src pp.dd.df.0/23 police rate 1024kbit burst 10kb drop flowid ffff: ... ... and finally: tc filter add dev eth1 parent ffff: protocol ip prio 2 u32 match ip src 0.0.0.0/0 police rate 256kbit burst 10...
2004 Aug 31
4
WRR problem and other things
...o add qdisc like: tc qdisc add dev imq1 parent 1:21 handle 1000: wrr dest ip 1512 0 then i have a message like: RTNETLINK answers: Cannot allocate memory And some other problem: When I do more than 2048 filters I have message like: Classes: tc class add dev imq1 parent 1:1 classid 1:9 htb rate 1024kbit ceil 2048kbit .. tc class add dev imq1 parent 1:1 classid 1:10 htb rate 1024kbit ceil 2048kbit ... ... ... tc class add dev imq1 parent 1:1 classid 1:2048 htb rate 1024kbit ceil 2048kbit tc class add dev imq1 parent 1:1 classid 1:2049 htb rate 1024kbit ceil 2048kbit tc class add dev imq1 parent 1:1...
2006 Mar 28
1
Please help - totally confused (NAT + FWMARK + IMQ + HTB)
...assid 2:1 htb rate 3850kbit tc class add dev imq1 parent 2:1 classid 2:0x9999 htb rate 128kbit ceil 3850kbit prio 3 # DEFINE USER''S class (main class 0x890, default class 0x1890, priority class 0x2890) # download (?) tc class add dev imq0 parent 1:1 classid 1:0x890 htb rate 128kbit ceil 1024kbit prio 3 tc class add dev imq0 parent 1:0x890 classid 1:0x1890 htb rate 128kbit ceil 1024kbit prio 3 tc class add dev imq0 parent 1:0x890 classid 1:0x2890 htb rate 128kbit ceil 1024kbit prio 1 tc qdisc add dev imq0 parent 1:0x1890 handle 0x1890: sfq perturb 10 tc qdisc add dev imq0 parent 1:0x2890 ha...
2005 Jul 20
1
limiting upload speeds does not work
...erface of the router.DC++ client is running on 4111 ports(tcp and udp) I actually managed to shape download wth this script: iptables -t mangle -A FORWARD -p tcp --dport 4111 -j MARK --set-mark 1 tc qdisc add dev br0 root handle 1:0 htb default 0 tc class add dev br0 parent 1:0 classid 1:1 htb rate 1024kbit tc class add dev br0 parent 1:1 classid 1:11 htb rate 256kbit tc filter add dev br0 parent 1:0 protocol ip handle 1 fw flowid 1:11 And I thought it would be similar with upload, but it is not, I tried this script: iptables -t mangle -A FORWARD -p tcp --sport 4111 -j MARK --set-mark 2 tc qdisc add d...
2005 Apr 06
4
Games and QOS on share connection line
...g for gaming traffic on share connection line? I''d like to know your opinions. I''m appreciating your comments. Thank you in advance Main part of script: $TC qdisc add dev eth0 root handle 1: htb default 300 r2q 2 $TC class add dev eth0 parent 1: classid 1:1 htb rate 1024kbit ceil 2048kbit burst 15k $TC class add dev eth0 parent 1:1 classid 1:3 htb rate 64kbit ceil 256kbit burst 6k cburst 6k prio 0 # Games class $TC class add dev eth0 parent 1:1 classid 1:5 htb rate 64kbit ceil 256kbit burst 5k prio 0 # SSH class $TC class add dev eth0 parent 1:1 class...
2004 Jun 12
2
borrowing
I have - HZ - recompiled to 1000 - class nr 1 - 2kbit ceil 1024kbit - class nr 2 - 16kbit ceil1024kbit But class 1 works with 20kbit/sec and class 2 with 60kbit/sec. The proportion does not seems right. Thank you. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http...
2003 Dec 02
0
Problems with HTB and VLAN
...dd eth0 10 tc qdisc add dev eth0.10 parent root handle 1: htb default 2 tc class add dev eth0.10 classid 1:1 parent 1:0 htb rate 100Mbit ceil 100Mbit tc class add dev eth0.10 classid 1:2 parent 1:1 htb prio 7 rate 1Kbit ceil 100Mbit tc class add dev eth0.10 classid 1:10 parent 1:1 htb prio 0 rate 1024Kbit ceil 1024Kbit tc filter add dev eth0.10 pref 1 proto ip handle 0x1 fw flowid 4:10 iptables -t mangle -A FORWARD -s 10.0.0.0/24 -j MARK --set-mark 0x1 If it send traffic through the VLAN (I have a Linux PC in the othere end), I will only get a performance of about 312Kbit/s. Not 1024Kbit as I wou...
2005 Oct 23
1
Script for metropolitan
...tables -t mangle -A PREROUTING -i eth1 -j mark_horiz_dst /sbin/iptables -t mangle -A OUTPUT -o eth0 -j mark_horiz_dst /usr/local/bin/mipclasses -s mark_horiz_src -d mark_horiz_dst -m 1 < /start/metro.txt | iptables-restore -n IF="eth0" RATE_INET="256kbit" RATE_METRO="1024kbit" CEIL="512kbit" #traficul implicit se duce in clasa 1:20 (internet) tc qdisc add dev $IF root handle 1:0 htb default 20 tc class add dev $IF parent 1:0 classid 1:1 htb rate 240kbit # clasa 1:10 pt traficul metropolitan # clasa 1:20 pt traficul extern # poti sa renunti la pr...