NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: creating a netbsd router



On 2017-07-22 18:35, gary%duzan.org@localhost wrote:
I wrote:
=> "Johnny Billquist" <bqt%update.uu.se@localhost> wrote:
=> => On 2017-07-22 16:38, dieter roelants wrote:
=> =>> On Wed, 19 Jul 2017 22:33:36 +0200
=> =>> Johnny Billquist <bqt%update.uu.se@localhost> wrote:
=> =>>
=> =>>> No. You should not set an ip address on any of the interfaces. You
=> =>>> create a bridge interface, connect all the physical interfaces to the
=> =>>> bridge interface, and you set an ip address on the bridge interface.
=> =>>
=> =>> That's not how it works in NetBSD. You cannot add IP addresses to the
=> =>> bridge interface itself.
=> =>
=> => Thanks for the correction. Interesting and unexpected (for me).
=>
=>    I believe the NetBSD way would be to create a tun interface, add that
=> to the bridge, and configure the IP address on that.

   Drat. I meant "tap" interface. "ifconfig tap0 create", etc.

Ah, yes. Using tap would in my view be the proper way.

	Johnny

--
Johnny Billquist                  || "I'm on a bus
                                  ||  on a psychedelic trip
email: bqt%softjar.se@localhost             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol


Home | Main Index | Thread Index | Old Index