dhcpd complaining about dynamic and static leases

Discussion in 'Linux Networking' started by rsesnaski, Feb 12, 2006.

  1. rsesnaski

    rsesnaski Guest

    I'm getting alot of these msgs on a variety of addresses that were
    set up as pegged IP addresses in /etc/dhcpd.conf:

    localhost dhcpd: Dynamic and static leases present for
    localhost dhcpd: Remove host declaration rockserver or remove
    localhost dhcpd: from the dynamic address pool for Intranet
    localhost dhcpd: DHCPREQUEST for from 00:11:2f:94:75:fc
    via eth1
    localhost dhcpd: DHCPACK on to 00:11:2f:94:75:fc via eth1

    It gives out the address in the end but I don't see a conflict with any
    other host so it makes me think it's a config directive issue. MAC
    is correct. I do see some "Ping'ed before offer" msgs for that same IP
    some of the other pegged IPs. It's almost like DHCP wants to give out
    pegged addresses.

    Here's the declaration for the host:

    host rockserver {
    ddns-updates on;
    ddns-rev-domainname "lab";
    ddns-domainname "lab";
    hardware ethernet 00:11:2f:94:75:fc;

    here's the declaration of the dhcp range:

    shared-network Intranet {
    allow client-updates;
    allow unknown-clients;
    ddns-domainname "";
    ddns-updates on;
    # lab computers
    subnet netmask {
    allow client-updates;
    allow unknown-clients;
    ddns-domainname "lab";
    option domain-name-servers;
    ddns-updates on;

    System is a RHEL4 ES U1 on x86, dhcp versions are:


    Everything seems ok to me in the configs. Any ideas?

    rsesnaski, Feb 12, 2006
    1. Advertisements

  2. rsesnaski

    Tauno Voipio Guest

    Not quite - you're double-selling the address
    it's sold separately and in the middle of the dynamic range
    of to

    Please arrange the fixed addresses out of the dynamic range
    and your worries will vanish.
    Tauno Voipio, Feb 12, 2006
    1. Advertisements

  3. rsesnaski

    rsesnaski Guest

    You're allowed to mix fixed and dynamic addresses in the same
    range. At least that's my take on it. From the RHEL4 dhcpd.conf
    man page, note the part where it says "never do a dynamic address

    There may be a host declaration matching the client's
    If that host declaration contains a fixed-address declaration
    lists an IP address that is valid for the network segment to which
    client is connected. In this case, the DHCP server will never
    dynamic address allocation. In this case, the client is required
    take the address specified in the host declaration. If the
    sends a DHCPREQUEST for some other address, the server will
    with a DHCPNAK.

    rsesnaski, Feb 12, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.