From owner-freebsd-questions Wed Oct 17 10:51:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail7.mn.rr.com (fe7.rdc-kc.rr.com [24.94.162.160]) by hub.freebsd.org (Postfix) with ESMTP id E810237B405 for ; Wed, 17 Oct 2001 10:51:13 -0700 (PDT) Received: from [10.0.1.100] ([24.26.174.22]) by mail7.mn.rr.com with Microsoft SMTPSVC(5.5.1877.537.53); Wed, 17 Oct 2001 12:50:58 -0500 Mime-Version: 1.0 Message-Id: In-Reply-To: <20011017133501.O59186-100000@joule.excelsus.com> References: <20011017133501.O59186-100000@joule.excelsus.com> Date: Wed, 17 Oct 2001 12:51:07 -0500 To: questions@FreeBSD.ORG, Weldon S Godfrey 3 From: Joshua Holland Subject: Re: ftp hogging bandwidth Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I think they were ftp-ing through our box to an off site location. >I assuming that someone is ftping to a ftp server that is also your >nat/firewall box? > >One really cheezy way would be this: > >Have 2 nics on your server > >1 nic has the IP address for ftp. In DNS you can make that IP be whatever >you want (ftp.localhost, ftp.biststeam.net, etc) > >the other nic is doing the rest of your internal lan stuff > >and since you are doing nat, you might have a 3rd nic for WAN. > > >if you don't have a 100Mb shared hub, or want to lower the ftp bandwidth >further for some reason, you could force the dedicated ftp nic to 10Mb > > > > >On Wed, 17 Oct 2001, Joshua Holland wrote: > >> Hello, >> >> I help administer a FreeBSD machine that runs nat, dhcpd, mail and >> web servers for an organization with about 75 desktop clients. They >> have a 256k fractional T1. We have noticed the machine bogging down >> sometimes (people complaining of extremely slow web page loading, and >> when I ssh in, very slow response). Top shows less than 1% of CPU >> being used. This last time, it seems someone was ftp-ing a 100MB >> file, and when they terminated the transfer, everything was fast >> again. Is there anyway to prevent one client or process from hogging >> all that bandwidth? >> >> Joshua Holland. >> >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message