Bandwidth limit to AP clients on a subnet



  • I have a subnet going off OPT1. on this subnet I have several computers (in the lab) hard wire connected as well as computers connected via an AP.
    Is there a way to limit the bandwidth for the AP clients without limiting the other computers ?


  • Rebel Alliance Developer Netgate

    In 2.0 you can define limiters under the traffic shaper settings, and then make rules to apply them.

    Using that, you can set per-IP bandwidth limits.



  • The problem is that IP's are given randomly by DHCP, at least from my point of view, to both computers in the lab as for computers connecting via the AP.
    Is there a way to "capture" which client connect's via the AP ?


  • Rebel Alliance Developer Netgate

    No, there wouldn't be any way to distinguish them in that case.

    The easiest thing to do would be to put the AP on its own separate (physical or vlan) interface and distinguish it that way.

    You could bridge that interface to LAN if they need to be in the same subnet.



  • I got a new USB LAN 10/100 interface today.
    If V.2 will support it I will use it as a seperate interface…


  • Rebel Alliance Developer Netgate

    Without knowing what chipset that device uses, it's impossible to say.

    Plug it in and see what it's detected as, if anything. Post exactly what shows up in the system log when the device is plugged in.



  • I pluged it in and it worked in a second.  :)

    Aug 27 09:18:25	kernel: ugen0.2: <vendor 0x0fe6=""> at usbus0
    Aug 27 09:18:25	kernel: udav0: <vendor 0="" 2="" 0x0fe6="" usb="" network="" controller,="" class="" 0,="" rev="" 1.10="" 1.01,="" addr=""> on usbus0
    Aug 27 09:18:25	kernel: miibus5: <mii bus=""> on udav0
    Aug 27 09:18:25	kernel: ukphy0: <generic ieee="" 802.3u="" media="" interface=""> PHY 0 on miibus5
    Aug 27 09:18:25	kernel: ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
    Aug 27 09:18:25	kernel: ue0: <usb ethernet=""> on udav0</usb></generic></mii></vendor></vendor>
    

    Now I need to learn how to set up traffic shaping…


Log in to reply