Hi Nick,

this sounds great. That's exactly what I was searching for. I wonder why I
didn't hat this idea ;)

Anyway, thanks for your reply!

best regards,
Marian 

On Fri, 02 Jan 2009 20:58:13 -0600, Nick Templeton <n...@nicktempleton.com>
wrote:
> I'm doing what you're describing with a couple 4-port NICs.  I assign an
> IP to one of the interfaces so dhcpd can run on that, then bridge all
> the interfaces together.  Works like a charm.
> 
> Your config files would look something like -
> 
> hostname.rl1:
> inet 192.168.1.1 255.255.255.0 192.168.1.255
> 
> hostname.rl2
> up
> 
> bridgename.bridge0:
> add rl1
> add rl2
> up
> 
> Then add dhcpd_flags="rl1" to rc.conf.local, dhcpd will respond to
> requests on either interface since it's a bridge.
> 
> -Nick
> 
> Marian Hettwer wrote:
>> Hi All and a happy new year,
>>
>> got a short question here.
>> I'm building a home router from a blue box (embedded pc), which has 3
> nics
>> (rl0, 1, 2).
>> Internet drops in via dhcp client on rl0. Now I got 2 NICs left and I'd
>> like to use them similar like a hub. Just use a cross over cable and
> plug
>> in 2 more devices which can then talk through that router.
>>
>> My first try was to bridge rl1 and rl2, but then again, I want to use a
>> dhcp server on both interfaces and it seems like I can't do that, since
> I
>> can't give an ip on bridge0 and I wouldn't want to give an IP to rl1 and
>> rl2.
>>
>> Any ideas to that setup?
>> I thought about giving rl1 an IP adress and rl2 one from another
> network.
>> Like rl1 with 192.168.1 and rl2 with 192.168.2 and then run dhcpd on rl1
>> and rl2 serving both subnets.
>> However, that doesn't look like a good approach to me.
>>
>> Any other thoughts on that issue?
>>
>> Ah yes, it's OpenBSD 4.4 release :)
>>
>> best regards,
>> Marian
>>
>> PS.: please CC me, I'm not subscribed to the list.

Reply via email to