NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Running dhcpd on bridge0
Date: Tue, 25 Feb 2014 18:51:58 +0100
From: Torbjorn Granlund <tg%gmplib.org@localhost>
Message-ID: <86ppmb13nl.fsf%shell.gmplib.org@localhost>
| This requires that tap0 is created first, but /sbin/ifconfig -C (used by
| the relevant lines of /etc/rc.d/network) lists bridge before tap.
|
| Is the designed way to get this right that I set net_interfaces?
Currently, yes. I suggested a method using rcorder that would allow
arbitrary ordering of the pseudo-device configs, for precisely this
kind of problem (for me it was vlans & bridges). While most comments
thought it was a reasonable idea, nothing has happened yet (and my
requirement for vlans evaporated, so the urgency went with them...)
It does require a mod to rcorder to avoid breaking things for people
for whom the ifconfig -C order just happens to be exactly what they
need.
But aside from this, for your config, do you really need the tap interface at
all?
Why not just put the address on bnx0 instead?
You know you heed a hardware specific config file, you need to name it
in the bridge config file, so there's really no harm just putting the
address config in it too, is there? (Just only config an address on
one interface connected to the bridge.)
kre
Home |
Main Index |
Thread Index |
Old Index