shared-network

Laszlo Fekete blackluck at ktk.bme.hu
Thu Nov 11 18:07:26 UTC 2010


Thanks.

Just another question: I have some clients without fixed address and
they get ip dynamically from 192.168.5.0/24 , so this stored in
dcpd.leases. But later give them fixed address from 160.1.2.0/26. Is it
possible if the client don't send dhcpdiscover just dhcprequest with the
dinamic ip, than the dhcp server give ip from static pool even if there
is a lease in leases file or delete the lease which mac address has a
fixed address in dhcpd.conf at dhcpd reload/restart?

Thanks

On 11/11/2010 08:17 AM, Simon Hobson wrote:
> Laszlo Fekete wrote:
>
>> I have shared-network with two subnets, one with fixed-addresses and the
>> another with dynamic pool.
>> How can I configure, if a client has fixed address, then use only it and
>> not any of the dynamic range?
>
> Add "deny known-hosts;" to the pool like this :
>
> authoritative;
> shared-nerwork Desktops {
>   subnet 192.168.5.0 netmask 255.255.255.0 {
>     pool {
>       range 192.168.5.1 192.168.5.253;
>       deny known-clients;
>     }
>   }
>   subnet160.1.2.0 netmask 255.255.255.192 {
>   }
> }
>
> host 160.1.2.1 { hardware ethernet 00:11:22:33:44:55; fixed-address
> 162.1.2.1 }
> host 160.1.2.2 { hardware ethernet 00:11:22:33:44:5a; fixed-address
> 162.1.2.2 }
> host 160.1.2.3 { hardware ethernet 00:11:22:33:44:5b; fixed-address
> 162.1.2.3 }
> host 160.1.2.4 { hardware ethernet 00:11:22:33:44:5c; fixed-address
> 162.1.2.4 }
> ...
>
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20101111/80766b0c/attachment.bin>


More information about the dhcp-users mailing list