From: Michele Petrazzo - Unipex <michele.petrazzo@unipex.it>
To: Thanasis <thanasis@asyr.hopto.org>
Cc: netfilter@vger.kernel.org
Subject: Re: traffic shaping between two LANs and one ppp0 default gw
Date: Sat, 12 Jun 2010 16:36:58 +0200 [thread overview]
Message-ID: <4C139B8A.9030608@unipex.it> (raw)
In-Reply-To: <4C104BDB.7060706@asyr.hopto.org>
Thanasis wrote:
> We would like to divide the incoming and outgoing bandwidth equally
> between those two LANs, ie: On the other hand, routing packets
> between the 2 LANs (from eth2 to eth0 and vice versa) should not be
> restricted, ie should be at 100Mbps. How would this be best and
> simplest implemented by using iproute2 (tc) ?
>
tc + htb | cbq | another handful of queues are what you are looking for
and google for that (also for larc)
P.s. As said in all the howtos that you can find, you can limit *only*
upload speed (unless you use some trick and imq), so in you environment
will be near impossible to split the download speed between the
different lans since every queue are strictly linked with a interface,
which cannot know each other
Michele
next prev parent reply other threads:[~2010-06-12 14:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-10 2:20 traffic shaping between two LANs and one ppp0 default gw Thanasis
2010-06-12 14:36 ` Michele Petrazzo - Unipex [this message]
2010-06-12 15:15 ` Thanasis
2010-06-12 15:23 ` Michele Petrazzo - Unipex
2010-06-12 15:49 ` Thanasis
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=4C139B8A.9030608@unipex.it \
--to=michele.petrazzo@unipex.it \
--cc=netfilter@vger.kernel.org \
--cc=thanasis@asyr.hopto.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.