All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jim Fleming" <jfleming@anet.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] shaping/routing
Date: Thu, 20 Dec 2001 05:55:27 +0000	[thread overview]
Message-ID: <marc-lartc-100882772709249@msgid-missing> (raw)
In-Reply-To: <marc-lartc-100874938007273@msgid-missing>

You are talking about marks which have to stay in one machine.
It seems more general to have marks that can travel on your network.

If you add the RIFRAF Routing changes to FreeBSD, then
you can do all sorts of things on a per /16 prefix basis. For
example, you can easily mark packets for sorting into flows,
or mark them with random tags to have them routed to two
links in a load-balancing mode.

http://www.dot-biz.com/IPv4/Tutorial/
http://www.dot-biz.com/IPv4/Tutorial/RIFRAFBSD4.4.txt

The simple ping command is used to control the RIFRAF settings
in another machine, so, in theory, you can reach across the entire
global Internet and change the way packets are handled for specific
/16 prefixes. 10.0 and 192.168 are commonly used.

RIFRAF - Remote Identification Field Random Action Filter

Jim Fleming
http://www.IPv8.info
IPv16....One Better !!


----- Original Message ----- 
From: "Daniel Wittenberg" <daniel-wittenberg@starken.com>
To: <skaya@enix.org>
Cc: <lartc@mailman.ds9a.nl>
Sent: Wednesday, December 19, 2001 11:46 PM
Subject: RE: [LARTC] shaping/routing


> 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/
> 


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

  parent reply	other threads:[~2001-12-20  5:55 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
2001-12-20  5:55 ` Jim Fleming [this message]
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-100882772709249@msgid-missing \
    --to=jfleming@anet.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.