Re: [LARTC] automatic classes

2002-07-10 Thread Arthur van Leeuwen

On Wed, 10 Jul 2002, [iso-8859-1] John Bäckstrand wrote:

[snip]

 2) I would _want_ to traffic shape based on mac, not
 IP, but this doesnt seem possible. It isnt vital for me
 though, ip will work.

Actually, it is possible, using netfilter and fwmarks.
Netfilter can actually match based on MAC address.

Problem is that you can't have it without specifying
shit yourself. You could conceivably write a script
to take a list of MAC addresses to shape and generate
the corresponding tc calls... and then seed that from
your ARP table. That would be the closest to automatic
you can get.

Doei, Arthur.

-- 
  /\/ |  [EMAIL PROTECTED]  | Work like you don't need the money
 /__\  /  | A friend is someone with whom | Love like you have never been hurt
/\/__ | you can dare to be yourself   | Dance like there's nobody watching

___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/



Re: [LARTC] automatic classes

2002-07-10 Thread John Bäckstrand


   1) I want to deploy a box in bridge mode first of
all.
   2) I would _want_ to traffic shape based on mac,
not
   IP, but this doesnt seem possible. It isnt vital
for me
   though, ip will work.
   3) I want each ip (well, preferrably MAC, but...)
to
   have 3 mbit of bandwidth.
 On one level this makes no sense.

Well, I was a bit unclear, or rather unsure of what I
really wanted. I actually want clients that use more
bandwidth to have less priority, which is what wrr can
do.

What if you have more clients than
 bandwidth?  Clearly you want to lower the 3MB to
bandwidth/#clients.
 What if you have extra bandwidth?  You probably want
to share the
 excess rather than waste the bandwidth.  In fact you
probably want to
 share the bandwidth dynamically among the active
clients.
 All of this is just what's done by SFQ

Interesting. But would SFQ for example, result in low
latency on a heavily used connection for clients that
doesnt use much bandwidth?

---
John Bäckstrand


___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/