Koozali.org: home of the SME Server

Help - limit bandwidth

jsk

Help - limit bandwidth
« on: December 03, 2004, 10:41:26 PM »
Hi,
Is it possible to manage PC traffic by MAC address (not its IP) using eneo-qos_cbq ?  :-?

Cheers
John

Offline Reinhold

  • *
  • 517
  • +0/-0
    • http://127.0.0.1
Help - limit bandwidth
« Reply #1 on: December 04, 2004, 01:45:15 PM »
No ...        (this is IP based stuff)

...but what do you really intend to do?
reduce once users bandwith? and why by MAC ?

Regards
Reinhold
............

jsk

Help - limit bandwidth
« Reply #2 on: December 04, 2004, 06:20:11 PM »
Hi Reinhold,
Exactly, this is what I want to do, because my server is configured to use DHCP (not static IP). Maybe I'm wrong but if one user reboot his PC, it will be assigned to another IP.

Cheers
John

cc_skavenger

Help - limit bandwidth
« Reply #3 on: December 04, 2004, 11:06:13 PM »
jsk,
If you know the user's mac, use the Hosts and Addresses panel to make the server give the user the same IP based on their mac address.  Then limit the IP as you wish.


HTH

Marco

Offline Reinhold

  • *
  • 517
  • +0/-0
    • http://127.0.0.1
Help - limit bandwidth
« Reply #4 on: December 06, 2004, 09:52:57 AM »
jsk,

To get to fixed IPs most easy would be to "give a fixed IP" .-) (SME reserves a range for that)
...or use any number of SME-contribs to give a (semi-) fixed IP. (thierry, dhcpconfig, dhcpmanager) Note: DHCP does give a lease with a timelimit to every IP it "hands out".  If the person in question logs in every day his/her PC surly will get the same IP.

I recommend a broader look at:
http://www.tldp.org/HOWTO/Bandwidth-Limiting-HOWTO/

Finally pls note that "bandwith" and "throttling" is a common question in the forum ... a search should bring you a direct hit.

Regards
Reinhold
............

jsk

Help - limit bandwidth
« Reply #5 on: December 06, 2004, 12:31:45 PM »
Hi guys,

Thanks for your replays. I've changed a range of DHCP IPs and  gave fixed IP to "problem" user. It looks that all works fine.  :-)

Best regards
John