dhcp with only static leases

Denis Laventure Denis_Laventure at uqac.ca
Sun Oct 11 15:09:54 UTC 2009


Hi,

No need for a pool if you don't have dynamic client.

What about:

ignore client-updates;
ddns-update-style interim;
ddns-updates off;
boot-unknown-clients off;

max-lease-time 100000;
default-lease-time 84600;

option domain-name-servers 192.168.254.200;	# did you mean 200 (gateway)?

subnet 192.168.254.0 netmask 255.255.255.0 {
	option routers 192.168.254.200;		# did you mean 200 (gateway)?
	option subnet-mask 255.255.255.0;
}

group {
	host n192_168_254_77 {			# did you mean 254?
		hardware ethernet 00:50:56:c0:00:01;
		fixed-address 192.168.254.77;
	}
}

Denis

Sergey Ivanov a écrit :
> Hello, I need dhcp configuration which serves ONLY static leases, it
> should not respond to any unknown client.
>
> Please see config below, is it correct config?  gateway has address
> 192.168.254.200.
>
> ignore client-updates;
> ddns-update-style interim;
> ddns-updates off;
> boot-unknown-clients off;
>
> max-lease-time 100000;
> default-lease-time 84600;
>
> option routers 192.168.254.100;
> option domain-name-servers 192.168.254.100;
> option subnet-mask              255.255.255.0;
>
> subnet 192.168.254.0 netmask 255.255.255.0 {
>     pool {
>         range 192.168.254.100 192.168.254.100;
>         deny unknown-clients;
>         host n192_168_224_77 {
>                 hardware ethernet 00:50:56:c0:00:01;
>                 fixed-address 192.168.254.77;
>         }
>     }
> }
>
> Thank you for reply
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>   



More information about the dhcp-users mailing list