All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] newbie questions
Date: Sun, 28 Mar 2004 15:46:34 +0000	[thread overview]
Message-ID: <200403281746.34110.stef.coene@docum.org> (raw)
In-Reply-To: <marc-lartc-101933613003673@msgid-missing>

On Thursday 25 March 2004 22:00, Paul Albert wrote:
> Hi all -
>
>
>
> I've been reading for the past day or so about the traffic control that
> is built into linux.  I have a situation that I have not seen
> documented, and I'm wondering how to handle this.
>
>
>
> I would like to have a group of users get a certain amount of bandwidth
> in both inbound and outbound directions on our firewalling bridge.  I
> know that I can group users together to the same qdisc by marking their
> packets through iptables to enforce egress qos.  However, I'm not sure
> how to go about doing this in an inbound direction.  Initially, I was
> thinking that I could use HTB, but this doesn't allow me to shape in
> both directions (correct?).
Indeed.  You can only shape outgoing traffic.  But you can use a router or a 
bridge and shape on both nterfaces.

> The other part that is a bit confusing to me is that I would like to
> aggregate both inbound and outbound traffic to a single number, say
> 1Mbps.  Could I use IMQ to tie the interfaces eth0 and eth1 together to
> achieve this?  Is there another solution that would satisfy this
> requirement?
You can indeed use IMQ, but it can crash rour system (I don't exactly know 
what can go wrong, but I think you can not drop locally generated packets in 
the IMQ device)

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/

      parent reply	other threads:[~2004-03-28 15:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-20 20:54 [LARTC] Newbie questions Carlos del Castillo
2002-04-20 21:12 ` Stef Coene
2002-04-21 21:42 ` Carlos del Castillo
2002-04-21 22:03 ` Patrick McHardy
2002-04-21 22:05 ` Patrick McHardy
2002-04-21 23:03 ` PiotR
2002-04-22  7:24 ` Stef Coene
2003-05-05 17:45 ` [LARTC] newbie questions Graste
2003-05-05 18:10 ` Stef Coene
2004-03-25 21:00 ` Paul Albert
2004-03-28 15:46 ` Stef Coene [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200403281746.34110.stef.coene@docum.org \
    --to=stef.coene@docum.org \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.