All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Peter V. Saveliev" <peet@altlinux.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] incoming traffic
Date: Tue, 25 Sep 2007 21:26:51 +0000	[thread overview]
Message-ID: <200709260126.52343.peet@altlinux.org> (raw)
In-Reply-To: <519f77360702270831v2dd01e3bu6af6c75de50d96eb@mail.gmail.com>

<skip />
> Hello,
>
> i made this script :
> tc qdisc add dev eth0 handle ffff: ingress
<skip />
> The main goal is to limit incoming traffic from 138.96.20.23 to 15000kbit
> and the incoming traffic from 138.96.20.10 to 10000kbit. But the total must
> not exceed 20000kbit.
<skip />

Does it work? Afair, such setup is possible only with htb/cbq, not with 
policing filters. But I can stumble.

If so, consider to use imq (which can be unstable) or to shape outgoing 
traffic, if it is applicable (e.g., on a router).

If you do not have imq, but use OpenVZ or Xen with network in routed mode, you 
can try to use htb to shape traffic to a VE.
-- 
Peter V. Saveliev
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

      parent reply	other threads:[~2007-09-25 21:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-27 16:31 [LARTC] Incoming traffic mohican 542003
2007-04-03 19:51 ` Andy Furniss
2007-04-04 20:40 ` Andy Furniss
2007-09-25 14:57 ` [LARTC] incoming traffic mohican 542003
2007-09-25 15:09 ` mohican 542003
2007-09-25 21:26 ` Peter V. Saveliev [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=200709260126.52343.peet@altlinux.org \
    --to=peet@altlinux.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.