Subject: Re: Two interfaces on same network
To: Arto Huusko <arto.huusko@utu.fi>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 09/20/2001 22:14:05
On Wed, Jan 04, 1978 at 02:01:49AM +0200, Arto Huusko wrote:

You machine has wong time. this caused me to miss your message because
it was not at the bottom of my mailbox.

> 
> So,
> 
> I have box which I'd like to make bridge. What I've been trying to do,
> is to configure the two NICs on the machine to the same network and
> then make a bridge between them.
> 
> This works quite nicely, meaning that the bridge does work. However,
> the bridge box itself is useless now for anything else than bridging:
> I can use either of the interfaces to access the network behind that
> interface, but not both.
> 
> The configuration is like this (I'm building this at home, but it'll
> go to real use later):
> 
> ne0: inet 10.0.0.5 netmask 255.255.255.0
> ep0: inet 10.0.0.4 netmask 255.255.255.0
> 
> ne0 is connected to the internal LAN, ep0 is the way out.

You don't have to give an IP to each interface.
What happens if you give only an IP to one interface and just configure
the second 'up' ?

--
Manuel Bouyer <bouyer@antioche.eu.org>
--