search for: 1kbit

Displaying 20 results from an estimated 73 matches for "1kbit".

Did you mean: 16bit
2004 Apr 06
0
hashing rule don''t match
...24 and for 81.180.12.0/24 can somebody help me ? this is a part fo my script tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 1: htb default 1 r2q 1 tc class add dev eth0 parent 1: classid 1:1 htb rate 640Kbit ceil 640Kbit prio 0 tc class add dev eth0 parent 1:1 classid 1:201 htb rate 1Kbit ceil 64Kbit prio 7 quantum 1500 tc class add dev eth0 parent 1:1 classid 1:202 htb rate 1Kbit ceil 64Kbit prio 7 quantum 1500 tc class add dev eth0 parent 1:1 classid 1:203 htb rate 1Kbit ceil 64Kbit prio 7 quantum 1500 tc class add dev eth0 parent 1:1 classid 1:204 htb rate 1Kbit ceil 64Kbit prio...
2004 May 05
1
Limit filters
it is posible to do more than 2048 filter rules and classes like this: /sbin/tc class add dev eth1 parent 1:15 classid 1:101 htb rate 1kbit ceil 6128kbit prio 1 quantum 1500 /sbin/tc filter add dev eth1 protocol ip pref 0 parent 1: u32 match ip dst 10.10.24.17 flowid 1:101 /sbin/tc qdisc add dev eth1 parent 1:101 handle 101: sfq /sbin/tc class add dev eth1 parent 1:15 classid 1:102 htb rate 1kbit ceil 6128kbi...
2005 Feb 03
1
What does flowid:1 mean here?
...Routing & Traffice Control HOWTO'' and got confused! iptables -A PREROUTING -i $INDEV -t mangle -p tcp --syn \ -j MARK --set-mark 1 tc qdisc add dev $INDEV handle ffff: ingress tc filter add dev $INDEV parent ffff: protocol ip prio 50 handle 1 fw \ police rate 1kbit burst 40 mtu 9k drop flowid :1 Does the second command mean that the filter will police the traffic of syn to 1kbit by dropping? What does flowid:1 mean here? Thanks in advance. CcM --------------------------------- Do You Yahoo!? 注册世界一流品质的雅虎免费电邮 --0-1121976442-1107411117=:51972 Content...
2004 Dec 22
4
how to add burstable rate?
Hi, I managed to fix 128kbit for an IP address of 192.168.200.3 as below: - tc qdisc add dev eth3 root handle 1: cbq avpkt 1000 bandwidth 100mbit tc class add dev eth3 parent 1: classid 1:1 cbq rate 128kbit allot 1500 prio 5 bounded isolated tc filter add dev eth3 parent 1: protocol ip prio 16 u32 match ip dst 192.168.200.3 flowid 1:1 tc qdisc add dev eth3 parent 1:1 sfq perturb 10 How can I
2007 Jun 08
5
CBQ + Layer7 x Emule
...N=40 TOS=0x00 PREC=0x00 TTL=116 ID=7042 PROTO=TCP SPT=50675 DPT=4662 WINDOW=64952 RES=0x00 ACK FIN URGP=0 So it''s look like mark is working . So now I use the cbq.init script with that configuration : cat /etc/sysconfig/cbq/cbq-0002.emule_in DEVICE=eth0,100Mbit,10Mbit RATE=3Kbit WEIGHT=1Kbit PRIO=5 BOUNDED=yes ISOLATED=yes MARK=2 cat /etc/sysconfig/cbq/cbq-0002.emule_out DEVICE=eth1,100Mbit,10Mbit RATE=3Kbit WEIGHT=1Kbit PRIO=5 BOUNDED=yes ISOLATED=yes MARK=2 that generate this tc codes . /sbin/tc qdisc add dev eth0 root handle 1 cbq bandwidth 100Mbit avpkt 3000 cell 8 /sbin/tc clas...
2004 Aug 18
0
HTB prio question
...ty. What am I missing? My rules are posted below. Thanks, Michael Eck Sorry if these are a bit long ### # Root qdisc ### /sbin/tc qdisc add dev eth0 root handle 1: htb default 5 #### # Parent Classes #### # The Entire Interface /sbin/tc class add dev eth0 parent 1: classid 1:1 htb rate 102401kbit ceil 102401kbit quantum 20000 # Default Class /sbin/tc class add dev eth0 parent 1:1 classid 1:5 htb rate 100864kbit ceil 100864kbit prio 1 quantum 20000 /sbin/tc qdisc add dev eth0 parent 1:5 handle 5: sfq perturb 10 /sbin/tc filter add dev eth0 parent 1:0 prio 1 protocol ip handle 5 fw flowid 1:...
2005 Apr 18
1
Activate ingress policies on suse enterprise server 9
...gress is loaded and also the package iprout2 is installed. I have set also a filter for ingress policies but i don`t think it is working, because i have never dropped packages: tc qdisc add dev eth0 ingress tc filter add dev eth0 parent ffff: protocol ip u32 match ip dport 8099 0xffff police rate 1kbit burst 1kbit mtu 1 drop flowid :1 # tc -s qdisc ls dev eth0 qdisc ingress ffff: Sent 83463 bytes 1002 pkts (dropped 0, overlimits 0) qdisc pfifo_fast 0: [Unknown qdisc, optlen=20] Sent 316975056 bytes 1093222 pkts (dropped 0, overlimits 0) a example tcpdump: # tcpdump -v port 8099 tcpdump: l...
2005 Apr 20
3
AW: AW: AW: Activate ingress policies on suse enterprise serv er 9
...d like to set the filters for port 8099. I have tried it, but nothing happened. When I try the same filter for the port 8080 it is working very well. .) working filter (here I can see the dropped packages): tc filter add dev eth0 parent ffff: protocol ip u32 match ip dport 8080 0xffff police rate 1kbit burst 1 drop flowid :1 .) not working filter (here I can`t see the dropped packages): tc filter add dev eth0 parent ffff: protocol ip u32 match ip dport 8099 0xffff police rate 1kbit burst 1 drop flowid :1 Maybe it is a problem of the port forwarding, because I have set the forwarding of the incom...
2008 Mar 19
0
block p2p
...E 0.0.0.0/0 0.0.0.0/0 all - - - 0 CONTINUE 0.0.0.0/0 0.0.0.0/0 all - - - !0 7 0.0.0.0/0 0.0.0.0/0 ipp2p:all SAVE 0.0.0.0/0 0.0.0.0/0 all - - - !0 tcclasses #INTERFACE MARK RATE CEIL PRIORITY OPTIONS eth0 5 full/3 full 1 tcp-ack,tos-minimize-delay eth0 6 full/3 full 2 default eth0 7 1kbit 1kbit 3 eth1 5 full/3 full 1 tcp-ack,tos-minimize-delay eth1 6 full/3 full 2 default eth1 7 1kbit 1kbit 3 tcdevices #INTERFACE IN-BANDWITH OUT-BANDWIDTH eth0 1536kbit 512kbit eth1 1536kbit 512kbit I left the p2p reject rule in my rules file (I thought it couldn't hurt). The resul...
2006 Jan 08
2
HTB - not borrowing, not exceeding rate
...s 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 perturb 5 quantum 1500b tc class add dev eth2.24 parent 1:6667 classid 1:3 htb rate 1kbit ceil 256kbit quantum 2000 burst 100kbit tc qdisc add dev eth2.24 parent 1:3 handle 3: sfq perturb 5 quantum 1500b ......
2002 Apr 26
9
[Fwd: Re: borrowing only from parent]
...s htb 1:101 parent 1:1 prio 0 rate 40Kbit ceil 40Kbit burst 1599b/8 mpu 0b cburst 1599b/8 mpu 0b quantum 512 level 0 Sent 392526 bytes 5898 pkts (dropped 0, overlimits 15394) lended: 5898 borrowed: 0 giants: 0 injects: 0 tokens: -11905 ctokens: -11905 class htb 1:1 root prio 0 rate 100Kbit ceil 1Kbit burst 1599b/8 mpu 0b cburst 1599b/8 mpu 0b quantum 1280 level 3 Sent 956111 bytes 14168 pkts (dropped 0, overlimits 0) rate 12bps lended: 566 borrowed: 0 giants: 0 injects: 0 tokens: 224179 ctokens: -59999999 class htb 1:100 parent 1:1 prio 0 rate 60Kbit ceil 60Kbit burst 1599b/8 mpu 0b cburst...
2005 Jun 19
1
question about wonder shaper and htb
...less, and to borrow up to the specified ceiling if more is needed. For example, in my setup my 1:10 class gets 100kbit fixed rate with an $UPLINK ceiling: tc class add dev $DEV parent 1:1 classid 1:10 htb rate 100kbit \ ceil ${UPLINK}kbit burst 6k prio 1 My 1:20 then gets the rest of $UPLINK - 1kbit (more on the 1kbit in a sec) with the same ceiling but a lower priority: tc class add dev $DEV parent 1:1 classid 1:20 htb \ rate $[($UPLINK - 100) - 1]kbit \ ceil ${UPLINK}kbit burst 6k prio 2 My 1:30 low prio class now only gets 1kbit guaranteed bandwidth and a lower ceiling of available b...
2002 Oct 29
3
HTB/IMQ with GRE bug
...ontrol. If I remove iptables rule iptables -t mangle -D POSTROUTING -j IMQ then no such warning messages :O. An information to this is in my all class I''m using very low rate and rely on ceil parameter of htb... example of one such class is class htb 1:35 parent 1:2 leaf 35: prio 0 rate 1Kbit ceil 64Kbit burst 1600b cburst 1680b becouse of that I get following message on console ... ... ... Oct 29 17:30:12 1035892812 kernel: HTB: quantum of class 10057 is small. Consider r2q change. Oct 29 17:31:08 1035892868 kernel: NET: 17 messages suppressed. ... ... ... This I didnot think a seriou...
2007 Apr 04
13
tc questions
...y child class? - What should I expect if I run something like this? tc qdisc add dev eth0 root handle 1: htb default 10 tc class add dev eth0 parent 1: classid 1:1 htb rate 100mbit tc class add dev eth0 parent 1:1 classid 1:10 htb rate 90mbit tc class add dev eth0 parent 1:1 classid 1:20 htb rate 1kbit tc class add dev eth0 parent 1:20 classid 1:21 htb rate 10mbit I guessed the traffic redirected to 1:21 should have 1kbit of rate at most (because of its parent 1:20), but when I ran this, I got a higher rate (because of the 10mbit rate, I guess). Why? Shouldn''t parent classes restrict...
2006 Sep 13
1
HTB shaping problem
...ip on the NA eth0 interface. The DSL modem is actually a 15Mbit/1024Kbit ATM, but i want to limit the upload to 128Kbit/s, to test the Voip thing. My plan: HTB qdisc with overall rate at 128kbit, and 2 classes, one with prio 1 (for VoIP) and one with prio 2 (For other data), each of them rated a 1kbit/s and ceiled at 128kbit/s. And, on top of this, SFQ qdiscs for fairness. So : $TC qdisc add dev eth0 root handle 1: htb default 3 $TC class add dev eth0 parent 1: classid 1:1 htb rate 128kbit burst 6k $TC class add dev eth0 parent 1:1 classid 1:2 htb quantum 1600 rate 1kbit ceil 128kbit prio 1 $...
2004 Oct 06
3
HTB and Openvpn
...Here''s what I did: tc qdisc add dev eth0 root handle 1: htb default 30 tc class add dev eth0 parent 1: classid 1:1 htb rate 10mbit burst 15k tc class add dev eth0 parent 1:1 classid 1:10 htb rate 700kbit ceil 1mbit burst 15k prio 0 tc class add dev eth0 parent 1:1 classid 1:20 htb rate 1kbit ceil 28800 burst 15k tc class add dev eth0 parent 1:1 classid 1:30 htb rate 1kbit ceil 1mbit burst 15k prio 1 tc qdisc add dev eth0 parent 1:10 handle 10: sfq perturb 10 tc qdisc add dev eth0 parent 1:20 handle 20: sfq perturb 10 tc qdisc add dev eth0 parent 1:30 handle 30: sfq perturb 10 U32=&...
2005 Mar 11
4
HTB statistics
...e always 0 packets overlimits or dropped? I try to expain with a simple example. I create a qdisc htb with only a class and then i do a lot of traffic. pc-innocenti:~# tc qdisc add dev eth0 parent root handle 1: htb default 10 pc-innocenti:~# tc class add dev eth0 parent 1:1 classid 1:10 htb rate 1kbit cei l 1kbit quantum 2000 The qdisc show that there are packets overlimits: pc-innocenti:~# tc -s -d qdisc show qdisc htb 1: dev eth0 r2q 10 default 10 direct_packets_stat 1145 ver 3.17 Sent 339419 bytes 1533 pkts (dropped 0, overlimits 402) backlog 370p The class instead always show 0 packet...
2005 Apr 19
5
Strange pings.
Hi. The configuration script is at the bottom. My configuration looks similar to this: imq0 | 1:1 (12mbit) | 1:2 (10mbit) | 3:0 | 3:1 (256kbit) / \ 3:2 3:3 icmp (rest) both 3:2 and 3:3 have rate 1kbit ceil 256kbit Icmp bucklet have priority 1 (better), "rest" bucklet have prio 2 (worse) I tested the script with heavy download from machine 192.168.1.2 in the background. While the download was going I pinged 192.168.1.1. All works fine, except pings... They should be low, and they a...
2004 Aug 06
2
buffer size from source to ice/shoutcast
Hello, I've built my own source for ICE/SHOUTcast, and it works pretty well except for one thing. After tuning into the server and listening for an 60-90 minutes you may hear a song skip ahead 30-90 seconds. I think I know why this is happening but I'mnot sure how to fix it. I think this is happening because my source is sending a little bit too much data to ICE/SHOUTcast. My formula
2004 Apr 09
1
HTB
...EXT_IF root handle 1: htb r2q 1 default 2000 $TC class add dev $INT_IF parent 1: classid 1:1 htb quantum 60000 rate 20Mbit ceil 20Mbit $TC class add dev $EXT_IF parent 1: classid 1:1 htb quantum 40000 rate 20Mbit ceil 20Mbit $TC class add dev $INT_IF parent 1:1 classid 1:2000 htb quantum 1500 rate 1kbit ceil 5kbit $TC class add dev $EXT_IF parent 1:1 classid 1:2000 htb quantum 1500 rate 1kbit ceil 5kbit $TC qdisc add dev $INT_IF parent 1:2000 handle 2000: sfq perturb 10 $TC qdisc add dev $EXT_IF parent 1:2000 handle 2000: sfq perturb 10 $TC class add dev $INT_IF parent 1:1 classid 1:2001 htb quant...