From owner-freebsd-hackers Tue Sep 17 17:10:27 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA23654 for hackers-outgoing; Tue, 17 Sep 1996 17:10:27 -0700 (PDT) Received: from brasil.moneng.mei.com (brasil.moneng.mei.com [151.186.109.160]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id RAA23648 for ; Tue, 17 Sep 1996 17:10:25 -0700 (PDT) Received: (from jgreco@localhost) by brasil.moneng.mei.com (8.7.Beta.1/8.7.Beta.1) id TAA08181; Tue, 17 Sep 1996 19:09:11 -0500 From: Joe Greco Message-Id: <199609180009.TAA08181@brasil.moneng.mei.com> Subject: Re: FreeBSD box as a router To: abial@korin.warman.org.pl (Andrzej Bialecki) Date: Tue, 17 Sep 1996 19:09:10 -0500 (CDT) Cc: freebsd-hackers@freebsd.org In-Reply-To: from "Andrzej Bialecki" at Sep 17, 96 08:53:05 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I wonder if somebody did real testing of FreeBSD box with, let's say, two > Ethernets and one 2M serial card (or some other hw with equivalent > bandwidth), which would act as a router, using e.g. Gated. How well it > behaves under heavy traffic? How many packets get dropped/ignored/else? > How much memory it requires? How much swap? What is *real* throughput of > such a beast? etc... Hi Andy, This sounds pretty familiar.. streeling# ifconfig eth0 eth0: flags=51 mtu 1500 inet 204.95.219.1 --> 204.95.160.43 netmask 0xffffff00 streeling# ifconfig de0 de0: flags=8863 mtu 1500 inet 206.55.64.17 netmask 0xfffffff8 broadcast 206.55.64.23 streeling# ifconfig de1 de1: flags=8863 mtu 1500 inet 206.55.64.1 netmask 0xfffffff8 broadcast 206.55.64.7 If you just need static routing, 8MB is plenty adequate. If you want to use Gated and do BGP4, etc, you will probably need more (since I haven't had to start doing this myself, I don't know how much more). The machine is a 486DX/133 with two Kingston KNE-40T's (DEC 21041) and one of the Emerging Technologies ET-50XX cards running a T1 CSU/DSU. It can saturate all its links simultaneously with bandwidth to spare... unless all the packets are really small. I start seeing lost packets once I get into the 4000 pkts/sec range, IIRC. It is a great router :-) ... JG