Please Urgent: Failover problem

Abu Abdulla alhanbali montaqa at gmail.com
Wed Apr 4 05:48:34 UTC 2007


Dear All,
I'm facing a problem in configuring the failover and the tftp option.

Structure:

- 2 DHCP servers in faliover mode.

- The clients will request the IP through a relay agent. The clients are
CPEs and need to download a configuration file (boot file) to start. So TFTP
server is needed (it is in the same server of DHCP).

- The problem is that the Failover setup is not allocating IPs to the
clients. If I remove the failover it works fine and allocate the IP. I don't
know if "deny dynamic bootp clients" is the problem but i couldn't remove
it.

- In addition I didn't manage to make the TFTP option in the conf file. I
don't know the syntax. Please see the below conf file.

///////////////
// Primary
///////////////

ddns-update-style none;
authoritative;
option ntp-servers 213.42.2.209;
option domain-name-servers 213.42.2.209;
log-facility local2;

failover peer "dhcp-failover" {
  primary; # declare this to be the primary server
  address 194.180.195.10;
  port 520;
  peer address 194.180.195.12;
  peer port 520;
  max-response-delay 30;
  max-unacked-updates 10;
  load balance max seconds 3;
  mclt 1800;
  split 128;
}

subnet 194.180.195.0 netmask 255.255.255.224
{
}

subnet 172.18.140.0 netmask 255.255.255.0
{
  option routers 172.18.140.1;
  option subnet-mask 255.255.255.0;
  option broadcast-address 172.18.140.255;
  max-lease-time 100;
  default-lease-time 600;
  pool
  {
   failover peer "dhcp-failover";
   deny dynamic bootp clients;
   next-server 194.180.195.10;
   filename "/tftpboot/pppoe.tlv";
   range 172.18.140.100 172.18.140.105;
  }
}

///////////////////
// Secondary
///////////////////

It is the same but without mclt & split options.




More information about the dhcp-users mailing list