Rob listone at deathbeforedecaf.net
Sat Nov 15 16:38:32 PST 2003

A couple of things:

The range statement is for unknown clients - they will be given a lease
in this range by the server. It doesn't control the host definition,
which will use the address in the fixed-address statement.

The host definition would normally go inside the subnet definition - at
the moment, it's not going to get the netmask or router options.

Any errors in the dhcpd.conf will be mentioned in /var/log/messages when
the service starts up.

Hope that helps....

----- Original Message -----
From: "Gerard Samuel" <fbsd-questions at trini0.org>
To: <questions at freebsd.org>
Sent: Sunday, November 16, 2003 5:47 AM
Subject: DHCP

> A bit off topic, but any help would be appreciated.
> Im trying to setup DHCP for the first time.
> I set winXP to auto configure itself in the network section, but it
> still remains on the IP address that it was previously set at, and not
> obeying, the range of IP Addresses listed in dhcp.conf.
> The connection works, I can use the network, but looking to see if
there are
> any errors in dhcp.conf file.
> Also, is there a way to not specify the MAC address, and have DHCP
still work.
> For example, say a family member comes over with their laptop, can
they just
> plug in and go??
> Thanks for any pointers...
> dhcp.conf
> -----
> # dhcpd.conf
> #
> # Sample configuration file for ISC dhcpd
> #
> # option definitions common to all supported networks...
> option domain-name "trini0.org";
> option domain-name-servers;
> default-lease-time 600;
> max-lease-time 7200;
> # ad-hoc DNS update scheme - set to "none" to disable dynamic DNS
> ddns-update-style none;
> subnet netmask {
>   range;
>   option routers;
> }
> #laptop
> host laptop {
>   hardware ethernet 00:50:BA:7A:F0:A3;
>   fixed-address laptop.trini0.org;
> }
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"

More information about the freebsd-questions mailing list