dhcpd (reprise)

Gary Kline kline at magnesium.net
Sun Nov 7 19:58:07 PST 2004


On Sun, Nov 07, 2004 at 08:56:58PM -0500, Lowell Gilbert wrote:
> Gary Kline <kline at magnesium.net> writes:
> 
> > 	I'll add the -d flag to my rc.conf; are you using the latest
> 
> No; *disable* dhcpd from rc.conf, and start it by hand with the -d flag.
> 
> > 	version of the dhcp-server from ISC or something other?
> 
> I'm running the ISC dhcp server, as I mentioned in my message, and
> it's fairly up-to-date, but I don't think the exact version matters
> for you (at least not at this point).
> 
> > 	I looked for a 'debug' flag on the man page and didn't see it.
> 
> >From "man dhcpd":
>        To have dhcpd log to the standard  error  descriptor,  specify  the  -d
>        flag.  This can be useful for debugging, and also at sites where a com-
>        plete log of all dhcp activity must be kept but syslogd is not reliable
>        or  otherwise  cannot  be  used.    Normally, dhcpd will log all output
>        using the syslog(3) function with the log facility set to LOG_DAEMON.
> 
> > 	What should I loook for in th logfile?  or will it be 
> > 	obvious :-)
> 
> Again, the approach I'm describing will *not* log into the logfile;
> I'm suggesting you get the debug output on a console in real time.


	Okay. This is all that is output to stderr:


No subnet declaration for dc0 (216.231.43.140).
** Ignoring requests on dc0.  If this is not what
   you want, please write a subnet declaration
   in your dhcpd.conf file for the network segment
   to which interface dc0 is attached. **

Sending on   Socket/fallback/fallback-net

	I've seen this before.  What does the last line mean?
	Or, how do I test this?  I've just tried ssh'ing
	around.  Nothing to the screen.

	gary




-- 
Gary Kline  Seattle BSD Users' Group (seabug)      | kline at magnesium.net
            Thought Unlimited Org's Alternate Email Site
	    http://www.magnesium.net/~kline
   To live is not a necessity; but to live honorably...is a necessity. -Kant



More information about the freebsd-questions mailing list