Date: Tue, 4 Apr 2000 13:43:36 +0200 From: Anders Andersson <anders@sanyusan.se> To: questions@FreeBSD.org Subject: NAT/Gateway routing problems? Message-ID: <20000404134336.A35647@enterprise.sanyusan.se>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000404134336.A35647>