Re: DHCP max-lease-time maximum

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



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

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://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