All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] RE: LARTC digest, Vol 1 #1523 - 17 msgs
@ 2004-01-06  9:43 Aron Brand
  2004-01-07 17:17 ` Stef Coene
  0 siblings, 1 reply; 2+ messages in thread
From: Aron Brand @ 2004-01-06  9:43 UTC (permalink / raw)
  To: lartc

Hi Roy,

It seems that I wasn't clear. Lets give an example.

I have a machine with a single ethernet interface, with two IP addresses
A and B. This is done using two virtual interfaces. 
A is my IP address in ISP-A. B is my IP address in ISP-B. The physical
line to ISP-A is 1.5Mbps. The physical line to ISP-B is 256kbps.

I want to shape the traffic so that, for example, HTTP traffic will take
no more than 10% of the ISP-B link, and no more than 20% of the ISP-A
link.

There seems to be no way to do this without the ability to attach a
qdisc to a virtual interface. Please correct me if I am wrong...


Aron

-------------------------------
From: "Roy" <roy@xxx.lt>
To: <LARTC@mailman.ds9a.nl>
Subject: Re: [LARTC] virtual interface
Date: Mon, 5 Jan 2004 16:29:40 +0200

There is no need to use imq ant everything is easy to do anyway
interface name is usefull only to attach qdisc to something and that all
you need to clasify packets by source or destination ip antway

if you have idea how to use imq there then just use your interface
instead.
also why it is so obvious that they must be shaped separately, ususly it
is
much better to shape everything in one einterface


Hi guys,

I have this problem too. I have two Internet routers connected to the
same Ethernet interface (using a hub). And each one obviously needs to
be shaped seperately. It seems like a very common and logical scenario
and this issue seems like a design problem.
Any Ideas on a workaround? Perhaps IMQ can be used somehow (although I
hear it has serious stability problems...)?

Aron
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LARTC] RE: LARTC digest, Vol 1 #1523 - 17 msgs
  2004-01-06  9:43 [LARTC] RE: LARTC digest, Vol 1 #1523 - 17 msgs Aron Brand
@ 2004-01-07 17:17 ` Stef Coene
  0 siblings, 0 replies; 2+ messages in thread
From: Stef Coene @ 2004-01-07 17:17 UTC (permalink / raw)
  To: lartc

On Tuesday 06 January 2004 10:43, Aron Brand wrote:
> Hi Roy,
>
> It seems that I wasn't clear. Lets give an example.
>
> I have a machine with a single ethernet interface, with two IP addresses
> A and B. This is done using two virtual interfaces.
> A is my IP address in ISP-A. B is my IP address in ISP-B. The physical
> line to ISP-A is 1.5Mbps. The physical line to ISP-B is 256kbps.
>
> I want to shape the traffic so that, for example, HTTP traffic will take
> no more than 10% of the ISP-B link, and no more than 20% of the ISP-A
> link.
>
> There seems to be no way to do this without the ability to attach a
> qdisc to a virtual interface. Please correct me if I am wrong...
You can do this if this box is also natting.  The difference between packets 
leaving the 2 links is the source address.  You can use the source address to 
put the traffic in 2 different classes.  After that you can create subclasses 
for http traffic.

Stef

-- 
stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-01-07 17:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-06  9:43 [LARTC] RE: LARTC digest, Vol 1 #1523 - 17 msgs Aron Brand
2004-01-07 17:17 ` Stef Coene

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.