Displaying 20 results from an estimated 4000 matches similar to: "QOS with squid in the same machine"
2006 Dec 06
0
Configuring a QoS Box + Cliente Bandwidth Control
Hello all,
I am trying to configure a linux box to make some QoS into my
netowork and, at the same box, control my clients bandwidth. I have this
classes created:
----------------------------------------------------------------
UP="eth0" # wan infocontabil
DL01="eth2" # lan clientes
$TC qdisc del dev $DL01 root 2> /dev/null >
2004 Aug 06
0
CBQ + 802.1Q VLAN
I need to shape traffic from some IP on one LAN, but I''m in trouble. There is a linux 2.4.26 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
2005 Aug 26
1
Problem Mappig Groups to shares
Hi list,
I have a problem here that's make me insane...
I have to make a share only available to persons in a group, it means
that the directory have to be 0770 permission o Linux, right?
Here is my situation:
I use samba with LDAP, and everithing is working fine.
With smbldap-tools, I created the group and with <net groupmap list>
I see that it maps rigth to Unix Group:
grupoteste
2004 Aug 18
0
HTB prio question
Hi all. I have a bridge running Linux 2.4.24 that I use as a
bandwidth manager on a broadband wireless network. I''m using HTB and
SFQ to prioritize that share bandwidth on a per-cell basis. My IP
tables rules divide the traffic based on IPand traffic type (using
layer-7 filter and ipp2p). My goal is to make sure that p2p traffic
on the network doesn''t sink all of the
2004 Jan 19
3
Shaping inbound ok, outbound wrong
Hi, I´m shaping traffic using htb on both interfaces, I noticed that shaping
download traffic is workinggreat but shaping upload traffic is not working
at all (no sent packets, no dropped, no overlimits)I have eth0 facing the
backbone and eth1 facing the LAN. Thanks for your help.These are the
commands I run:tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1 htb default 10 r2q 5
tc
2002 Feb 28
6
basic htb setup
Hey all. I''m trying to set up QoS using the HTB qdisc in a very basic
setup, but it the example shown in the howto doesn''t seem to be working.
While the packets show up in the correct classes, they appear to be
completely ignoring the rates, meaning nothing gets shaped.
My setup is that I''ve got a a bunch of machines behind my firewall/router:
1.2.3.1
2004 Nov 01
1
Big problem :(((((
Hello!
I have an internet connection of 64kbps garanteed in a channel of 256kbps. On this connection the metropolitan speed is 10Mbps and in the provider''s network the speed is 100Mbps.
I have a few clients behind my linux box and i want to set up some limitations because some of them are using it irrational.
I am marking the packets with 0 for internet; 1 for metropolitan 2 for
2006 Jan 07
2
Sharing a DSL between 40 subnets with htb
I have a network with around 40 /24 subnets that shares a common DSL,
this cries out for shaping so here I am trying to make it work as my
first tc project.
I have managed to cargocult some snippets from this list and tried to
come up with a config, but there are a few things that I''d really like
some input on:
1) Are the NAT''ed addresses available in the PREROUTING table
2005 Nov 12
4
Borrowing between HTB classes not working as expectd.
I''m using a fairly large number of classes, andf borrowing is not
working as expected... I''ve called this setting it up on an IMQ device
with speed 1200/256 on a 1536/384 line. I''m then throwing a UDP data
transfer at it that gets tossed in one of the class under parent 1:6.
The classification is working fine, but when I try to ping out, ping
times are in the 900ms
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
2006 Sep 06
0
Can i attach another qdisc (htb) under HFSC classfull ?
Hi,
Is it possible to attach another qdisq under a HFSC classfull ?
I try it and the configuraton works :
$TC qdisc add dev $dev root handle 1: hfsc default 30
$TC class add dev $dev parent 1: classid 1:1 hfsc sc rate
${RATE}mbit ul rate ${RATE}mbit
$TC class add dev $dev parent 1:1 classid 1:10 hfsc rt umax 1500b
dmax 30ms rate 200kbit
$TC class add dev $dev
2004 Jul 24
1
tc del filter troubles
hello,
I have working htb system with about 1000 users. Until now I reload all
rules at change, but it take too much time to apply.
I cannot delete applyed filters. There is rules for one user:
#!/bin/bash -v
# Download shaper EX -> 2:20
/sbin/tc class add dev eth2 parent 2:20 classid 2:1775 htb rate 8000Kbit
ceil 10000Kbit quantum 1514
/sbin/tc qdisc add dev eth2 parent 2:1775 sfq perturb
2004 Apr 21
0
Why cant I see the parent of a qdiscs?
Hi
When I list all the qdisc with tc command it is not possible to see the
parent of the qdisc.
An example by the book.
# tc qdisc add dev eth0 root handle 1: htb default 30
# tc class add dev eth0 parent 1: classid 1:1 htb rate 6mbit burst 15k
# tc class add dev eth0 parent 1:1 classid 1:10 htb rate 5mbit burst 15k
# tc class add dev eth0 parent 1:1 classid 1:20 htb rate 3mbit ceil
6mbit
2005 Jan 05
0
Best QoS Policy for VoIP
Hello all,
I''ve got a couple redundant (Spanning Tree Protocol) boxes running FC1
minimal install + bridge-utils and they are working great for QoS + ntop
monitoring. I''m wondering if I should handle the VoIP traffic a little
differently. I don''t mind letting VoIP and Video lend out traffic when it
isn''t being used, so that''s why I gave them such
2006 Apr 05
0
Configuration of my QoS ruleset (now working fine with u32 classifier)
Hello all,
As I have promised I am sending my QoS rules. This now works fine
with u32 classifier (and parent 1:0 that I could not understand why it
did not worked well before).
Att,
Nataniel Klug
------------------------
#!/bin/sh
#------
# Script de QoS Cyber Nett
#------
# Nataniel Klug
# suporte@cnett.com.br
#------
TC="/sbin/tc"
IPT="/usr/local/sbin/iptables"
2005 May 31
1
QoS and CLASSIFY
Hi Guys
After googling a little I couldn''t find the correct answer..
When I use :
tc filter add dev eth0 parent 1:0 protocol ip prio 1 u32 match ip dst
192.168.0.11 flowid 1:30 , I can shape traffic to 1:30.( works like a
charm)
Now instead tc filter I would like to use CLASSIFY as below:
iptables -t mangle -A POSTROUTING -o eth0 -d 192.168.0.5 -j CLASSIFY
--set-class 1:30
but when I
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
2004 Jun 28
0
fairnat with squid + Squid with ZPH
Hi,
I''m trying to share internet on a LAN
I''ve a linux router with SQUID (with ZPH support) + FAIRNAT
The idea is:
- fairness sharing internet
- priorize interactive traffic
- if a web object is on squid-cache (HIT), user
can download it, with a rate = LAN rate
I''ve:
- Last Fairnat Script: www.metamorpher.de/fairnat/
- SQUID 2.5STABLE5 with ZPH patch
2005 Sep 27
2
QoS-iptables-iproute-tc (doesn''t work together:S)
Hello i''m having some issues trying to match packets
using iptables mark, iproute filter and tc filter.-
i mean, when i do
iptables -t mangle -A INPUT -p tcp --dport 80 -j MARK
--set-mark 20
iptables -t mangle -A PREROUTING -p tcp --dport 25 -j
MARK --set-mark 10
iptables -t mangle -A FORWARD -p tcp -i eth0 -o eth1
--dport 25 -j MARK --set-mark 10
$TC qdisc del dev $INET_IFACE root
$TC
2005 Mar 11
3
strange behaviour of qos
Hi
I have the following problem:
I''ve created qos script which shapes traffic
on outgoing interface eth1. More - less it looks like this :
------------------------CUT------------------------------------------------------
#root qdisc and class for eth1
$tc qdisc add dev eth1 root handle 1:0 htb default 19
$tc class add dev eth1 parent 1:0 classid 1:1 htp ratel ${CEIL_UP}kbit
ceil