All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabio Marcone <fabio.marcone@duet.it>
To: netfilter@vger.kernel.org
Subject: tc problems
Date: Tue, 14 Jul 2009 16:44:11 +0200	[thread overview]
Message-ID: <4A5C99BB.4080405@duet.it> (raw)

Hi!
I have a problem setting traffic shaping rules for routing packets.

scenario:
I have a linux router and two workstation that generate traffic to web 
server in Internet.
I need to limit:
  - w1 to 100Kb/s in upload and 1MB/s in download
  - w2 to 200 Kb/s in upload and 2 MB/s in download

I know that I have to set upload limit on wan interface and download 
limit on lan interface.
The problem is in download: how can I setup tc filter to recognize 
response packets to w1 and to w2? only by ip? and if I use dhcp? Does 
exist a way to use mac address?

Thanks in advance,
Fabio

             reply	other threads:[~2009-07-14 14:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-14 14:44 Fabio Marcone [this message]
2009-07-14 17:22 ` tc problems Susan Hinrichs
2009-07-14 17:41 ` Anatoly Muliarski

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=4A5C99BB.4080405@duet.it \
    --to=fabio.marcone@duet.it \
    --cc=netfilter@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.