[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DHCP slow renewal, actually times out but mysteriously still gets an IP



On Sat, 22 May 2004 00:20:08 +0200, in linux.debian.user you wrote:

>Stalks wrote:
>> I have a small network with 6 public IP addresses. The debian server 
>> runs a DHCP server. I've tried
>> with the 'apt-get install dhcp' and am now using 'apt-get install 
>> dhcp3-server'.
>> 
>> When my XP SP1a machine (PC4800 Deluxe with onboard 3COM Gigabit 
>> Ethernet) attempts to get an IP via
>> DHCP, windows actually times out. *but* it *does* get an IP.
>> 
>
>By default, if a DHCP attempt times out, the client will normally
>use the last known good address it was given.
>
>-Roberto Sanchez

Does WindowsXP hold onto the last known IP even with a reboot? I
havent a clue about the internal workings of the DHCP protocol.
Looking at the logs,

May 21 14:25:30 nooblet dhcpd: DHCPDISCOVER from 00:0c:6e:70:29:33 via
br0
May 21 14:25:30 nooblet dhcpd: DHCPOFFER on 81.168.82.220 to
00:0c:6e:70:29:33 via br0
May 21 14:26:06 nooblet dhcpd: DHCPDISCOVER from 00:0c:6e:70:29:33 via
br0
May 21 14:26:06 nooblet dhcpd: DHCPOFFER on 81.168.82.220 to
00:0c:6e:70:29:33 via br0
May 21 14:26:06 nooblet dhcpd: DHCPREQUEST for 81.168.82.220 (0.0.0.0)
from 00:0c:6e:70:29:33 via br0
May 21 14:26:06 nooblet dhcpd: DHCPACK on 81.168.82.220 to
00:0c:6e:70:29:33 via br0

The WinXP machine attempts a DISCOVER, the debian box OFFER's an IP,
but the WinXP machine never accepts it until it sepcifically request's
its last known IP, like you said, which it then immediately
ACKnowledges. Is that correct? Why isn't it accepting the original
OFFERs?

I did some google searching last week about it and some people have
suggested replacing the cable/switch/NIC. I bought a new switch, a
NETGEAR 1gb unmanaged switch, that didnt solve it. Then yesterday
arrived 5 belkin CAT5e snagless patch cables, and I still have the
problem. Would it be possible both onboard NIC's are faulty?

I'm out of idea's, as far as my knowledge goes, everything is set up
correctly, and I was hoping someone here would have a solution.

Heres hoping.

Steve Allison



Reply to: