Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 1996 19:09:10 -0500 (CDT)
From:      Joe Greco <jgreco@brasil.moneng.mei.com>
To:        abial@korin.warman.org.pl (Andrzej Bialecki)
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: FreeBSD box as a router
Message-ID:  <199609180009.TAA08181@brasil.moneng.mei.com>
In-Reply-To: <Pine.BSF.3.91.960917204400.16912A-100000@korin.warman.org.pl> from "Andrzej Bialecki" at Sep 17, 96 08:53:05 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 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<UP,POINTOPOINT,RUNNING> mtu 1500
        inet 204.95.219.1 --> 204.95.160.43 netmask 0xffffff00 
streeling# ifconfig de0
de0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 206.55.64.17 netmask 0xfffffff8 broadcast 206.55.64.23
streeling# ifconfig de1
de1: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> 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



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