Displaying 20 results from an estimated 5000 matches similar to: "Network traffic control/shaping of guest interfaces"
2006 Jan 29
0
how can I delete filter : RTNETLINK file doesn''t exist
what is the script for deleting filter that already exist???
the htb script is:
tc qdisc add dev eth0 root handle 1:0 htb default 4
tc class add dev eth0 parent 1:0 classid 1:1 htb rate 500kbps ceil 500kbps
tc class add dev eth0 parent 1:1 classid 1:2 htb rate 300kbps ceil 300kbps
tc qdisc add dev eth0 parent 1:2 handle 12:0 pfifo
tc class add dev eth0 parent 1:1 classid 1:3 htb rate 150kbps
2004 Jul 12
1
Traffic shaping: upload should not hurt download
Hello!
I have a small home network and I''d like to use traffic shaping because
every time someone uploads a file at full speed, my download speed drops
to ~10 KB/s. My connection is 768/128 DSL.
I found a script at http://www.knowplace.org/shaper/examples.html
$TC qdisc add dev $INTERFACE root handle 1: htb default 60
$TC class add dev $INTERFACE parent 1: classid 1:1 htb rate 116kbit
2005 Nov 02
0
trouble with traffic shaping HTB
hi there,
is there any possible way to control traffic in child??? class with
selected protocols for example http i try to use this script but its now
working in theory:
there is root class 1:0 with subclass 1:2
in class 1:2 all ip adresses have their bandwidth limit 1:{iden}
and now i try also control bandwith in this class
i.e. if class 1:{iden} have 190kbit
i want 95kbit with burst to 190kbit
2005 Nov 02
1
HTB not shaping traffic
I cannot get HTB to function properly. Most classes transmit more than
their ceiling, more than any reasonable burst would allow. I have
reviewed my script several times but I can''t find anything out of place.
The setup is as standard as it gets: one HTB root qdisc, a small tree of
HTB classes, one SFQ qdisc for each leaf HTB class.
To illustrate the problem, here is non-leaf HTB
2004 Nov 22
0
Testing if tc works as configured and shaping rtp traffic
Hi,
I have implemented qos at my gateway, mostly for speeding up dns and
[video,voice] chat traffic and to slow down p2p traffic. It seems every
thing is working properly, as by browsing speed has been improved. But I
want to test it by sending various traffic and to see through which
qdisc the traffic flows, so that i can be certain that it is working
the way I want it to work.
The rules
2007 Oct 24
0
Traffic shaping
I am using HTB for traffic shaping, my scenario is
Eth1 is my local interface and I wan to shape bandwidth for IP 172.16.173.245.
Now I want if any request from above IP comes its get 1mb speed and all others get 96kb speed, for this setup I make following script but it does not work. Can anyone help me ?
htb script
--------------
tc qdisc del dev eth1 root 2> /dev/null > /dev/null
tc
2005 Mar 13
1
Traffic Shaping for DVB gateway
Hello all,
I am providing broadband service through DVB circuit.
I have 4KB uplink and 32KB downlink. I want to share
32KB downlink bandwidth among 192.168.0.0/24 (20 users
in this subnet i.e 192.168.0.2-192.168.0.22)subnet
where each user will get 2KB to 6KB bandwidth. And
from 4KB uplink bandwidth each users will get only 1KB
to 2KB bandwidth.
2006 Feb 21
0
Best internet traffic shaping for small lan
I''m admin of 50 clients. Sometimes I upgrading my internet traffic
shaping script. I think rules of inetrnet traffic
shaping is very important thing! I would like to ask some help from
people, who understand something about
SQUID ZPH and TC, to aim beter internet traffic shaping scripts.
Squid has ZPH suport, becouse its responds to such commands as:
zph_tos_local 8
zph_tos_peer 0
2001 Dec 28
1
need help in shaping traffic
hi all,
my system with kernel 2.4.16 & 2.4.17( RH-7.2) has
netfilter-1.2.4, iproute-ss010803, squid, dns with 4
ether cards.i am trying a simple situation where i
want to shape traffic all the interfaces. at present
iam using netfilter to allow a few ips, using
transparent squid & iproute to limit bandwidth. i feel
i must give more bandwidth for my local servers for my
office &
2006 Dec 06
1
ADSL traffic shaping to improve latency
Hello.
I have a 1024/256kbit ADSL and tried to shape outgoing traffic in order
to improve latency.
Here is my config.
UPLOAD_RATE="256"
UPRATE="$[4*$UPLOAD_RATE/5]" (a little smaller)
UP70="$[7*$UPRATE/10]kbit"
UP30="$[3*$UPRATE/10]kbit"
UP20="$[2*$UPRATE/10]kbit"
UPRATE="${UPRATE}kbit"
IF="eth2"
IPTABLES="iptables -t
2010 Sep 10
5
Traffic shaping on CentOS
I've been trying to do traffic shaping on one of my public servers and
after reading up, it seems like the way to do so is via tc/htb.
However, most of the documentation seems at least half a decade old
with nothing new recently.
Furthermore, trying to get documentation on tc filters turned up a
blank. man tc refers to a tc-filters (8) but trying to man that gives
a no such page/section
2005 Mar 15
1
Traffic Shaping multiple incoming broadband sources?
Hi, complete newb and I apologise for it.
I have a setup where my linux box has multiple broadband connection where I am routing certain things over certain interfaces, currently 2 links eth2 is a 1500/256 and eth3 is a 512/512, eth0 is the link to the LAN for users. What I am trying to do is traffic shape the information going out eth0 to the local users by the interface the traffic arrived
2007 Mar 15
3
Traffic Shaping over Satellite Internet
I''ve set up Traffic Shaping on a Linux Router.
Using HTB with SFQ, i''m trying to slow down
heavy downloading for 20 subscribers over
a 2048 kbit downlink. I''m classifying internet related
traffic using iptables marking.
bri0 is my local lan bridge, receiving egress traffic destined for subscribers.
tc qdisc add dev bri0 root handle 1: htb default 2
tc class add dev
2004 Aug 19
0
traffic shaping a box with vpn tunnels.
Greetings,
I''ve got a server with a bunch of vpn (openvpn) tunnels terminating on it. I''m
trying to limit the total bandwidth the tunnels can use to 3mbit. So I
applied a rule like this:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tc qdisc add dev eth0 root handle 1: htb default 90
tc class add dev eth0 parent 1: classid 1:1 htb rate 100mbit burst 15k
# Default rule for
2006 Nov 15
7
Shaping incoming VoIP traffic fails
Hello,
I''m trying to get lossless VoIP traffic over my 3000k/500k ADSL line. Shaping
outgoing traffic is no problem: I set total ceil for outgiong device (ppp0)
to 450kbit and put VoIP into highest prio class. Even during full upload the
voice is clean on the other end.
Now I tried to get the same result for incoming data. I attached HTB to eth1
where the incoming voip traffic is
2005 Jan 24
3
Htb, imq and sfq traffic shaping
Hello,
I wrote a simple traffic shaping script (below) that should have allowed me to shape my internet traffic a bit (ppp0 - adsl 128kbit/64kbit; local interface eth0).
The script works only partially - the speed is being limited but too much. Without running this script my download rate is about 10kBytes (with second computer also downloading at about 6kBytes). After running it my download speed
2004 Jul 14
1
tcng/tc setup
Hi all,
Can someone please help with a tcng setup? I have played with tc and tcng in
the past, and now would like to get some serious rules in place. However, I
have a difficulty in setting them up.
My setup is as follows:
One machine working as a firewall:
eth0 is the interface connected to a 512K DSL line
eth1 is connected to a LAN
eth2 is connected to another LAN, a bit like a DMZ
eth1 and
2005 May 04
4
OpenSwan traffic shaping with HTB & sfq
Hi All,
I''ve got an interoffice IPSEC VPN in place that I''m trying to give
priority to terminal service (tcp 3389) traffic.
I''ve created rules at each end, but have hit a bit of a dillemma. As
the data is encrypted I must also give highest priority to protocol 50
otherwise the priority is lost as the packet gets encrypted.
When I do this however, I can''t
2003 Nov 13
1
HTB traffic shaping + squid cache proxy
Hello!
My system is:
Internet ADSL(PPPoE) ---> ppp0 [LINUX server(router)] eth0 ---> LAN
Server(router) is running on LINUX Slackware 8.1. I have recompiled a
2.4.22 kernel, enabled all QoS support in the kernel config,
including HTB. My ADSL bandwidth is 256Kbit/s for download and
64Kbit/s for upload.
I use the following HTB+IPTABLES configuration, because I want to
reduce bandwith for
2006 Jan 06
6
HTB traffic shaping odd effects
Hi,
I''m trying to perform some (what I consider) basic traffic shaping on
our network utilising HTB. I have mostly reused the example on the
lartc.org site:
tc qdisc add dev eth0 root handle 1: htb default 10
tc class add dev eth0 parent 1: classid 1:1 htb rate 100mbit burst 24k
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 50mbit ceil
80mbit burst 19k
tc class add dev eth0