filtering users by mac address and limiting bandwidth to each mac.

Discussion in 'Linux Networking' started by w.kinderman, Nov 11, 2004.

  1. w.kinderman

    w.kinderman Guest

    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
    w.kinderman, Nov 11, 2004
    1. Advertisements

  2. 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 that explains how to adjust
    the bandwidth.


    Jose Maria Lopez Hernandez
    Director Tecnico de bgSEC

    bgSEC Seguridad y Consultoria de Sistemas Informaticos

    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"
    Jose Maria Lopez Hernandez, Nov 11, 2004
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.