Götz Reinicke
2012-Jan-19 13:51 UTC
[CentOS] Redundant DHCP server with mixed static nonstatic ips
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. Thanks for any suggestion and best regards . G?tz -- G?tz Reinicke IT-Koordinator Tel. +49 7141 969 420 Fax +49 7141 969 55 420 E-Mail goetz.reinicke at filmakademie.de Filmakademie Baden-W?rttemberg GmbH Akademiehof 10 71638 Ludwigsburg www.filmakademie.de Eintragung Amtsgericht Stuttgart HRB 205016 Vorsitzender des Aufsichtsrats: J?rgen Walter MdL Staatssekret?r im Ministerium f?r Wissenschaft, Forschung und Kunst Baden-W?rttemberg Gesch?ftsf?hrer: Prof. Thomas Schadt
Les Mikesell
2012-Jan-19 15:56 UTC
[CentOS] Redundant DHCP server with mixed static nonstatic ips
2012/1/19 G?tz Reinicke <goetz.reinicke at filmakademie.de>:> 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 at gmail.com
Possibly Parallel Threads
- samba 3.3 with LDAP - How To change passwor from WIndows
- Samba, LDAP, Windows XP - force passwordchange on first login
- How ot migrate from /etc/samba/smbpasswd -> LDAP ldapsam:trusted
- Mysql 5.6, Centos 7 and errno: 24 - Too many open files
- Mysql 5.6, Centos 7 and errno: 24 - Too many open files