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" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> 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 192.168.0.2; > > default-lease-time 600; > max-lease-time 7200; > > # ad-hoc DNS update scheme - set to "none" to disable dynamic DNS updates. > ddns-update-style none; > > subnet 192.168.0.0 netmask 255.255.255.0 { > range 192.168.0.100 192.168.0.254; > option routers 192.168.0.1; > } > > #laptop > host laptop { > hardware ethernet 00:50:BA:7A:F0:A3; > fixed-address laptop.trini0.org; > } > > _______________________________________________ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"