Displaying 20 results from an estimated 5000 matches similar to: "Traffic shaping: upload should not hurt download"
2004 Nov 09
23
SEPARATING VOIP AND SURFING
Dear list:
I have a problem I cannot handle yet, and need to
solve it as soon as possible. Would be very greatful
with anybody who can help me.
I have a 512/512 link to internet, that I want to
share between several computers. I have eth0, with a
public IP address, conected to Internet, and also,
eth1, with a private IP address, for network with the
surfing computers. I have a main class with
2005 Jul 02
0
Bandwidth shaping script appears to incorrectly halve the bandwidth
Hi,
I''m trying to modify the Wondershaper script so achieve the following.
1. Prioritize traffic to the few IP addresses.
2. Everyone else should get a fair amount of bandwidth
The problem I am facing is when I run this script is that the bandwidth
seems to get halved. I tried to apply this script to a site where the
upstream and downstream were fully saturated. I immediately saw
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
2003 Oct 11
1
HTB: quantum of class 100001 is small. Consider r2q change
Salut lartc (lartc@mailman.ds9a.nl),
18:12:52 kernel HTB init, kernel part version 3.10
18:12:52 kernel HTB: quantum of class 100001 is small. Consider r2q change.
18:12:52 kernel HTB: quantum of class 100002 is small. Consider r2q change.
18:12:52 kernel HTB: quantum of class 100003 is small. Consider r2q change.
18:12:52 kernel HTB: quantum of class 100004 is small. Consider r2q change.
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 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
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 &
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 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 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
2004 Aug 13
1
Shaping weirdness
I''ve been following the HOWTO, and reading mailing list discussions
about throttling bandwidth, and have had some success, but I just want
to tie off some loose ends. Essentially what I am wanting to do is to
keep our bandwidth usage below 1megabit, because if we go over we get
charged for that traffic. I''ve used some of the examples from the
HOWTO to limit our bandwidth, but I
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
2004 Sep 28
2
Shaping not working
Hi folks,
I''m trying to shape two clients in my LAN when accessing the internet.
Actual situation is that EVERY traffic goes into 1:40, so the client
which should fall into 1:30 does not get the lower uplink it should
have, but the uplink defined for the client defined as 1:30
When I disable the definition of 1:40, every traffic falls into 1:30
(except for the traffic defined to be in
2005 Mar 14
1
htb.init issues
Hi!
Here''s what I want:
root class 0010
premium parent class 1000
premium child classes 1xyz
best-effort parent class 2000
best-effort child classes 2xyz
default class 3000
Here''s how I do it:
eth1:
DEFAULT=3000
eth1-0010.root:
RATE=100Mbit
LEAF=sfq
eth1-0010:1000.premium
CEIL=352Kbit
RATE=352Kbit
PRIO=2
LEAF=sfq
eth1-0010:1000:1xyx.child1
CEIL=32Kbit
RATE=8Kbit
2006 Sep 13
1
HTB shaping problem
Hi all !
I''m building a network appliance whose goals are to enhance Voip
quality on 512/128k DSL links. But, i have a voice quality problem,
and i think i''m doing something wrong, but i can''t find what. Please
excuse my terrible english, i''m french.
>From what i''ve read, tc is the tool i need. I read the documentations,
readmes and lartc.org
2005 Feb 08
1
Shaping and forward
Lartc readers
I have a peculiar problem with shaping and firewalling.
My tc rules work great, below is a smaller version:
#Root
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb default 100
#Root Class
tc class add dev eth0 parent 1: classid 1:1 htb rate 1024kbit quantum
20000 burst 15k
#Class for each user
tc class add dev eth0 parent 1:1 classid 1:2 htb rate 32kbit ceil
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
2007 Mar 13
4
Re: Standalone Shaping
On a router, there is no need for and IMQ because there is always an
egress path.
For example:
Internet -> eth1 -> iptables -> routing -> ... -> egress qdisc ->
eth0 -> LAN
LAN -> eth0 -> iptables -> routing -> .... -> egress qdisc -> eth1
-> Internet
Local Process / Proxy -> routing -> iptables -> egress qdisc ->
eth1/eth0 ->
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
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