[CentOS] DHCP max-lease-time maximum
John R Pierce
pierce at hogranch.com
Thu Jul 7 10:49:39 UTC 2016
On 7/7/2016 2:37 AM, Götz Reinicke - IT Koordinator wrote:
> Hi, what do you mean with "reservations"? the APs in question just need
> an IP for connecting to the managemnt server which is in the same subnet.
a DHCP reservation is when you convert a lease to a static reservation,
so each time that MAC/identifier asks for an IP, you give it one thats
preconfigured. typically you can just cut/paste an entry form
/var/state/dhcpd.leases into /etc/dhcpd.conf and tweak it to something
like...
host myhost {
hardware ethernet 00:01:08:00:ad:33;
fixed-address 192.168.0.249;
option host-name "myhost";
}
or if you're clever write a bit of perl to do that automatically,
--
john r pierce, recycling bits in santa cruz
More information about the CentOS
mailing list