search for: 128kbit

Displaying 20 results from an estimated 215 matches for "128kbit".

Did you mean: 128bit
2004 Jan 19
3
Shaping inbound ok, outbound wrong
...ommands I run:tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 1 htb default 10 r2q 5 tc qdisc del dev eth1 root tc qdisc add dev eth1 root handle 1 htb default 10 r2q 5 tc class add dev eth0 parent 1: classid 1:2 htb rate 3Mbit tc class add dev eth0 parent 1:2 classid 1:100 htb rate 128Kbit ceil 128Kbit tc qdisc add dev eth0 parent 1:100 handle 100 sfq perturb 10 tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match ip dst 200.43.134.15 classid 1:100 tc class add dev eth0 parent 1:2 classid 1:101 htb rate 128Kbit ceil 128Kbit tc qdisc add dev eth0 parent 1:101 handle 101 s...
2003 Jul 05
13
HTB doesn''t respect rate values
...AMD K6 200 MHz Linux distribution: Mandrake 8.1 kernel: compiled 2.4.21 applied this: #define PSCHED_CLOCK_SOURCE PSCHED_CPU in file linux/include/net/pkt_sched.h bevore compiled the kernel (described on http://www.docum.org/stef.coene/qos/faq/cache/40.html) bandwitch on eth0: 128kbit The most simple configuration - 122kbit guaranted for WWW (sport 80) and 6kbit for the rest. tc qdisc del root dev eth0 tc qdisc add dev eth0 root handle 1:0 htb default 3 tc class add dev eth0 parent 1:0 classid 1:1 htb rate 128kbit ceil 128kbit tc class add dev eth0 parent 1:1 classid 1:2 ht...
2005 Oct 19
0
help for script add ip addresses dynamically
...ecific Ip address to that class. let me write commands: tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 1: htb default 12 tc class add dev eth0 parent 1 classid 1:1 htb rate 10mbit ceil 10mbit tc qdisc add dev eth0 parent 1:1 sfq tc class add dev eth0 parent 1:1 classid 1:21 htb rate 128kbit ceil 128kbit tc filter add dev eth0 parent 1: protocol ip prio 1 u32 \match ip dst 172.18.5.74 classid 1:21 tc class add dev eth0 parent 1:1 classid 1:22 htb rate 128kbit ceil 128kbit tc filter add dev eth0 parent 1: protocol ip prio 1 u32 \match ip dst 193.140.57.150 classid 1:22 tc class add de...
2005 Apr 20
1
deleting tc rules
...e_www-0.20]# tc filter del dev eth0 protocol ip prio 5 parent 2:22 u32 ht 104:3: match ip dst 10.0.0.3 flowid 2:1012 [root@malinko shape_www-0.20]# tc qdisc del dev eth0 parent 2:1012 handle 1012: sfq perturb 4 [root@malinko shape_www-0.20]# tc class del dev eth0 parent 2:22 classid 2:1012 htb rate 128kbit ceil 128kbit burst 0 cburst 0 RTNETLINK answers: Device or resource busy If I try to delete the whole part of ''handle 104'': [root@malinko shape_www-0.20]# tc filter del dev eth0 protocol ip prio 5 parent 2: u32 match ip dst 10.0.0.0/30 hashkey mask 0x000000ff at 16 link 104: [r...
2003 Feb 19
0
limiting users on a 128kbit line
Hello! I''ve been trying to write a traffic shaper for a 128kbit line with this setup : 5 computers that get dedicated bandwidth and the rest go in a pool with bigger priorities. I made the attached script, but it seems it doesn''t work... It sends the traffic coming from the dedicated ips to the default class. Where is the error ? Will this setup w...
2004 Apr 01
3
Control Bandwidth
Hi all, I need a little help, i am studing htb to control user bandwidth (download/upload) and I made a script as below to test. I am testing using ttcp tool from by linux box to other linux (192.168.200.51). my box <---- Linux = more than 128kbit mybot -----> Linux = get 128kbit But I want to control both ways, what am I missing? script: EXTIF=eth0 INTIF=eth1 TC=/sbin/tc DOWN=128 UP=64 IP=192.168.200.201 ################## # $TC qdisc del $EXTIF root 2> /dev/null > /dev/null # $TC qdisc add dev $EXTIF root handle 0: htb default...
2006 Feb 21
1
Shaping by IP''s
If in one time 3 IP adresses using internet. TC script: DEV=eth0 # LAN SERVER_IP=192.168.1.2 # eth0 ip address tc qdisc add dev $DEV root handle 1: htb default 255 tc class add dev $DEV parent 1: classid 1:1 htb rate 384Kbit quantum 1500 tc class add dev $DEV parent 1:1 classid 1:20 htb rate 128Kbit ceil 384Kbit prio 0 quantum 1500 tc class add dev $DEV parent 1:1 classid 1:21 htb rate 128Kbit ceil 384Kbit prio 0 quantum 1500 tc class add dev $DEV parent 1:1 classid 1:22 htb rate 128Kbit ceil 384Kbit prio 0 quantum 1500 tc qdisc add dev $DEV parent 1:20 handle 20: sfq perturb 6 tc qdisc ad...
2004 Aug 31
1
limiting the bandwidth for *each* ip in some class
hello all, i got my htb running and controlling my bandwidth right, but i have a doubt. i configured HTB to limit my class 192.168.0.0/24 to 128kbit. but i want 128kbit for *each* machine on this class, and not for the entire class. when 2 machines in 192.168.0.0/24 are downloading one file, they share the 128kbit bandwidth between them, using 64kbit for each. why i can get all machine on this class using 128kbit without share this link? thank...
2006 Sep 13
1
HTB shaping problem
...t a standard PC) A--[Switch]--[eth1 NA eth0]--[DSL modem] A = 1 pc and 1 ip phone on a 192.168.0.0/24 network on the other side, the DSL modem is a bridge-type, thus i have my internet 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...
2005 Dec 10
10
Marking packets by mac addr using tc filter u32 match?
Hi Is there a way of marking packets by mac address instead of ip or ports using a "tc filter u32 match"? I read somewhere that I could use the offset -8 and -14 to grab the mac addresses but if I use anything lower than -8, for example -9, I get an error. I''m modifying the wondershaper script to cap the download speed by mac address. Any sugestions?
2005 Jul 02
0
Bandwidth shaping script appears to incorrectly halve the bandwidth
...Creating Classes tc class add dev $UL_DEV parent 1: classid 1:1 cbq rate ${OUTGOING_BW}kbit allot 1500 prio 5 bounded isolated tc class add dev $DL_DEV parent 2: classid 2:1 cbq rate ${INCOMING_BW}kbit allot 1500 prio 5 bounded isolated tc class add dev $UL_DEV parent 1:1 classid 1:10 cbq rate 128kbit allot 1600 prio 1 avpkt 1000 tc class add dev $DL_DEV parent 2:1 classid 2:10 cbq rate 128kbit allot 1600 prio 1 avpkt 1000 tc class add dev $UL_DEV parent 1:1 classid 1:20 cbq rate 128kbit allot 1600 prio 2 avpkt 1000 bounded tc class add dev $DL_DEV parent 2:1 classid 2:20 cbq rate 128kbit allot...
2006 Feb 05
1
htb prio ...
...nt 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 1:0 prio 2 protocol ip handle 102 fw flowid 1:102 iptables -t mangle -A USERS_DL -m set ! --set local src -d 102.168.0.2 -j MARK --set-mark 102 tc class add dev $DEV parent 1:23 c...
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...
2005 Jan 12
4
hashing filters
...th0 parent 1: classid 1:2 htb rate 100Mbit ceil 100MBit tc filter add dev eth0 parent 1:2 handle 2: protocol ip u32 divisor 256 tc filter add dev eth0 protocol ip parent 1: u32 match ip dst 192.168.0.0/16 hashkey mask 0x000000ff at 12 link 2: tc class add dev eth0 parent 1:2 classid 1:3 htb rate 128Kbit ceil 128Kbit j=0; while [ $j -le 254 ] do i=0; while [ $i -le 254 ] do hexi=`echo "obase=16; $i" | bc` tc filter add dev eth0 protocol ip parent 1:2 u32 ht 2:$hexi: match ip dst 192.168.$j.$i flowid 1:3 i=$((i+1))...
2005 May 13
0
New shaping program - ist-shaper
...n few days will be new version with time aware rules. The simply config file looks like this. ############################################################################ ### # It''s a simple example of a config file for Ist Shaper # It only prioritizes outgoing traffic on interface eth0 (128Kbit bandwidth) # by source and destination port. # # +--------------------------------------------------------------------------+ # | htb 1:1 128Kbit | # +------------------------+------------------------+------------------------+ # | htb 1:10 96Kbit prio 1 | htb 1:10 64Kbit...
2006 May 14
6
How do I limit download speed by ip address on the LAN?
Hello there, I can modify /etc/shorewall/tcdevices to control overall IN-BANDWITH. It is quite effective. Just change 2mbit to 128kbit. However, how do I limit download speed for a certain host IP on the LAN? I want to limit host 192.168.1.140 download speed to 128Kbit. Other hosts on the 192.168.1.0 LAN can still surf at 2mbit. Any input welcome. Kind Regards, Michael
2006 Mar 28
1
Please help - totally confused (NAT + FWMARK + IMQ + HTB)
...IMQ --todev 1 iptables -t mangle -A PREROUTING -i eth1 -j IMQ --todev 1 # DOWNLOAD (?) SHAPER tc qdisc del dev imq0 root tc qdisc add dev imq0 root handle 1: htb default 0x9999 tc class add dev imq0 parent 1: classid 1:1 htb rate 3850kbit tc class add dev imq0 parent 1:1 classid 1:0x9999 htb rate 128kbit ceil 3850kbit prio 3 # UPLOAD (?) SHAPER tc qdisc del dev imq1 root tc qdisc add dev imq1 root handle 2: htb default 0x9999 tc class add dev imq1 parent 2: classid 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''...
2002 Dec 04
3
HTB/IMQ troubles (probably)
...ss htb 1:20 parent 1:1 leaf 20: prio 1 quantum 1000 rate 64Kbit ceil 64Kbit burst 1680b/8 mpu 0b cburst 1680b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 168099 ctokens: 168099 class htb 1:30 parent 1:1 leaf 30: prio 1 quantum 1638 rate 128Kbit ceil 128Kbit burst 1762b/8 mpu 0b cburst 1762b/8 mpu 0b level 0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 88149 ctokens: 88149 class htb 1:40 parent 1:1 leaf 40: prio 1 quantum 1638 rate 128Kbit ceil 128Kbit burst 1762b/8 mpu 0b cburst 1762b/8 mpu 0b...
2005 Jul 10
7
QOS HELP PLEASE
ive got problems with my network (120 people) ive got big pings (300ms)m whereas there are normally about 19ms. i do not know if my qos is proper (fast i mean). www.tdi.pozman.pl/fir2 - my qos www.tdi.pozman.pl/rules - my firewall can sb tell me if do it ok ? -- *Dariusz ''tdi'' Dwornikowski | Gentoo | admin at pozman.pl |
2001 Jun 12
2
Marking returned MASQ'ed packets (ingress, TC, etc.)
Hi Folks, I''m using a 2.4.x kernel and TC from the iproute2 package so that I can limit traffic through my gateway. I''m using this to mark packets when they leave the LAN: /sbin/ipchains -A forward -j MASQ -i eth0 -s 192.168.1.0/24 -d 0.0.0.0/0 -m 1 When the packets return, I need to have them marked again so that the ingress filter will limit the bandwidth in the opposite