Displaying 20 results from an estimated 2000 matches similar to: "HTB and IMQ and combining ingress/egress"
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 Dec 20
2
How can I discern egress traffic than ingress traffic?
I have two interfaces, eth0 and eth1 but i can''t
discern the egress traffic than ingress traffic. I
need to apply htb qdisc in both directions, and I read
that I need the IMQ patch to do this, because in
ingress qdisc i can''t apply htb qdisc...but where is
the ingress qdisc? affect the traffic that goes from
eth0 to eth1 or is for the traffic that goes from eth1
to eth0?
2005 Dec 23
0
tcng example on using ingress without IMQ
hi all.
i really need help.
i need a working example on shaping the ingress per user using tcng
without IMQon a mechine which has two interfaces, and acts like a
firewall, and NAT for intrenet connection sharing:
eth0 is the external facing the Internet.
eth1 is the internal towards my LAN/office network.
Please i dont want other than tcng code. iptables code i read on some
pages seems
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>
2002 May 21
5
ingress and egress
ingress can be used to control the incoming packet,
such as:
tc qdisc add dev eth0 handle ffff: ingress
tc filter add dev eth0 parent ffff: protocol ip prio 5
u32 match ip src 172.16.1.11 police rate 10kbit burst
10k drop flowid :1
tc filter add dev eth0 parent ffff: protocol ip prio 5
u32 match ip src 172.16.1.22 police rate 10kbit burst
10k drop flowid :2
first ,I do not sure these method can
2005 Jul 04
0
ingress/imq shaping setup
hi list,
i''m about to setup traffic shaping on a server and got some small
questions about the setup. i read alot of docs/howto''s but there are
still some questions i''d like to ask.
setup on the box is:
- external if is ppp0 (dsl)
- internal if in eth0 (with ~15 nat''ed boxes)
- openvpn at tun1
since all ppl on the lan feel like they have to use p2p i decided
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
2006 Jul 13
3
[PATCH] IMQ vs. local traffic
Hello,
Some time ago I''ve read somewhere that local traffic in IMQ
could hung up the whole system but it was corrected long time
ago. So I was very surprised yesterday when it occurred not true.
While testing IMQ I''ve observed for some time that - if you tag
some local traffic with iptables both in pre- and postrouting -
kernel is hunging up. It is happening quite quick with
2004 Apr 13
0
FWD IMQ mail on netdev
>From netdev@oss.sgi.com:
----- Forwarded message from jamal <hadi@cyberus.ca> -----
X-Original-To: sebek@localhost
X-Received-Date: Mon, 12 Apr 2004 03:25:37 +0200 (CEST)
Subject: (Long) ANNOUNCE: IMQ replacement WAS(Re: [RFC/PATCH] IMQ port to
2.6
From: jamal <hadi@cyberus.ca>
Reply-To: hadi@cyberus.ca
To: "Vladimir B. Savkin" <master@sectorb.msk.ru>
Cc:
2004 May 09
0
problem with 2 Mbit egress rate
i''m trying to limit my egress bandwidth over 2 interfaces (eth1 and eth2) to
2 Mbit
my script is something like this:
tc=/sbin/ip
ipt=/sbin/iptables
$tc class add dev imq0 parent 2: classid 2:4 htb rate 1845Kbit quantum 3000
$tc filter add dev imq0 parent 2: protocol ip handle 4 fw classid 2:4
$tc class add dev imq0 parent 2:4 classid 2:40 htb rate 0.5Mbit quantum 3000
prio 5
$tc qdisc
2007 Mar 08
1
Why i would have to use IMQ on postrouting?
Hi all,
I manage somo interface in output.
I know that i can send packet to the single interface using routing tables.
I use IMQ to shape ingress traffic but why i would have to use IMQ on
postrouting?
When IMQ, on egress, give me advantages? and what are this advantages?
Thanks
Bye
Simone
--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor:
Clicca qui:
2006 Jan 19
1
IMQ slows computer to a crawl
I am attempting to implement IMQ on a 2.4.31 version kernel with
iptables 1.3.3.
I am following the example at http://www.linuximq.net/usage.html. When
I enter the line
iptables -t mangle -A POSTROUTING -o eth1 -j IMQ --todev1
(eth1 is the external interface), the computer slows to a crawl. OK,
the CPU is only an AMD K6 233 which is not the world''s greatest CPU, but
egress shaping is
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
2004 Aug 09
5
Little problem with IMQ
When I try to put all incoming traffic to IMQ on PREROUTING I can''t discern
traffic to LAN and traffic to server.
When I try to put only INPUT traffic to IMQ... I can''t discern traffic from
LAN and from internet.
Help me plizz to put all incoming traffic to one IMQ device and all
outcoming to other IMQ device and (it''s very important) discern traffic to
clients and
2003 Apr 15
3
IMQ+HTB problem
Hi all and tc Gururs
i have patched the IMQ and htb to kernel, but when i do egress filtering,
iam not able to see any traffic
and excusted the following the commands
modprobe imq numdevs=1
tc qdisc add dev imq0 handle 1: root htb default 1
tc class add dev imq0 parent 1: classid 1:1 htb rate 100kbit
tc qdisc add dev imq0 parent 1:1 handle 10: htb default 1
tc class add dev imq0 parent
2004 Sep 09
4
imq config
Dear all,
I know this is not imq mailing list. But many of the users over here
have done exactly what i want.
Requirement:- I want to tight bound eth1 for 100 kbps
but after i want to create many classes of 64 kbps or 50 kbps and
others. But the total sum of classes is more than 100 kbps so my eth1 is
not restrciting total bandwidth at 100kbps.
According to search on google imq is the solution.
2005 Apr 10
3
IMQ: why do I need IMQ ?
Hello there,
Can someone please explain why do one neeed IMQ ?
I can already shape incoming traffic on my nat router by creating
qdiscs on LAN-side interface. I have done some tests, whith simple
bandwidth limmiting, and it works.
I''ve read just about all the stuff on www.linuximq.net ... but
couldn''t make myself an ideea on why would someone need IMQ for
ingress policing ...
2004 Jul 06
7
Simply IMQ
I''ve followed this list for quite a long time and have even posted a couple
of times. I used the early versions of IMQ from Devik (I think that was his
name), and it worked well. I only ever got the chance to implement it in my
test environment. I now need to implement it in my production environment.
My Linux core router has nine interfaces and has a 27 megabit connection to
the
2006 Jun 02
1
IMQ + NAT
Hello,
I have
eth0 - internet
eth1..4 - local networks
on eth0 i do $IPTABLES -A POSTROUTING -t nat -o eth0 -j MASQUERADE
I want to balance out/in load for eth1..4 and localhost (mainly
squid). Nat makes impossible to do it on eth0, so I installed IMQ. I
need to get to on imq0 unnnated in/out traffic that I could make
priorities for protocols and networks. Do somthing like this:
prate=1Mbit
2005 Jul 27
8
IMQ
ive got such network:
|--------| |-------------|
| WORLD |---|ROUTER/server| ------ NATED LAN
|--------| |-------------|
I want to use imq on ROUTER, what behaviour to choose ? AA, BA, AB, BB ??
--