failover - reserved address

Pavel Mlčoch pavkamlc at gmail.com
Mon May 18 13:14:14 UTC 2009


Hello,

 I've problem with migrate our configuration from reserved ip address into
failover configuration. Is possible to solve it?

 Today we have this configuration:

 

#SLES9.3

option domain-name "XXXX.cz";

option domain-name-servers 192.168.3.200, 192.168.3.120;

option routers 192.168.3.10;

authoritative ;

ddns-update-style none;

default-lease-time 3600;

max-lease-time 259200;

 

subnet 192.168.3.0 netmask 255.255.255.0 {

        option routers 192.168.3.10;

 

host PETROJKY {

  hardware ethernet 00:a0:c9:ed:1d:f7;

  fixed-address 192.168.3.11;

}

...

 

I tried remake this configuration for failover, server works, but I'm afraid
about address reservation. Our systems depend on statically defined IP
address, but in failover configuration is used leastime so in future is
possible to address has been changed. I read about infinite-is-reserved, but
I don't find way howto migrate fixed-address records into reserved leases.

 

#CentOS 5.3

authoritative;

ddns-update-style none;

 

failover peer "dhcp-failover" {

  primary; # declare this to be the primary server

  address 192.168.3.200;

  port 647;

  peer address 192.168.3.11;

  peer port 647;

  max-response-delay 30;

  max-unacked-updates 10;

  load balance max seconds 3;

  mclt 1800;

  split 128;

}

 

subnet 192.168.3.0 netmask 255.255.255.0 {

  option subnet-mask 255.255.255.0;

  option broadcast-address 192.168.3.255;

  option routers 192.168.3.10;

  option domain-name-servers 192.168.3.200,192.168.3.120;

  pool {

    failover peer "dhcp-failover";

    infinite-is-seserverd;

    max-lease-time 4294967295; # infinite

    range 192.168.3.20 192.168.3.254;

    deny dynamic bootp clients;

  }

}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20090518/eec38bf2/attachment.html>


More information about the dhcp-users mailing list