NetBSD-Users archive

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

Re: Running dhcpd on bridge0



Another way that you could avoid the problem, if you want to keep the
tap interface for some reason, would be to move the brconfig line from
ifconfig.bridge0 to ifconfig.tap0, as

        !brconfig bridge0 add $int up

(of course, the use of $int in these things rather than just specifying the
interface name - except in the very rare case that you can share the 
ifconfig.xxx file by linking it, is really unnecessary: makes things more
opaque, and helps almost nothing.)

Of course this method is rather brittle, as it relies on ifconfig -C continuing 
to list bridge before tap, which I don't think is guaranteed by anything.

kre



Home | Main Index | Thread Index | Old Index