Eu discordo de Michael Kjörling. O manual do Linux para o arquivo dhcpd.conf afirma explicitamente:
Reserved Leases
It's often useful to allocate a single address to a single client, in approximate perpetuity. Host statements with fixed-address clauses exist to a certain extent to serve this purpose, but because host statements are intended to approximate 'static configuration', they suffer from not being referenced in a littany of other Server Services, such as dynamic DNS, failover, 'on events' and so forth.
If a standard dynamic lease, as from any range statement, is marked 'reserved', then the server will only allocate this lease to the client it is identified by (be that by client identifier or hardware address).
In practice, this means that the lease follows the normal state engine, enters ACTIVE state when the client is bound to it, expires, or is released, and any events or services that would normally be supplied during these events are processed normally, as with any other dynamic lease. The only difference is that failover servers treat reserved leases as special when they enter the FREE or BACKUP states - each server applies the lease into the state it may allocate from - and the leases are not placed on the queue for allocation to other clients. Instead they may only be 'found' by client identity. The result is that the lease is only offered to the returning client.
O ponto chave é no final, deixe-me repetir:
... e as concessões não são colocadas na fila para alocação para outros clientes. Em vez disso, eles só podem ser "encontrados" pela identidade do cliente. O resultado é que a concessão é oferecida apenas ao cliente que retorna.
Assim, creio que realmente há algo errado com a situação descrita por motaz, exatamente o que ele disse no comentário à resposta de Michael Kjörling. Falando de experiência, tenho vários computadores, com endereços reservados dentro da faixa de locação, mas nunca experimentei problemas como os denunciados pela motaz.
Então, agora minha sugestão para motaz:
-
Adicione esta linha
infinite-is-reserved on;
para o arquivo de configuração;
-
altere sua declaração de host como
host SpecialPC {
hardware ethernet 00:16:3e:8a:30:f1;
fixed-address 192.168.1.90;
min-lease-time 2147483647 ;
max-lease-time 2147483647 ;
}
Isso segue o manual acima mencionado, que afirma:
The infinite-is-reserved statement
infinite-is-reserved flag;
ISC DHCP now supports 'reserved' leases. See the section on RESERVED LEASES below. If this flag is on, the server will automatically reserve leases allocated to clients which requested an infinite (0xffffffff) lease-time.
The default is off.