Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jan 2000 08:06:22 -0500
From:      "Troy Settle" <st@i-plus.net>
To:        "aLan Tait" <aLan@fil.net>, <ndear@areti.net>
Cc:        <Thierry.Herbelot@alcatel.fr>, <freebsd-isp@FreeBSD.ORG>
Subject:   RE: Bandwidth limiting on Switch.
Message-ID:  <NDBBLOMCGLFPEPCPJEKKGEANCAAA.st@i-plus.net>
In-Reply-To: <388261FD.D1EDAD69@fil.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Something I've been meaning to ask...

Can one monitor bandwidth as well as limit it with dummynet?

-Troy


> -----Original Message-----
> From: owner-freebsd-isp@FreeBSD.ORG
> [mailto:owner-freebsd-isp@FreeBSD.ORG]On Behalf Of aLan Tait
> Sent: Sunday, January 16, 2000 19:28
> To: ndear@areti.net
> Cc: Thierry.Herbelot@alcatel.fr; freebsd-isp@FreeBSD.ORG
> Subject: Re: Bandwidth limiting on Switch.
>
>
> I've got dummynet running in a different way.  Since
> bandwidth is very expensive here in the rural areas of the
> Philippines, I allocate bandwidth in 1.5K chuncks (starting
> at 4.5K)!  Then I use a 10M pipe to bypass this to a sibling
> proxy.  Anything on the Proxy is high-speed, anything else
> is the speed they pay for.
>
> At 32K chuncks you won't have any problem with dummynet!
> For something you don't even have to recompile, read on!
>
> ******************************
> If you want something really cheap that still works...
>
> STEP 1
> Go to Luigi's page:
> http://www.iet.unipi.it/~luigi/
> Follow the link to Dummynet.
> Look for: "Dummynet, bridging and PicoBSD"
> Download the .bin file
> Put it on a floppy disk with fdimage.exe in DOS or Windows
> (from the FreeBSD CD #1 - or download it) or use DD in Unix.
>
> STEP 2
> Get a computer (I used a retired P-120 with 64 MB)
> Put TWO 10BaseT Network cards in it (I used D-Link PCI
> cards)
> Make sure you have a 1.2M Floppy drive (no hard drive
> needed!)
> Turn on Computer!
>
> You now have a working bandwidth limiter!
> Set your rules in the rc.firewall under "luigi" per
> instructions on the above page (follow the examples there in
> rc.firewall - there is one for a 30K pipe - it is real
> easy).
>
> You "should" make some changes in the rc.conf and
> resolv.conf files, but I'll tell you, it really worked -
> FIRST TIME - right after boot!
>
> The Floppy is fully loaded into memory and can be removed
> after boot (a nice security thing!).  Oh - be sure to mount
> the floppy and cp your changed files onto the floppy's
> (/start_floppy/etc) or they won't be there the next time you
> boot!  The same goes with master.passwd - when you shut off
> the machine - all changes (in memory) are lost - you MUST
> save them to the start_floppy!  You can use /etc/fstab as
> the road map!
>
> Any problems?  I'd be glad to help (just remember that I am
> busy running an ISP!).
> Any PRAISE? - Send it to Luigi (who deserves it!).
>
> By the way, I later transfered to a hard drive so I could
> add some more things (besides dummynet) that wouldn't fit on
> one floppy.  Now the drive boots, load everything into
> memory, then spins down in one minute (power saver in bios)
> and...
> *** RUNS COMPLETELY IN MEMORY!  - VERY FAST on a cheap
> machine.
>
> If you follow the picobsd roadmap, you could build this on a
> bigger machine at 100BaseT speeds using FreeBSD with no
> problem - I just don't have the need for that kind of speed!
>
> Lan
>
> --
> -----------------------------------
> Filipino Network Solution - Fil.Net
> -----------------------------------
>
> *********************************************************
> ***  I switched to FreeBSD from When?Doze because...  ***
> ***  I never knew When? - It was going to Doze!   ;)  ***
> *********************************************************
>
> Thierry.Herbelot@alcatel.fr wrote:
> >
> > Hello,
> >
> > with bandwidth in the order of n*64kbps, you may want to
> investigate dummynet, which is a function of the TCP/IP stack of
> FreeBSD, which does exactly what you want to do (and which is free).
> >
> > beware : you will have to compile a new kernel for FreeBSD, so
> if this seems too adventurous for you, take some competent guy to
> do it for you (anyway, you will find a good handbook on www.freebsd.org)
> >
> >      TfH
> >
> > "Nicholas J. Dear" <ndear@areti.net> on 14/01/2000 13:19:13
> >
> > Please respond to ndear@areti.net
> >
> >
> >
> >  To:      freebsd-isp@FreeBSD.ORG
> >
> >  cc:      (bcc: Thierry HERBELOT/FR/ALCATEL)
> >
> >
> >
> >  Subject: Bandwidth limiting on Switch.
> >
> >
> > Hi,
> >
> > We're about to start doing some co-location, and we will need
> to restrict the
> > bandwidth to each machine. I'm assuming we need some sort of switch with
> > bandwidth throttling capabilities?
> >
> > We'd need to throttle from 32K, or 64K upwards, in 64K increments.
> >
> > Could anyone recommend a particular product, or how they do the job?
> > TIA.
> > N.
> > --
> > Nicholas J. Dear
> > Mail: ndear@areti.net Tel: +44 (0)20-8402-4041
> > Areti Internet Ltd., http://www.areti.co.uk/
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-isp" in the body of the message
>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NDBBLOMCGLFPEPCPJEKKGEANCAAA.st>