Re: [CentOS] DHCP max-lease-time maximum

2016-07-07 Thread Sylvain CANOINE

> Thanks, I did know that and we are using this in other situations. But
> as written in my third reply:
> 
> To much work every MAC I dont have to type counts.
Take some time to write a script, and you'll earn much time after. But it's a 
really, really bad idea to configure too long leases.

Sylvain.
Pensez ENVIRONNEMENT : n'imprimer que si ncessaire

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DHCP max-lease-time maximum

2016-07-07 Thread Götz Reinicke - IT Koordinator
Thanks, I did know that and we are using this in other situations. But
as written in my third reply:

To much work every MAC I dont have to type counts.

Regards . Götz



Am 07.07.16 um 11:44 schrieb Eero Volotinen:
> Static MAC ip mapping on dhcp server?
>
> Eero
> 7.7.2016 12.38 ip. "Götz Reinicke - IT Koordinator" <
> goetz.reini...@filmakademie.de> kirjoitti:
>
> Am 06.07.16 um 18:19 schrieb John R Pierce:
>> On 7/6/2016 1:27 AM, Götz Reinicke - IT Koordinator wrote:
>>> :)  ... the long lease is for some Accesspoints which we dont like to
>>> configure static, just plug in and run.
>> why not configure reservations for those access points?
>>
>> the downside of a really long lease time is if you have to change
>> something like DNS, gateway, whatever, the clients with a really long
>> lease will not 'see' the change until 50% of hte lease time expires as
>> thats the default refresh.
>>
>>
> 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.
>
> Thanks for your feedback . Götz
>


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DHCP max-lease-time maximum

2016-07-07 Thread John R Pierce

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@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DHCP max-lease-time maximum

2016-07-07 Thread Eero Volotinen
Static MAC ip mapping on dhcp server?

Eero
7.7.2016 12.38 ip. "Götz Reinicke - IT Koordinator" <
goetz.reini...@filmakademie.de> kirjoitti:

Am 06.07.16 um 18:19 schrieb John R Pierce:
> On 7/6/2016 1:27 AM, Götz Reinicke - IT Koordinator wrote:
>> :)  ... the long lease is for some Accesspoints which we dont like to
>> configure static, just plug in and run.
>
> why not configure reservations for those access points?
>
> the downside of a really long lease time is if you have to change
> something like DNS, gateway, whatever, the clients with a really long
> lease will not 'see' the change until 50% of hte lease time expires as
> thats the default refresh.
>
>
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.

Thanks for your feedback . Götz



___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DHCP max-lease-time maximum

2016-07-07 Thread Götz Reinicke - IT Koordinator
Am 06.07.16 um 18:19 schrieb John R Pierce:
> On 7/6/2016 1:27 AM, Götz Reinicke - IT Koordinator wrote:
>> :)  ... the long lease is for some Accesspoints which we dont like to
>> configure static, just plug in and run.
>
> why not configure reservations for those access points?
>
> the downside of a really long lease time is if you have to change
> something like DNS, gateway, whatever, the clients with a really long
> lease will not 'see' the change until 50% of hte lease time expires as
> thats the default refresh.
>
>
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.

Thanks for your feedback . Götz


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DHCP max-lease-time maximum

2016-07-06 Thread John R Pierce

On 7/6/2016 1:27 AM, Götz Reinicke - IT Koordinator wrote:

:)  ... the long lease is for some Accesspoints which we dont like to
configure static, just plug in and run.


why not configure reservations for those access points?

the downside of a really long lease time is if you have to change 
something like DNS, gateway, whatever, the clients with a really long 
lease will not 'see' the change until 50% of hte lease time expires as 
thats the default refresh.



--
john r pierce, recycling bits in santa cruz

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DHCP max-lease-time maximum

2016-07-06 Thread Götz Reinicke - IT Koordinator
To much work ;) every MAC I dont have to type counts.

/G


Am 06.07.16 um 10:31 schrieb Eero Volotinen:
> How about static ip mapping on dhcp?
>
> Eero

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DHCP max-lease-time maximum

2016-07-06 Thread Eero Volotinen
How about static ip mapping on dhcp?

Eero

2016-07-06 11:27 GMT+03:00 Götz Reinicke - IT Koordinator <
goetz.reini...@filmakademie.de>:

> :) ... the long lease is for some Accesspoints which we dont like to
> configure static, just plug in and run.
>
> /Götz
>
> Am 06.07.16 um 10:24 schrieb Eero Volotinen:
> > DHCP uses 16 to represent an infinite lease. Try if it's
> supported.
> > Anyway, it's insane value as year lease time :)
> >
> > Eero
> >
> > 2016-07-06 11:22 GMT+03:00 Götz Reinicke - IT Koordinator <
> > goetz.reini...@filmakademie.de>:
> >
> >> Hi,
> >>
> >> I m looking for the max value for max-lease-time. would 512640 seconds
> >> (1 year) work?
> >>
> >> Thanks . Götz
> >>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DHCP max-lease-time maximum

2016-07-06 Thread Götz Reinicke - IT Koordinator
:) ... the long lease is for some Accesspoints which we dont like to
configure static, just plug in and run.

/Götz

Am 06.07.16 um 10:24 schrieb Eero Volotinen:
> DHCP uses 16 to represent an infinite lease. Try if it's supported.
> Anyway, it's insane value as year lease time :)
>
> Eero
>
> 2016-07-06 11:22 GMT+03:00 Götz Reinicke - IT Koordinator <
> goetz.reini...@filmakademie.de>:
>
>> Hi,
>>
>> I m looking for the max value for max-lease-time. would 512640 seconds
>> (1 year) work?
>>
>> Thanks . Götz
>>

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DHCP max-lease-time maximum

2016-07-06 Thread Eero Volotinen
DHCP uses 16 to represent an infinite lease. Try if it's supported.
Anyway, it's insane value as year lease time :)

Eero

2016-07-06 11:22 GMT+03:00 Götz Reinicke - IT Koordinator <
goetz.reini...@filmakademie.de>:

> Hi,
>
> I m looking for the max value for max-lease-time. would 512640 seconds
> (1 year) work?
>
> Thanks . Götz
>
>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] DHCP max-lease-time maximum

2016-07-06 Thread Götz Reinicke - IT Koordinator
Hi,

I m looking for the max value for max-lease-time. would 512640 seconds
(1 year) work?

Thanks . Götz



___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos