Re: Redundant DHCP server with mixed static nonstatic ips

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



2012/1/19 Götz Reinicke <goetz.reinicke@xxxxxxxxxxxxxxx>:
> Hi,
>
> it's time to start our redundant dhcp server setup and I found some
> suggestions and tutorials.
>
> But all setups I found use either static or nonstatic ip adress management.
>
> For the static setup I'd setup two servers and copy the configfile from
> the 'master' to the secondary server and do a dhcpd restart.
>
> For the nonstatic I have to setup pool and failover peer configurations
> to have the lease information synced.
>
> My question:
>
> Can I mix both types of configuration? May be somewone has an example
> config for me? We use centos 6.2 and it would be dhcp 4.1.1.
>

'man dhcpd.conf'  should explain the concept - look for the
'Configuring Failover' section and specifically the 'include
"/etc/dhcpd.master";' directive.   Basically you put the common stuff
in an included file - which will include both the dynamic ranges and
the hardware static assignments and the including file just has the
(unique) failover/peer info.

-- 
  Les Mikesell
    lesmikesell@xxxxxxxxx
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux