ISC DHCP server offers fixed IP addresses to ANY device!

Rudy Zijlstra rudy at grumpydevil.homelinux.org
Fri Dec 19 23:44:19 UTC 2008


Op vrijdag 19-12-2008 om 16:47 uur [tijdzone +0100], schreef Daniel
Manser:

> Dear List
> 



> include "/etc/dhcpd.d/networks.conf";
> 
> subnet 192.168.99.0 netmask 255.255.255.0 { }
> 
> subnet 172.27.0.0 netmask 255.255.255.0
> {
> 	option subnet-mask 255.255.255.0;
> 	range 172.27.0.10 172.27.0.20;
> 	option routers 172.27.0.1;
> 	option time-offset 36000;
> 	default-lease-time 36000;
> 	max-lease-time 2592000;
> 	option tftp-server-name "XX.169.149.52";
> 	filename "THG540-10M-10M_d.cfg";
> 	include "/etc/dhcpd.d/modems.conf";
> }
> 
> dhcpdtest:~# cat /etc/dhcpd.d/networks.conf
> shared-network OURNETWORKS {
>   option domain-name-servers XX.169.149.10;
>   default-lease-time 36000;
>   subnet XX.169.176.0 netmask 255.255.255.248 {
>     option routers XX.169.176.1;
>     range XX.169.176.4 XX.169.176.6;
>     host donaldduck {
>       hardware ethernet 00:11:22:33:44:55;
>       fixed-address XX.169.176.4;
>       }
>     }
>   subnet XX.169.176.8 netmask 255.255.255.248 {
>     option routers XX.169.176.9;
>     range XX.169.176.10 XX.169.176.14;
>     }
> }
> 


Can you describe your network setup? Most often the shared network
statement is used incorrectly (i.e. is not needed)

Cheers,

Rudy

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20081220/ea08d083/attachment-0003.html>


More information about the dhcp-users mailing list