(E-Mail Removed) wrote:
> I was wondering if there is a any way to filter users on a network by
> mac address and if i could allocate a limited ammount of bandwidth to
> each user in chuncks of 768 - 1.5 mbps with their macs using linux? I
> am working for a wireless isp for a school project. some of our users
> are only paying for 768k of bandwidth and getting the whole pipe. so
> this box would a dhcp server, mac filter, and bandwith limiter. is that
> possible?
>
Yes, you can filter the users with iptables -m mac --mac-source and
you can adjust the bandwith using iproute2 and the 'tc' command. You
can read the lartc document at lartc.org that explains how to adjust
the bandwidth.
--
Jose Maria Lopez Hernandez
Director Tecnico de bgSEC
(E-Mail Removed)
bgSEC Seguridad y Consultoria de Sistemas Informaticos
http://www.bgsec.com
ESPAÑA
The only people for me are the mad ones -- the ones who are mad to live,
mad to talk, mad to be saved, desirous of everything at the same time,
the ones who never yawn or say a commonplace thing, but burn, burn, burn
like fabulous yellow Roman candles.
-- Jack Kerouac, "On the Road"