On Thu, Dec 06, 2001 at 07:57:02AM +0000, Mike D wrote:
> I'm having trouble configuring my dhcpd.
> 
> This is the config file I've nocked up:
> 
> -------- start config file --------------
> default-lease-time 3600;
> max-lease-time 99999;
> ddns-update-style ad-hoc;
> option subnet-mask 255.255.255.0;
> option broadcast-address 192.10.10.255;
> option domain-name-servers 194.168.8.100,194.168.4.100;
> option domain-name dolphintime;
> -------- end config file --------------
> 
> When I try to start dhcpd (by running "/usr/local/etc/rc.d/dhcpd") I get the 
> following error:
> 
> -------- start error message --------------
> No subnet declaration for xl1 (80.x.x.x).
> ** Ignoring requests on xl1.  If this is not what
>    you want, please write a subnet declaration
>    in your dhcpd.conf file for the network segment
>    to which interface xl1 is attached. **
> 
> No subnet declaration for xl0 (192.10.10.4).
> ** Ignoring requests on xl0.  If this is not what
>    you want, please write a subnet declaration
>    in your dhcpd.conf file for the network segment
>    to which interface xl0 is attached. **
> 
> Not configured to listen on any interfaces!
> -------- end error message --------------

DHCPD wants to know about your subnets.  The way to tell it about them 
is with a section like this:

subnet 192.10.10.0 netmask 255.255.255.0 {
  range 192.10.10.10 192.10.10.90;
}

There's more you can do than that, but I think seeing this will ring 
your bell, especially if you are looking in the man pages.

Josh

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to