[lug] can renew ip form dhcp server!

Zan Lynx zlynx at acm.org
Mon May 19 17:03:34 MDT 2003


On Mon, 2003-05-19 at 15:38, jd wrote:
> hello,
>  
>  I have a win98 and a XP client trying to get a ip from a debian3.0
> box running what ever dhcp server they give you . All has worked good
> for a few days...now the windows clients get "ACCess deined" when they
> try to ipconfig /renew. 
>  On the dhcp box u can see there request....heres a little/....
[snip]
> 
> heres my conf.....
> subnet 65.19.42.0 netmask 255.255.255.0{
> }
> subnet 10.0.0.0 netmask 255.255.255.0 {
> # --- default gateway
>         option routers                  10.0.0.1;
>         option subnet-mask              255.255.255.0;
> 
> 
> #       option domain-name              "domain.org";
>         option domain-name-servers      198.59.109.7;
> 
> #       option time-offset              -18000; # Eastern Standard Time
> #       option ntp-servers              192.168.1.1;
> #       option netbios-name-servers     192.168.1.1;
> 
>         range dynamic-bootp 10.0.0.10 10.0.0.254;
>         default-lease-time 302400;
>         max-lease-time 1209600;
> 

Your problem is using dynamic-bootp.  Take it out, make the line:
	range 10.0.0.10 10.0.0.254;

The BOOTP protocol is for old stuff like X-Terminals and some printers
(at least that's all I've ever seen.)  BOOTP has no way to release
addresses once they are assigned, so every assignment is permanent. 
Eventually you run out of addresses to assign.

After you change your dhcpd.conf file, I would shut down dhcpd and
remove all files from the /var/state/dhcpd directory (if that is where
your distro puts it.)  Then you restart the dhcpd server.  When they go
to renew their address, your clients will get new addresses.
-- 
Zan Lynx <zlynx at acm.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20030519/0c06097e/attachment.pgp>


More information about the LUG mailing list