From: Daniel Wittenberg <daniel-wittenberg@starken.com>
To: lartc@vger.kernel.org
Subject: RE: [LARTC] shaping/routing
Date: Thu, 20 Dec 2001 05:46:15 +0000 [thread overview]
Message-ID: <marc-lartc-100882726308559@msgid-missing> (raw)
In-Reply-To: <marc-lartc-100874938007273@msgid-missing>
Just to clarify how this works, so I know it's going to work for what I
need: Let's say I have 10 subnets, I mark the packets coming from 3 of
them with a 1. Now I just set an out-going limit on packets marked with
1 to let's say 100 bytes/second. Now, does the 100 bytes/sec apply to
each connection, or to _all_ packets with that mark? What I want to
make sure is that the entire subnet is limited to 100 bytes/sec, and not
individual connections or src addy's...?
Dan
On Wed, 2001-12-19 at 12:07, Jerome PETAZZONI wrote:
>
> > I've been doing ipchains/tables firewalls for quite a while now, but I'd
> > like to be able to do some bandwith shaping, and src-address based
> > routing to specific net connections.
>
> I'll again do some advertisement for my bytelimit patch :-)
> it is a patch for netfilter (iptables) allowing to limit bandwidth,
> like the "limit" match but allowing to specify rates in bytes/second
> instead of packets/second.
>
> you might combine this patch and SNAT to do "overflowing", i.e.
> your first link will be used, and when it is "full" (or exceeds
> a given bandwidth), further connections will be SNAT'ed with
> another address, thus using the 2nd link.
>
> Jerome Petazzoni <skaya at enix dot org>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
next prev parent reply other threads:[~2001-12-20 5:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-19 8:06 [LARTC] shaping/routing Daniel Wittenberg
2001-12-19 11:41 ` bert hubert
2001-12-19 18:07 ` Jerome PETAZZONI
2001-12-19 23:49 ` bert hubert
2001-12-20 5:46 ` Daniel Wittenberg [this message]
2001-12-20 5:55 ` Jim Fleming
2001-12-20 6:37 ` Daniel Wittenberg
2001-12-20 10:34 ` Jerome Petazzoni
2001-12-20 10:43 ` Jerome Petazzoni
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=marc-lartc-100882726308559@msgid-missing \
--to=daniel-wittenberg@starken.com \
--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.