search for: 100kbit

Displaying 20 results from an estimated 120 matches for "100kbit".

2005 Apr 06
3
tbf latency problems!
Hi i have found a problem related with tbf and the latency that the tbf calculates.. I have used the following parameters for burst and limit burst 100Kbit limit 500Kbit lat81.8ms burst 6Kbit limit 6Kbit lat 0us burst 200Kbit limit 100Kbit lat 4294.9s As u can see in the 3rd column the latency for 100Kbit burst and 500Kbit limit is 81.8ms but for 200Kbit and limit 100Kbit is 4294.9s!!! How could be possible??? I want to find a way to caclulat...
2006 Jun 02
1
IMQ + NAT
...r eth1..4 and localhost (mainly squid). Nat makes impossible to do it on eth0, so I installed IMQ. I need to get to on imq0 unnnated in/out traffic that I could make priorities for protocols and networks. Do somthing like this: prate=1Mbit localhost: rate=500kbit, ceil=prate vnc: rate=100kbit, ceil=prate web: rate=100kbit, ceilp=prate mail: rate=100kbit, ceil=prate eth1: rate=400kbit, ceil=prate ftp: rate=10kbit, ceil=prate .... eth2..4: rate=100kbit, ceil=prate (eth2...eth4 would split the same 100kbit) rdp: rate=90kbit...
2002 Apr 26
9
[Fwd: Re: borrowing only from parent]
...ev eth0 class 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 mp...
2005 Nov 11
6
action redirect and dummy interface
...and iproute :) i have server with 2 nics : eth0 <> inet eth1 <> lan dummy0 (i want to shape incoming traffic from lan machine on this interface) my config: tc qdisc del dev dummy0 root tc qdisc add dev dummy0 root handle 1: htb tc class add dev dummy0 parent 1: classid 1:1 htb rate 100kbit ceil 100kbit tc class add dev dummy0 parent 1: classid 1:2 htb rate 100kbit ceil 100kbit tc filter add dev dummy0 protocol ip pref 1 parent 1: handle 1 fw classid 1:1 tc filter add dev dummy0 protocol ip pref 2 parent 1: handle 2 fw classid 1:2 ifconfig dummy0 up tc qdisc del dev eth1 root...
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 1...
2005 Dec 27
5
class exceeds its ceil
Hi, I have a setup like this: class 1:1 rate 7600kbit (on a imq device) | |\class 1:10 rate 100kbit ceil 5600kbit prio 7 (here goes p2p traffic) \class 1:12 rate 7500kbit ceil 7600kbit | |\class 1:121 rate 3100 ceil 7500kbit prio 0 |\class 1:122 rate 2200 ceil 7500kbit prio 2 \class 1:123 rate 2200 ceil 7500kbit prio 3 (default) My probl...
2005 Oct 14
0
tc filter not filtering -or- what am I going wrong?
...RNET parent 1: classid 1:1 htb rate 256Kbit ceil 256Kbit #Everything coming from internet to the clients goes thru IMQ $IPT -t mangle -A PREROUTING -i $INTERNET -d 1.2.3.0/24 -j IMQ --todev 0 $IP link set imq0 up #Ping classes $TC class add dev $INTERNET parent 1:1 classid 1:22 htb \ rate 100Kbit ceil 100Kbit $TC class add dev $VVNET parent 1:1 classid 1:22 htb \ rate 100Kbit ceil 100Kbit So far no news! Let try some filtering: $TC filter add dev $VVNET protocol ip \ parent 1:0 prio 2 u32 \ match ip icmp_type 0 0xff flowid 1:22 $TC filter add dev $VVNET protocol ip \ parent 1:...
2002 Oct 15
1
Réf . : Re: trying to use wondershaper on a dedicated line (not adsl)
...how dev eth0 class cbq 1: root rate 10Mbit cell 8b (bounded,isolated) prio no-transmit/8 weight 10Mbit allot 1514b level 2 ewma 5 avpkt 1000b maxidle 23us Sent 294 bytes 7 pkts (dropped 0, overlimits 0) borrowed 0 overactions 0 avgidle 605 undertime 0 class cbq 1:10 parent 1:1 leaf 10: rate 100Kbit cell 8b prio 1/1 weight 100Kbit allot 1600b level 0 ewma 5 avpkt 1000b maxidle 23us Sent 12274 bytes 203 pkts (dropped 0, overlimits 19) borrowed 0 overactions 7 avgidle 624 undertime 0 class cbq 1:1 parent 1: rate 100Kbit cell 8b (bounded,isolated) prio 5/5 weight 100Kbit allot 1500b leve...
2003 Feb 05
1
cbq.init for one port on a subnet
...bandwidth. It works great on a per-user basis. Now I''d like to limit traffic from a netblock to the Internet on port 6699. Network is 192.168.0.160 mask 255.255.255.224 eth0 is the gateway eth1 connects the netblock in question Is this the proper syntax; DEVICE=eth0,10Mbit,1Mbit RATE=100Kbit WEIGHT=10Kbit PRIO=5 RULE=6699 192.168.0.160/27, Thanks! Scott Hi! Scott, Your Config. file s''d be DEVICE=eth0,10Mbit,1Mbit RATE=100Kbit WEIGHT=10Kbit PRIO=5 RULE=192.168.0.160/27:6699 like this & try. Good Luck. Srikanth. _______________________________________________ LART...
2004 Nov 25
1
Shaping with htb and VLAN
...2> /dev/null >/dev/null #create qdisc /sbin/tc qdisc add dev eth0 root handle 1: htb default 0 #all pakets get here /sbin/tc class add dev eth0 parent 1: classid 1:1 htb rate 200kbit burst 10kbit #class for the clients /sbin/tc class add dev eth0 parent 1:1 classid 1:10 htb rate 100kbit burst 10kbit ceil 100kbit prio 10 /sbin/tc class add dev eth0 parent 1:1 classid 1:20 htb rate 100kbit burst 10kbit ceil 100kbit prio 10 #balacing /sbin/tc qdisc add dev eth0 parent 1:10 handle 10: sfq perturb 10 /sbin/tc qdisc add dev eth0 parent 1:20 handle 20: sfq perturb 10 #filter /sbin/tc f...
2004 Apr 04
2
IMQ & NAT
...tc class add dev imq0 parent 1:1 classid 1:10 htb rate 60kbit ceil ${MAX}kbit prio 0 tc class add dev imq0 parent 1:1 classid 1:11 htb rate 40kbit ceil ${MAX}kbit prio 1 tc class add dev imq0 parent 1:1 classid 1:12 htb rate 100kbit ceil ${MAX}kbit prio 2 tc class add dev imq0 parent 1:1 classid 1:13 htb rate 100kbit ceil ${MAX}kbit prio 3 tc qdisc add dev imq0 parent 1:10 handle 100: sfq tc qdisc add dev imq0 parent...
2006 Sep 12
2
HTB - Centos 4.4
...- 1 root root 89 Set 11 21:46 eth0-2:40.www-out -rw-r--r-- 1 root root 63 Set 11 00:13 eth0-2.root [root at srv001 htb]# cat eth0 DEFAULT=30 R2Q=100 [root at srv001 htb]# cat eth0-2.root # root class containing total bandwidth RATE=512kbit BURST=15k # class for outgoing WWW traffic RATE=100kbit CEIL=100kbit BURST=15k LEAF=sfq RULE=*:80 [root at srv001 htb]# cat eth0-2:30.dfl # default class for unclassified traffic RATE=1Kbit CEIL=100kbit BURST=15k LEAF=sfq [root at srv001 htb]# cat eth0-2:20.smtp # class for outgoing SMTP traffic RATE=100kbit CEIL=100kbit BURST=15k LEAF=sfq RULE=*:25...
2005 May 12
0
HTB and IPv6
...or filtering. However my attempt wasn''t successful. I''m thinking of trying my luck with the u32 filter. This is what I did, any comment is greatly appreciated. Thank you all. tc qdisc add dev eth0 root handle 1: htb default 15 tc class add dev eth0 parent 1: classid 1:1 htb rate 100kbit ceil 100kbit tc class add dev eth0 parent 1:1 classid 1:10 htb rate 30kbit ceil 100kbit tc class add dev eth0 parent 1:1 classid 1:11 htb rate 10kbit ceil 100kbit tc class add dev eth0 parent 1:1 classid 1:12 htb rate 60kbit ceil 100kbit ip6tables -t mangle -N queue1 ip6tables -t mangle -A queue1 -...
2003 Jul 16
1
Problen in cbq , fw
...fic destined to internet ## add route $Internet_Address dev eth1 ## Configure following policy ## 1:0 (10Mbit) | 1:1 (10 Mbit) / \ 1:2 1:3 (110Kbit) (100Kbit, bounded) ## add queuing discipline and classes to eth1 ## 1. tc qdisc del dev eth1 root cbq bandwidth 10Mbit avpkt 1000 2. tc qdisc add dev eth1 root handle 1:0 cbq bandwidth 10Mbit avpkt 1000 3. tc class add dev eth1 parent 1:0 classid 1:1 cbq bandwidth 10Mbit rate 10Mbit allot 151...
2005 Jun 01
3
HTB on loopback gives a bit rate multiplied by 8
Hi, I am trying to use htb to limit bandwidth on loopback for traffic through particular port. Here is the script I am using. tc qdisc add dev lo root handle 1: htb tc class add dev lo parent 1: classid 1:1 htb rate 100kbit ceil 100kbit tc class add dev lo parent 1:1 classid 1:10 htb rate 50kbit ceil 50kbit tc class add dev lo parent 1:1 classid 1:11 htb rate 50kbit ceil 50kbit tc filter add dev lo protocol ip parent 1:0 prio 0 u32 match ip sport 22 0xffff flowid 1:10 tc filter add dev lo protocol ip parent 1:0 prio 0...
2003 Oct 27
4
Need help with HTB
...ptables" tc="/sbin/tc" IF_EXT=eth0 IF_LOC=eth1 ######################################################################## ##### $tc qdisc del dev $IF_EXT root $tc qdisc add dev $IF_EXT handle 1: root htb default 99 r2q 1 $tc class add dev $IF_EXT parent 1: classid 1:1 htb rate 100kbit $tc class add dev $IF_EXT parent 1:1 classid 1:2 htb rate 20kbit ceil 20kbit prio 1 $tc class add dev $IF_EXT parent 1:1 classid 1:3 htb rate 60kbit ceil 90kbit prio 3 $tc class add dev $IF_EXT parent 1:1 classid 1:99 htb rate 20kbit ceil 90kbit prio 7 //I''m letting 1:2 use FIFO......
2005 Apr 04
8
Help please with tc and iptables mark
...''t work at all for me. Let me explain a bit more in detail: I have a server behind my linux-firewall box (firewall is with 2.6.10 kernel custom build, iproute2-2.6.11, iptables-1.3.1, gcc-3.4.3), for which server I want to limit the incoming traffic to certain limits (I choose for test 100kbit rate, 100kbit burst, mtu 1500). The server IP address behind the firewall is 192.168.1.218 attached to eth0 interface. Interface eth1 on the firewall faces the incoming traffic from the outside world: eth0 eth1 Server|----------|linux|----------|outside 192.168.1.0/24 192.168.2...
2001 Feb 05
0
bandwidth limiting when src and dst are on the same interface
...; IP of the limiter 228.10 is customer2 gw Now, I have no problems limiting traffic from/to customer2. I do it like this: tc qdisc add dev eth0 root handle 10: cbq bandwidth 100Mbit avpkt 1000 tc class add dev eth0 parent 10:0 classid 10:1 cbq bandwidth 100Mbit \ rate 128kbit allot 1514 weight 100kbit prio 5 maxburst 1 avpkt 1000 bounded tc qdisc add dev eth0 parent 10:1 sfq quantum 1514b perturb 15 tc filter add dev eth0 parent 10:0 protocol ip prio 100 u32 match \ ip src xxx.xxx.228.10 flowid 10:1 tc qdisc add dev eth1 root handle 20: cbq bandwidth 100Mbit avpkt 1000 tc class add dev eth1...
2004 Jan 21
2
Slightly offtopic: IRC channel archives
Hi all. I fear I''m slightly offtopic with this question, but I''ll keep it short: who is (or feels) responsible for the #lartc irc-channel in oftc.net? I''d appreciate if that person would get in contact with me (off-list) in order to discuss some ideas I have. Thanks in advance. Bye, Mike _______________________________________________ LARTC mailing list /
2004 May 03
1
htb bandwith
...000kbit tc class add dev eth0 parent 1:2 classid 1:21 htb rate 600Kbit ceil 2000kbit tc class add dev eth0 parent 1:2 classid 1:22 htb rate 300Kbit ceil 2000kbit tc class add dev eth0 parent 1:2 classid 1:23 htb rate 200Kbit ceil 2000kbit tc class add dev eth0 parent 1:2 classid 1:24 htb rate 100Kbit ceil 2000kbit tc class add dev eth0 parent 1:3 classid 1:31 htb rate 400Kbit ceil 2000kbit tc class add dev eth0 parent 1:3 classid 1:32 htb rate 300Kbit ceil 2000kbit tc class add dev eth0 parent 1:3 classid 1:33 htb rate 100Kbit ceil 2000kbit By using this script, the class 1: 2 can it bo...