DHCPDISCOVER question and problems

Werner Schram wrschram at gmail.com
Mon Jan 18 16:38:21 UTC 2010


On 01/18/2010 04:46 PM, Jay Ridgley wrote:
> Folks,
>
> Sorry this got  a trifle long...
>
> I have been trying to get a Western Digital MyBook World Edition
> configured and after several messages to various people and both list
> have gotten to the point that the dhcp3-server is indeed up and running
> and recognized by Firestarter.
>
> However, I am unable to get an IP address assigned or if one has been
> assigned I do not know where to look...
>
> Currently I am getting the following messages in the syslog file:
>
> Jan 18 08:17:02 mateo dhcpd: DHCPDISCOVER from 00:90:a9:6e:27:24 via
> eth1: network 192.168.139/24: no free leases
> Jan 18 08:17:20 mateo last message repeated 6 times
> Jan 18 08:22:23 mateo dhcpd: DHCPDISCOVER from 00:90:a9:6e:27:24 via
> eth1: network 192.168.139/24: no free leases
> Jan 18 08:22:50 mateo last message repeated 9 times
>
> The dhcp3 configuration file has the following content:
>
> # DHCP configuration generated by Firestarter
>
> ddns-update-style interim;
> ignore client-updates;
>
> subnet 192.168.139.0 netmask 255.255.255.0 {
>            option routers 192.168.139.2;
>            option subnet-mask 255.255.255.0;
>            option domain-name-servers 24.93.41.128, 24.93.41.127;
>            option ip-forwarding off;
> }
>
>   From the DHCPDISCOVER the mac address should be the WD MBWE does anyone
> know for certain??
>
> If I include the following lines after the option ip-forwarding off line
> Firestarter and dhcp3-server do not like the config file that results:
>
> 	range dynamic-bootp 192.168.0.100 192.168.0.254;
>           default-lease-time 21600
>           max-lease-time 43200;
>
> The log file contains the following message:
>
> Jan 18 05:00:43 mateo dhcpd: Internet Systems Consortium DHCP Server V3.0.6
> Jan 18 05:00:43 mateo dhcpd: Copyright 2004-2007 Internet Systems
> Consortium.
> Jan 18 05:00:43 mateo dhcpd: All rights reserved.
> Jan 18 05:00:43 mateo dhcpd: For info, please visit
> http://www.isc.org/sw/dhcp/
> Jan 18 05:00:43 mateo dhcpd: Address range 192.168.0.100 to
> 192.168.0.254 not on net 192.168.139.0/255.255.255.0!
>    
The range you specified (192.168.0.100-192.168.0.254) is not part of the 
subnet 192.168.139.0/24. With this subnet, you can only assign ip 
adresses in the 192.168.139.0 to 192.168.139.255 range. So you should 
change the range line to:

range dynamic-bootp 192.168.139.100 192.168.139.254;

Wikipedia has some useful information about subnets and subnet masks:
http://en.wikipedia.org/wiki/Subnetwork

Regards,
Werner




More information about the ubuntu-users mailing list