DHCP SERVER not working quite right? (RH6.0)

DHCP SERVER not working quite right? (RH6.0)

Post by Steve Houche » Thu, 30 Sep 1999 04:00:00

I'm trying to get the DHCP server from ISC.org working on my Red Hat 6.0
system.  I've installed the RPM from the RH6 CD and created
/etc/dhcpd.conf and /etc/dhcpd.leases.  Here is what my dhcpd.conf file
looks like:

subnet netmask {
  default-lease-time 14400;
  max-lease-time 28800;
  option subnet-mask;
  option broadcast-address;
  option routers;
  option domain-name-servers;
  option domain-name "houchen.home"


host genesis {
  hardware ethernet 00:e0:98:04:ce:4a;


I have one client (Win95) that I want to have the same IP each time it
requests an address -- the one with the MAC address in the "host
genesis" section.  Here is the problem:  The Win95 machine gets
without any problem and everything works great.  But if I do a "release"
on the Win95 machine, kill dhcpd, remove the leases file(s), change
dhcpd.conf to reflect a DIFFERENT MAC address, and restart the dhcpd
daemon, the Win95 machine will pick up again when I "renew"!
If I put in the correct MAC address and change fixed-address to
(for example) and restart everything the Win95 machine will pick up the address as expected.  Then, when I change the MAC address to
something else to try to reserve for a different machine, the
Win95 machine will again pick up the address.

To summarize the problem... if I have the Win95 machine's correct MAC
address in the host section, the fixed-address will be assigned
properly.  But I can't get the Win95 machine to pick up a different IP
by assigning its current IP to a different MAC address, even if I remove
the leases files, restart the dhcpd daemon, and reboot the Win95

What am I doing wrong, and what other experiments should I try?  (I have
tried rebooting the Win95 machine between each MAC address change, with
the same results.  I also get these results if I use the final version
of DHCP 2.0 from www.isc.org, instead of the beta version that shipped
with RH6.0.  I have also tried changing the host line to read "host foo"
instead of "host genesis".)  If you think what I'm doing should work the
way I think it should, please give me a scenario to try...



1. mail not quite working right

I've gotten a server set up and I thought I had DNS working (it mostly
does) but one thing isn't right yet.  I want a user's address to be

I could use that but I'd rather not.  Is this a DNS issue or a
sendmail issue?  What did I do wrong (or more likely, what did I not

Henry Hartley

2. how to get multiple tars on a single tape

3. Help! shared libraries not working quite right.

4. [PATCH] linux-2.5.49_subarch-cleanup_A2

5. lpd: filters not working quite right

6. Running progs on Netware server

7. Mail Server w/RH6.1 not quite there!

8. SCSI parity error / incorrect nexus identification on reselection

9. My Lovely Openwin... not quite right.

10. source rpm's not quite right

11. 2.5.29: fbcon palette not quite right

12. NetBSD 1.4.1 setup on hp300 not quite right

13. kppp Isn't quite working right for me.