Subject: Re: embededed netBSD + bridging
To: daman <daman@poczta.fm>
From: Jon Lindgren <jlindgren@slk.com>
List: netbsd-help
Date: 10/26/2000 09:31:42
On Thu, 26 Oct 2000, daman wrote:

> 
> Hello.
> 
> Could anybody please tell me if there is a way to make
> REALLY small usefull netbsd kernel(something like picoBSD
> made from freebsd)?

Absolutely!

Just configure a kernel to have exactly what you need - trim out the
features you won't use, the ethernet cards you won't use, etc...  You can
generally get a pretty small kernel just from doing that.  There are
probably some other hacks to make it even smaller, but I've no experience
in such.

See http://www.netbsd.org/Documentation/kernel/#how_to_build_a_kernel for
steps on how to build a new kernel.

I don't think anyone has taken NetBSD and done a 'picoBSD transformation'
but I'd expect that you'll get what you need from a trimmed config -
NetBSD is already used in many embedded devices where I'm sure space is 
quite constrained...

> And the other question - is it possible to setup a bridge
> (two net cards with NO ip address bridged) and put some
> filtering on it?

Not yet.  Bridging code hasn't been integrated into NetBSD yet, although
there are murmurings from time to time about it.  You might search through
the archives to get some more info on the status of bridging.

Hope this helps,

-Jon
 --------------------------------------------------------------------
 "Trout are freshwater fish, and have underwater weapons."
 "Zing, zing zing zing!"
 "Keep away from the trout."
 -- The opinions expressed are not necesarily those of my employer --
 "Who stole my lawn?"