OpenBSD Journal

[Ask OBSDJ] bandwidth limiting?

Contributed by Dengue on from the damn-users-cause-all-the-problems dept.

Jason Mealins writes : "I have recently run into the problem of being crammed into a two room apartment with one cable modem and 4 users. I currently use OpenBSD with nat and ipf to share the cable modem with all 4 people. I was wondering if it was possible to limit the bandwidth to specific computers or to just have a general rule to limit the bandwidth available to any certain connection. I have looked around but haven't been too succesful in finding results. "

(Comments are closed)


Comments
  1. By Anonymous Coward () on

    if u don't have any windows boxes u could try IPv6. isn't it a builtin feature ??

  2. By Roko K () rkruze@u.washington.edu on mailto:rkruze@u.washington.edu

    I know this is OpenBSD but the only way I have found to limit bandwidth is with DUMMYNET. This has been ported to Linux and was first seen in FreeBSD.

    You can use DUMMYNET with ipfw on FreeBSD to limit bandwith. You can choose a port, or a ip.

    More Details at:
    www.iet.unipi.it/~luigi/ip_dummynet/

  3. By dmp () dpierce@megsinet.net on mailto:dpierce@megsinet.net

    I think squid might do what you want it to. Check out the docs at:
    http://squid-docs.sourceforge.net/latest/html/x2087.htm#AEN2096

    dmp

  4. By dmp () dpierce@megsinet.net on mailto:dpierce@megsinet.net

    Ok, it's Linux, but traffic shaper written by Alan Cox it was added in 2.1.15 and then added to 2.0.36. The 2.2 kernels have the capability in the kernel. (I think the Linux 2.4 kernel actually has a kitchen sink in it... :-) I'm sure there is a better way that you can use OpenBSD to do it. I think I saw an implementation in Perl once...

    dmp

  5. By David Terrell () dbt@meat.net on http://www.meat.net/~dbt/

    the Kame jumbo patch (www.kame.net) includes AltQ, which lets you do real packet scheduling on *BSD. It's the real deal.

Latest Articles

Credits

Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original deadly.org with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]