From owner-freebsd-net@FreeBSD.ORG Wed May 12 09:23:55 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 10D4816A4CE for ; Wed, 12 May 2004 09:23:55 -0700 (PDT) Received: from mail2.dbitech.ca (radius.wavefire.com [64.141.13.252]) by mx1.FreeBSD.org (Postfix) with SMTP id 6B33743D54 for ; Wed, 12 May 2004 09:23:54 -0700 (PDT) (envelope-from darcy@wavefire.com) Received: (qmail 24642 invoked from network); 12 May 2004 16:42:19 -0000 Received: from dbitech.wavefire.com (HELO ?64.141.15.253?) (darcy@64.141.15.253) by radius.wavefire.com with SMTP; 12 May 2004 16:42:19 -0000 From: Darcy Buskermolen Organization: Wavefire Technologies Corp. To: freebsd-net@freebsd.org Date: Wed, 12 May 2004 09:23:53 -0700 User-Agent: KMail/1.6.2 References: <006f01c43206$eb5f4b20$3200a8c0@cbcoffice> <4097E60D.7090102@mac.com> In-Reply-To: <4097E60D.7090102@mac.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200405120923.53664.darcy@wavefire.com> Subject: Re: [4.9-R]Can I Make My DSL Connect Go Faster ? (OSX nat hint) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2004 16:23:55 -0000 On May 4, 2004 11:50 am, Chuck Swiger wrote: > The Jetman wrote: > [ ... ] > > > Wes: I've used a couple of Internet speed tests, at different time= s, > > but always w/ the same configs. Neither config has been modified. All > > of the results are the same. I use ADSLGuide and DLSReports as my speed > > tests, which are in different continents, but both report the same > > speeds. I use different browsers, but Java is what does the deal. > > If you're using a DSL provider like Verizon which uses PPPoE, you might t= ry > adjusting your MTU down to 1490 or so, or else you will fragment large da= ta > packets and encounter quite a slowdown. > > Use something like this in your /etc/rc.conf file: > > ifconfig_fxp0=3D"inet 192.168.1.2 netmask 255.255.255.0 mtu 1490" > > ...or run ifconfig directly and see whether this helps. On this exact note (and for sake of saveing hours for someone else...) , I= =20 recently turned a Macintosh G3 box running OSX 10.3 into a firewall/nat bo= x=20 without using their brain dead "internet shareing" tool. What I found was= =20 their natd sucked wind unless you had the apple vender extention of=20 "clamp_mss yes" in your natd.conf =46rom the natd man page: -clamp_mss This option enables MSS clamping. The MSS value is derived from the MTU of the interface specified in the -interface option. I know this option isn't valid in FreeBSD's natd and I'm not sure if perhap= s=20 it is handleded transparently. But with out this option under OSX I saw=20 simular problems as to what you are describing when natting packets, even=20 though the same download form the gateway were AOK (Perhaps soemone a bit more versed on the internals of nat can comment on t= his=20 under FreeBSD) =2D- Darcy Buskermolen Wavefire Technologies Corp. ph: 250.717.0200 fx: 250.763.1759 http://www.wavefire.com