search for: 256kbit

Displaying 20 results from an estimated 154 matches for "256kbit".

2006 Mar 30
3
Difficulty in configuring QOS
Hi, I''m trying to configure QOS , but I''m don''t have success. My files: #/etc/shorewall/tcdevices #INTERFACE IN-BANDWITH OUT-BANDWIDTH eth0 256kbit 256kbit eth1 256kbit 256kbit eth2 256kbit 256kbit #/etc/shorewall/tcclasses #INTERFACE MARK RATE CEIL PRIORITY OPTIONS eth1 1 256Kbit 50Kbit 1 default eth2 2 256Kbit 25Kb...
2006 Jul 20
1
QoS doubt about network machine
...have a 4 Mbit backbone coming from the telco I use... This is the link I serve 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 class...
2005 Apr 27
5
Too stupid to figure out shaping
First I''ll confess my sins, then I''ll beg for help. I own a small wireless ISP, and I sell service at three levels, 256kb/s, 384kb/s, and 512kb/s. For about 18 months, I thought I had this bandwidth limiting figured out. I had three HTB classes off the root, one each with the limits above. Since each customer has a single IP address, I used iptables to mark packets
2004 Aug 06
0
CBQ + 802.1Q VLAN
...connected to the Internet (eth0) / LAN(eth1) doing NAT. I''m using VLANs in the LAN Interface, that is connected to a 3Com SuperStack II in a 802.1Q tagged port. I want to create a class that will limit the traffic at 384Kbit/s. I want to create two leaf classes that limit the traffic at 256Kbit/s for each one. I want to attach two sfq qdiscs so the classes are treated equally. I want to put filters that put one IP address for each 256 class (supose that are only two computers on LAN). When one computer is downloading a file from internet it need to never be more than 256Kbit. When both co...
2003 Jun 06
4
tc show error for ingress
...ing script is running successfully and it limits bandwidth both ways to 256 KB However when I want to see the statistics using tc - it only shows me stats for htb class and not for ingress class. The tc output is as follows: tc -s -d class show dev eth0 class htb 1:1 root prio 0 quantum 3276 rate 256Kbit ceil 256Kbit burst 1926b/8 mpu 0b cburst 1926b/8 mpu 0b level 0 Sent 193313679 bytes 189055 pkts (dropped 1, overlimits 0) rate 32656bps 32pps backlog 9p lended: 189046 borrowed: 0 giants: 0 tokens: -77245 ctokens: -77245 What is wrong here? The shaping+limiting script is provided below ---...
2006 Jan 12
1
Qos and bandwidth control
hi everybody. im trying to set up an QoS config, using layer7 (http://l7-filter.sourceforge.net/) for protocol detection. im suposing 3 clients with this configuration: 3 clients: 1.2.3.1 , 1.2.3.2 , 1.2.3.3 1.2.3.1 has 256kbit bandwidth "guaranteed" clients 1.2.3.2 and 1.2.3.3 has 256kbit bandwith so im marking every packet using layer7 iptables module, classifying them in three groups: high priority(2), medium priority(3) and low priority(4). Protocols (or applications) like ssh, VOIP or games suit in the h...
2004 Jan 20
4
Fair bandwidth oversubscribing ? How with HTB ?
...his...as I can''t figure it out :( I need to be able to set up a group of seperate users who have a "bandwidth pool" they share, but also be able to limit their individual bandwidth as well. Example: I have 5 customers and would like to be able to provide them with a maximum of 256Kbit each, with a CIR of 33%. To do this, I''d like the 5 customers to share a parent group which is therefore limited to 426Kbit, Which is 5*256Kbit/3. The idea being that individual customers can achieve up to a maximum of 256Kbit provided that the total group pool doesn''t exceed 42...
2004 Jan 19
3
Shaping inbound ok, outbound wrong
...101 tc class add dev eth0 parent 1:2 classid 1:102 htb rate 128Kbit ceil 128Kbit tc qdisc add dev eth0 parent 1:102 handle 102 sfq perturb 10 tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match ip dst 200.43.134.17 classid 1:102 tc class add dev eth0 parent 1:2 classid 1:103 htb rate 256Kbit ceil 256Kbit tc qdisc add dev eth0 parent 1:103 handle 103 sfq perturb 10 tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match ip dst 200.43.134.18 classid 1:103 tc class add dev eth0 parent 1:2 classid 1:104 htb rate 128Kbit ceil 128Kbit tc qdisc add dev eth0 parent 1:104 handle 104 s...
2005 Dec 04
3
Shaping per machine
...ferently here? tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 1: htb default 10 tc class add dev eth0 parent 1: classid 1:1 htb rate 100MBit ceil 100MBit tc qdisc add dev eth0 parent 1:10 handle 110: sfq perturb 10 tc class add dev eth0 parent 1:1 classid 1:10 htb \ rate 256kbit ceil 256kbit prio 0 tc filter add dev eth0 parent 1:0 protocol ip pref 1 u32 \ match ip src 10.7.15.0/24 flowid 1:10 Thanks dave -- Dave Weis djweis@internetsolver.com http://www.internetsolver.com/
2004 Jul 28
0
CBQ Problem
...ed to the Internet. In the other side of this box is my LAN. I want to create the following scenario: My root qdisc is attached to a 100Mbit/s NIC I want to create a class attached to this qdisc that will limit the traffic at 384Kbit/s. I want to create two leaf classes that limits the traffic at 256Kbit/s. I want to attach two sfq qdiscs so two classes are treated equally. I want to put one LAN IP for each leaf class. When one IP is downloading a file from internet it will never be more than 256Kbit. When both IPs is downloading files at the same time, they will never be more than 384Kbit. (I thi...
2005 Sep 28
2
htb + tc filter
...is list so dont blame me if i will talk about nothing.. At this moment i am experimenting with htb + tc u32 filters , the problem is that i want some traffic to be unshaped so i did this.. tc qdisc add dev eth0 root handle 10: htb default 20 tc class add dev eth0 parent 10: classid 10:2 htb rate 256Kbit THIS IS TRAFFIC I WANT NOT TO BE SHAPED tc filter add dev eth0 parent 10: protocol ip prio 1 u32 \ match ip sport 8764 0xffff match ip dst 213.151.70.42 match ip src 213.151.64.80 flowid 10:1 tc filter add dev eth0 parent 10: protocol ip prio 1 u32 \ match ip sport 123 0xffff match ip dst 2...
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....
2007 Feb 04
4
tc ingress + iptables mark problem
Hi guys , i am starting to "play" with qos in linux. Well , i am trying to setup an ingress filter but i do not know why it is not working. tc add qdisc dev eth0 ingress tc filter add dev eth0 parent ffff: protocol ip prio 1 handle 1 fw police rate 160kbit burst 256kbit drop flowid :1 After that : iptables -A PREROUTING -t mangle --sport 80 -j MARK --set-mark 1 So , i think this should make all traffic from port 80 be filtered by tc , does it ? But it is not working , i keep downloading at full speed from port 80. Any help ? -- []''s Salatiel &quo...
2004 Nov 01
1
Big problem :(((((
...''s network. Afther the mark i send the packets to the followind classes: script for eth0 (eth0 is my local network) #!/bin/bash tc qdisc del dev eth0 root >/dev/null tc qdisc add dev eth0 root handle 1: htb default 3 tc class add dev eth0 parent 1: classid 1:1 htb rate 64kbit ceil 256kbit burst 15k quantum 1500 # Internet tc class add dev eth0 parent 1: classid 1:2 htb rate 10Mbit burst 15k quantum 1500 # Metropolitan tc class add dev eth0 parent 1: classid 1:3 htb rate 80Mbit burst 15k quantum 1500 # Provider t...
2004 Apr 24
9
newbie: TC[NG] with (256kbit/s down and 768kbit/s up) on a router
...y not really very easy to understand, or, to get in. Well, I''ve the following configuration on the router box: LAN - interface: eth0 - network: 192.168.2.5/24 - bandwidth: 100Mbit/s INET interface - interface: ppp0 - network: .dynamic.ip./0 - bandwidth: DOWN=1536kbit/s and UP=256kbit/s the LAN interface is to serve 6 other clients with internet and local services. My goal NOW was, or is, to garrantie each client with a fair amount of bandwith for both, up and down. That is, each client inside the LAN should get garrantied - PER_CLIENT_DOWN=256kbit/s - and PER_CLIENT_UP=42...
2005 Apr 05
10
ppp+vpn+htb
please, help, i have build vpn server (suse 9 + poptop), i have managed to implement tc htb in ip-up script, but every client has own ppp interface (ppp0, ppp1, ppp2...), and my idea is to share available bandwidth, not to limit connection, how to build root tc rule, when I have more then one interface?... please any one width experiance regards _______________________________________________
2005 Apr 28
1
Packets Going to default class
...e my config $TC qdisc add dev $IFACE root handle 1: htb default 15 $TC class add dev $IFACE parent 1: classid 1:1 htb rate ${CEIL}kbit ceil ${CEIL}kbit $TC class add dev $IFACE parent 1:1 classid 1:10 htb rate 512kbit ceil 512kbit prio 0 $TC class add dev $IFACE parent 1:1 classid 1:15 htb rate 256kbit ceil 256kbit prio 0 $TC qdisc add dev $IFACE parent 1:10 handle 10: sfq perturb 10 $TC qdisc add dev $IFACE parent 1:15 handle 15: sfq perturb 10 $TC filter add dev $IFACE parent 1:0 protocol ip prio 0 handle 10 fw classid 1:10 $TC filter add dev $IFACE parent 1:0 protocol ip prio 0 handle 15 fw...
2005 Nov 04
4
Latency/burst problem with HTB
...ral LAN traffic and other for Ethernet traffic to the ADSL router: # Hi speed class tc class add dev eth0 parent 1:1 classid 1:10 htb rate 95Mbit ceil 95Mbit tc qdisc add dev eth0 parent 1:10 handle 10: sfq perturb 10 # Low speed class (ADSL) tc class add dev eth0 parent 1:1 classid 1:11 htb rate 256kbit ceil 256kbit As you can see, bandwidth cannot be borrowed, so I think I could get rid of 1:1. Anyway, this shouldn''t make any difference for bursted protocols that now are slow. In the hispeed class I use 95 as rate and ceil because being averaged values, I prefer to slow down LAN tra...
2004 Jun 18
2
shaping a ciber cafe
Hi, I''m looking for a script in order to do traffic control on a ciber cafe LAN, with linux router. Ciber has about 40 hosts, and I haven''t much bandwidth (512kbit). Also, I''ve a squid cache and it works very good! I''ve found Jim QoS script, and FairNat. Which is more suitable for me ? Jim QoS ? FairNat ? other ? If I put FairNat, I would need ZPH patch
2004 Dec 23
5
What is wrong here (continued...)?
...ant to happen. P-25 is clearly getting more priority than P-22 and P23. I just cant see how this can be happening with the config below: #root device $TC qdisc add dev $INTERFACE root handle 1: htb default 25 #root class $TC class add dev $INTERFACE parent 1: classid 1:1 htb rate 256kbit #20 - ICMP, DNS, SYN, SSH $TC class add dev $INTERFACE parent 1:1 classid 1:20 htb rate 128kbit ceil 256kbit prio 1 $TC qdisc add dev $INTERFACE parent 1:20 handle 20: sfq perturb 10 $TC filter add dev $INTERFACE parent 1:0 prio 0 protocol ip handle 20 fw flowid 1:20 #21 - HTT...