From owner-freebsd-isp Mon Jan 17 5: 9:44 2000 Delivered-To: freebsd-isp@freebsd.org Received: from cliff.i-plus.net (cliff.i-plus.net [209.100.20.42]) by hub.freebsd.org (Postfix) with ESMTP id A107814A31 for ; Mon, 17 Jan 2000 05:09:39 -0800 (PST) (envelope-from st@i-plus.net) Received: from abyss (is.dashit.net [209.100.22.250]) by cliff.i-plus.net (8.9.3/8.9.3) with SMTP id IAA35547; Mon, 17 Jan 2000 08:09:18 -0500 (EST) From: "Troy Settle" To: "aLan Tait" , Cc: , Subject: RE: Bandwidth limiting on Switch. Date: Mon, 17 Jan 2000 08:06:22 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 In-Reply-To: <388261FD.D1EDAD69@fil.net> Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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" 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