<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffcc">
    Well, one place the "domain-name-servers" are given by name, not by
    IP.<br>
    <br>
    Some clients may be smart enough to reject that because they will
    never get started, who should resolve those names for them?<br>
    <br>
    <br>
    <br>
    On 25/07/10 17:22, <a class="moz-txt-link-abbreviated" href="mailto:budiw@rootbox.or.id">budiw@rootbox.or.id</a> wrote:
    <blockquote
      cite="mid:e7c9ff3e483a73a9f0011a1eb632ac23.squirrel@202.154.57.61"
      type="cite">
      <pre wrap="">Hello All,

I'm trying to migrating a running dhcp server to failover dhcp server.

But I'm running into trouble. Some of clients can't get ip address from
the servers. On the logs, I see the clients mac-address is ACK-ed to an IP
Address, but it keeps requesting new ip address, and so on. (See the logs
in <a class="moz-txt-link-freetext" href="http://dhcplog.pastebin.com/n1PCb3yD">http://dhcplog.pastebin.com/n1PCb3yD</a>).

The OS of client that can't get ip address is Windows XP service pack 2.
But when I tried to boot that client with Ubuntu Linux, they can get an ip
address and start to browse the internet.

But when I shutdown the failover dhcp server and switching back to old
dhcp server, The WinXP Client get their leases of IP Address from those
servers.

Is there anyone that having situation like I do? Is there any connection
between the experimental-status of the failover peer feature?

Btw, after I scan with antivirus the WinXP Clients, I get one files
infected with Conficker.HB. Is there any connection with this? IF this has
connection, then why when I switched back to my old dhcp server without
failover, my client get the ip address?

Thank you in advance for any advice.

--budiwijaya

Here's my config:

[dhcpd.conf]
ddns-update-style none;
ignore client-updates;

option domain-name "rootbox.or.id";
option domain-name-servers a.ns1.rootbox.or.id, a.ns2.rootbox.or.id;

default-lease-time 600;
max-lease-time 7200;

authoritative;

log-facility local7;

deny unknown-clients;

include "/etc/dhcp3/dhcpd-primary.conf";
include "/etc/dhcp3/dhcpd-pools.conf";
include "/etc/dhcp3/dhcpd-clients.conf";

[dhcpd-primary.conf]
failover peer "dhcp-area-a" {
        primary;
        address 192.168.20.86;
        port 647;
        peer address 192.168.20.87;
        peer port 647;
        max-response-delay 30;
        max-unacked-updates 10;
        load balance max seconds 3;
        mclt 1800;
        split 128;
}

[dhcpd-pools.conf]
subnet 10.10.6.0 netmask 255.255.255.0 {
 option domain-name-servers 203.114.226.34, 203.114.226.30;
 option domain-name "rootbox.or.id";
 option routers 10.10.6.1;
 pool {
  failover peer "dhcp-area-a";
  deny unknown-clients;
  max-lease-time 7200;
  range 10.10.6.50 10.10.6.250;
 }
}

subnet 10.31.1.0 netmask 255.255.255.0 {
 option domain-name-servers 203.114.226.34, 203.114.226.30;
 option domain-name "rootbox.or.id";
 option routers 10.31.1.1;
 pool {
  failover peer "dhcp-area-a";
  deny unknown-clients;
  max-lease-time 7200;
  range 10.31.1.50 10.31.1.250;
 }
}

shared-network bb-network {

        #DEKLARASI SUBNET 20
        subnet 192.168.20.0 netmask 255.255.255.0 {
        }

        #DEKLARASI SUBNET 25
        subnet 192.168.25.0 netmask 255.255.255.0 {
         option domain-name-servers 203.114.226.34, 203.114.226.30;
         option domain-name "rootbox.or.id";
         option routers 192.168.25.1;
         pool {
          failover peer "dhcp-area-a";
          deny unknown-clients;
          max-lease-time 7200;
          range 192.168.25.6 192.168.25.231;
         }
        }
}

[dhcpd-clients.conf]
 host budiwijaya-virtual-winxp { hardware ethernet 08:00:27:xx:xx:xx; }

And on the secondary-dhcp-server is slightly diferent on the
dhcpd-primary.conf
[dhcpd-primary.conf]
failover peer "dhcp-area-a" {
        secondary;
        address 192.168.20.87;
        port 647;
        peer address 192.168.20.86;
        peer port 647;
        max-response-delay 30;
        max-unacked-updates 10;
        load balance max seconds 3;
}


_______________________________________________
dhcp-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Best regards

Sten Carlsen

No improvements come from shouting:

       "MALE BOVINE MANURE!!!" 
</pre>
  </body>
</html>