Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Apr 2000 13:25:44 -0500
From:      Adrian Gonzalez <adrianbsd@globalpc.net>
To:        Anders Andersson <anders@sanyusan.se>, questions@FreeBSD.ORG
Subject:   Re: NAT/Gateway routing problems?
Message-ID:  <3.0.6.32.20000405132544.00956810@globalpc.net>
In-Reply-To: <20000404134336.A35647@enterprise.sanyusan.se>

next in thread | previous in thread | raw e-mail | index | archive | help

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




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