On May 28 11:24:38, open...@bgone.net wrote:
> May 28 11:15:42 vita dhcpd[14929]: Can't listen on vlan25 - dhcpd.conf has
> no subnet declaration for 192.168.25.1.
> May 28 11:15:42 vita dhcpd[14929]: Can't listen on vlan15 - dhcpd.conf has
> no subnet declaration for 192.168.15.1.
> May 28 11:15:42 vita dhcpd[14929]: Listening on vr2 (192.168.55.1).
> May 28 11:15:42 vita dhcpd[14929]: Can't listen on vr1 - it has no IP
> address.
> May 28 11:15:42 vita dhcpd[14929]: Can't listen on vr0 - dhcpd.conf has no
> subnet declaration for xx.xxx.xxx.42.

Your dhcpd.conf only declares the network in which vr2 is.

> It listens on vr2 as it must be.
> If I start it with /usr/sbin/dhcpd vr2 i get in daemon log:
> May 28 11:18:50 vita dhcpd[25296]: Listening on vr2 (192.168.55.1).
> which is perfectly fine.

That's how it's supposed to be. man dhcpd.

> >>dhcpd_flags=""          # for normal use: ""
> >
> >Shouldn't that be dhcpd_flags="em0" ?
> >This way, you are trying to serve on all interfaces,
> >even those without a declaration in dhcpd.conf
> >
> It does not make any difference if I put dhcpd_flags="vr2" in rc.conf.local

Of course it does, because that makes it "/usr/sbin/dhcpd vr2".

Reply via email to