Displaying 20 results from an estimated 10000 matches similar to: "Shaping the sum of in/out traffic (IMQ?)"
2005 Jan 05
2
Shaping the sum of incoming and outgoing traffic
Hello,
does anyone have a working solution for the shaping both incoming and
outgoing traffic in such
way, that for a given client the *sum* of incoming and outgoing traffic
is somehow defined?
My ISP does the same thing, it gives me just a line of a defined rate,
no matter the traffic
direction (i.e. here is your line, the clock speed is 1024kbps, do what
you want).
I''m a litte bit
2007 Mar 28
1
traffic shaping with NAT: IFB as IMQ replacement?
Hello,
Sorry for the many Ccs, but I hope to reach all parties involved.
I want to do traffic shaping with NAT and I wanted to do it with IFB
instead of IMQ [1]. I tried a lot of things but now I am stuck (and
maybe confused).
The setup:
eth0 eth1
WAN/(Internet) <-> Linux Router <-> LAN
Linux router:
- does NAT for the LANs
- runs local processes
2004 Jun 24
1
Ingress shaping using IMQ
Hello people,
This the first time i post in list.
I read the lartc how-to and decided that IMQ with HTB was the solution to
solve my problem.
The ingress shaping i want is simple, shape the traffic to my ftp-server,
i just want to give 8kbps to each client because they only upload to my
ftp-server, and i dont want to any class borrowing, each client only
send(upload) at 8kbps, not above this
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
2006 Mar 28
1
Please help - totally confused (NAT + FWMARK + IMQ + HTB)
Hello,
I''m trying to get my shaper to work, but have only a partial success.
Can someone help me with that. My setup unfortunately is not so trivial,
but I think some people could have similar one...
1. There is a router connected to the internet line via interface eth0
2. There are users connected to the router via two interfaces : eth1 and
wlan0
3. All users are assigned private IP
2006 Jan 10
2
Shaping traffic bound for the NAT''ed networks whithout imq
I''m trying to set up a shaper that can shape the inbound traffic to around
40 subnets, that hang on 3 different interfaces of the router.
As Linux can''t do ingress shaping I''m left with having to set up 3
seperate shapers, one for each internal interface.
This is not completely optimal as I''ll have to limit each of the 3
interfaces to 1/3 of the total
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
2004 Sep 08
3
Help! VLAN tagged traffic not shaping :-(
Hello,
I have a linux box sitting between (and bridging/firewalling) 2 LAN segments.
I''m using Bridge/Netfilter/IMQ/tc(htb) to control (shape) mail/web traffic that
traverses the 2 networks.
The networks also have some VLAN tagged traffic flying around. My linux box
behaves OK with VLAN traffic except that the shaping doesn''t seem to work.
Normal http shapes alright but as soon
2002 Nov 22
2
TC HTB Traffic Shaping
Hi guys,
I''m new to TC HTB traffic shaping....
I installed it at my first try on my Bearing Leaf Router/Firewall
I use the tc -s class show dev eth? To see my output
All looks dandy and nice, but it''s figures, of which at current momment
looks like French to me,
I would like to see exactly what these figures looks like in a GRAPH
style...
I know I can use MRTG, I do have
2005 Jan 09
0
traffic shaping gre tunnels
Hi!
I have successfully set up traffic shaping at our site using your and
others howtos.
I have a linux firewall (gateway), two leased lines. I shape only the
incoming traffix now.
I use HTB+SFQ and sort the packets using iptables with the CLASSIFY patch.
It works very well.
eth1----ISP2-\
eth2----ISP1--LINUX--internal network eth0
My problem is, that i can not shape my VPN (PPTP)
2004 Jan 30
0
IMQ or shaping tx on 2 NICs?
hi all, i have tried out both IMQ and shaping transmit on 2 NICS downstream and
upstream respectively, which method is preferred in terms of accuracy,
stability etc
pls advise
tc
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
2002 Dec 11
0
Q about "overlimit", and IMQ/NAT trick
hi,
I''ve successfully implemented shaping and policing with HTB for my
SDSL line.
Some tips&tricks I discovered which were not covered in the FAQs and
docs I read:
- To discover the appropriate rate for your line, flood it with
traffic and reduce the rate until the matching class starts to show
a consistent backlog -- only then you''ve managed to take the queue
away
2002 Nov 12
1
pb with imq
hi stef
oone more pb while shaping incoming traffic with imq .this one
tc qdisc add dev imq0 root handle 1: htb default 20
tc class add dev imq0 parent 1: classid 1:1 htb rate 2mbit burst 15k
tc class add dev imq0 parent 1:1 classid 1:10 htb rate 1mbit
tc class add dev imq0 parent 1:1 classid 1:20 htb rate 1mbit
tc qdisc add dev imq0 parent 1:10 handle 10: pfifo
tc qdisc add dev imq0 parent
2006 Mar 10
0
IMQ strange problem
Hi All,
Please to advice me. I become crazy because i cannot find where can be
problem. Obviously i miss something, but what ?
I have Linux router for traffic control / ~400 users , 100 mbit bandwidth /
. evereting was great until i try to implement IMQ for ingress shaping.
Problem that i have is when i start follow iptables rule
iptables -t mangle -A PREROUTING -i eth1 -j IMQ --todev 0
without
2003 Feb 26
1
traffic shaper with htb and imq ==> bad latency
Hi!
I have configured traffic shaping with htb and imq but when i am downloading the latency for example on the Bnet class is very high .....
example:
65 kb/s download
best latency: 56ms
lateny on bnet class while downloading: 400 350 250 350 400 100 300 200 80 200 300 250 .....
To get informations about latency i am marking ping packets with iptables.
I want to play during other users
2003 Mar 23
0
HTB and IMQ and combining ingress/egress
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I''ve just discovered that trying to pass traffic from multiple interfaces
through the same imq is a Bad Thing(tm). A quick search of "HTB IMQ panic"
showed me older posts on this list saying that it''s simply incorrect to pass
such traffic through the same imq dev. I''m now back to square one on using
the linux
2004 Mar 02
2
imq or ingress+htb?
Todays quick question:
Ive had problems with imq and getting my setup to work as planned. Im
thinking that a better solution for shaping incoming traffic would be to
put a little limit in the outer interface of the router box with ingress,
and the shape traffic on the inner interface with htb. Would that be
better than using imq?
--
Patrick Petersen <lartc@schmakk.dk>
2003 Jun 25
2
Combining ingress and egress ( IMQ+HTB)
I am successfully running ingress (IMQ) and egress (HTB) shaping on a
bridge.
Is there any way to combine and share the bandwidth between ingress and
egress?
Example:
I have set up www service for egress at 128 KB and ingress at 256 KB. The
shaping on them works fine separately. However, I want to create a single
virtual pipe for www traffic and limit both ingress and egress combined to
256 KB.
2004 Jan 19
3
Ingress Shaping using IMQ
Hi Guys,
Here is a question that is probably of concern to many of us.
I am under pressure to provide some solution for ingress traffic
shaping. What my customer demands is to divide the downstream (ingress)
of an ADSL lines to two classes of traffic - important traffic and non
important downloads. He has a very reasonable requirement: he wants a
guarantee of at least 1000kbps at all times for
2005 Jan 23
1
Shaping traffic with high priority hosts
Dear all
My current setup is the following:
Normal Hosts --------+ eth0 eth1
| +----------+
+-<->| F/W box |--<-> Internet
| +----------+
High priority hosts--+
My eth0 is a normal 100MBps LAN and my Internet connection
is a 1Mbps ADSL line. What I want to achieve is to have
normal hosts to share a big