From owner-freebsd-questions Wed Apr 5 11:28: 3 2000 Delivered-To: freebsd-questions@freebsd.org Received: from nlaredo.globalpc.net (nld2.globalpc.net [207.193.206.189]) by hub.freebsd.org (Postfix) with ESMTP id 0CC6237B591 for ; Wed, 5 Apr 2000 11:27:39 -0700 (PDT) (envelope-from adrianbsd@globalpc.net) Received: from ds9 (ds9.globalpc.net [207.193.204.57]) by nlaredo.globalpc.net (8.9.3/8.9.2) with SMTP id NAA37343; Wed, 5 Apr 2000 13:28:26 -0500 (CDT) (envelope-from adrianbsd@globalpc.net) Message-Id: <3.0.6.32.20000405132544.00956810@globalpc.net> X-Sender: adrianbsd@globalpc.net (Unverified) X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Wed, 05 Apr 2000 13:25:44 -0500 To: Anders Andersson , questions@FreeBSD.ORG From: Adrian Gonzalez Subject: Re: NAT/Gateway routing problems? In-Reply-To: <20000404134336.A35647@enterprise.sanyusan.se> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've had similar problems with 3com 3c509 NICs. In certain configurations they seem to either drop packets or just somehow manage to be terribly slow. The ep driver used to be described as "slow/buggy" in the kernel config files, so I usually try to stay away from them on FreeBSD systems. If you have any other non 3c509 NICs handy, I'd recommend you try swapping them. Hope this helps -Adrian Gonzalez At 01:43 PM 4/4/00 +0200, Anders Andersson wrote: >I have an old Compaq P60/16MB RAM box with 2 NIC's (3Com 509) setup as >our NAT box here at my company. > >I use FreeBSD-4.0-RELEASE on this box. > >We have 212.209.55.80/28 as our "real" IP numbers. > >I use 192.168.4.1 for our local NAT LAN. > >from rc.conf: > >ifconfig_ep0="inet 212.209.55.82 netmask 255.255.255.240" >ifconfig_ep1="inet 192.168.4.17 netmask 255.255.255.0" >defaultrouter="212.209.55.81" >gateway_enable="YES" > >I have a kernel with: > >options IPFIREWALL >options IPDIVERT > >to allow natd to work. > >It works fine, except its damn slow to be honest. > >If I for example should do a ftp install of FreeBSD on a box on my local >LAN, a box with IP 192.168.4.19 for example. > >I have a FreeBSD mirror at 212.209.55.83. > >All our 192.168.4. hosts are connected to a 3com SuperStack 3300 switch >and our "public" IP's are connected to a 3com SuperStack 1000 switch. > >ep0 in my gw box is connected to the "internet" switch and the ep1 card >is connected to the "local" switch. > >I start the ftp install of FreeBSD and I get very bad transfer rates, >bad means in this case about 4kb/s transfer rates! > >So I figures something must be wrong here. Maybe I need to setup some >routing tables? > >Please help me out here. > >If you want more information, please do not hesitate to contact me. > >-- >Anders Andersson anders@sanyusan.se >Sanyusan International AB http://www.sanyusan.se/ > > >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