Subject: Re: Bridging
To: dkwok <email@example.com>
From: Grant Beattie <firstname.lastname@example.org>
Date: 10/02/2001 10:41:38
[originally cc: port-i386]
On Tue, Oct 02, 2001 at 08:16:05AM +1000, dkwok wrote:
> I understand NetBSD-current has the functionality to do bridging just
> like OpenBSD. I am currently using NetBSD-1.5.1. Do I just download
> the the syssrc.tar.gz and compile the kernel or do I have to download
> the whole NetBSD-current via cvs and install everything?
You need a -current kernel from 20010817 or later with `pseudo-device
bridge', and you will need to build brconfig.
To use, simply configure the bridge0 device with `ifconfig', then add
interfaces with `brconfig'.
I did this quite happily with 1.5 userland, but there are other tools
that need to be updated (such as gas) to build -current kernels on 1.5.
Alternatively, you could grab one of the latest snapshots from
ftp://ftp.netbsd.org/pub/NetBSD/arch/i386/snapshot/ and install that,
it has everything ready to go.
As I understand it, filtering on a bridge with ipf is not yet possible
(someone please correct me if that is no longer the case).