• April 24, 2024, 09:11:24 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Windows Clients getting DHCP ACK followed by a NAK  (Read 6203 times)

bsh

  • Level 1 Member
  • *
  • Posts: 7
Windows Clients getting DHCP ACK followed by a NAK
« on: January 06, 2013, 06:17:57 AM »

Hello,

I've just discovered this thing in Windows Event log. The DHCP-Client log is full with this: the client received a NAK from the DHCP Server. Strangely, they still get the desired IP address. (Which are reserved adresses for the MAC adresses.)
So I've looked at the logs in the DIR-615 (rev.D, FW: 4.13), and found this:

Laptop running Windows 7, connecting via wi-fi:
Code: [Select]
Jan 6 14:53:32 DHCP: Server sending NAK to 00:21:6b:18:7b:fa.
Jan 6 14:53:32 DHCP: Server sending ACK to 192.168.2.100. (Lease time = -1)
Jan 6 14:53:32 DHCP: Server receive REQUEST from 00:21:6b:18:7b:fa.
Jan 6 14:53:32 DHCP: Server sending OFFER of 192.168.2.100 for static DHCP client.
Jan 6 14:53:32 DHCP: Server receive DISCOVER from 00:21:6b:18:7b:fa.
Jan 6 14:53:31 DHCP: Server sending NAK to 00:21:6b:18:7b:fa.
Jan 6 14:53:31 DHCP: Server receive REQUEST from 00:21:6b:18:7b:fa.
Jan 6 14:53:28 DHCP: Server sending NAK to 00:21:6b:18:7b:fa.
Jan 6 14:53:28 DHCP: Server receive REQUEST from 00:21:6b:18:7b:fa.

Desktop running Windows 7, connected with cable through a gigabit switch:
Code: [Select]
Jan 6 14:42:34 DHCP: Server sending NAK to c8:60:00:a4:a0:7b.
Jan 6 14:42:34 DHCP: Server sending ACK to 192.168.2.60. (Lease time = -1)
Jan 6 14:42:34 DHCP: Server receive REQUEST from c8:60:00:a4:a0:7b.
Jan 6 14:42:34 DHCP: Server sending OFFER of 192.168.2.60 for static DHCP client.
Jan 6 14:42:34 DHCP: Server receive DISCOVER from c8:60:00:a4:a0:7b.

I'm also having linux boxes, but they don't do this, they connect without issues:
Quote
Jan 6 14:16:35    DHCP: Server sending ACK to 192.168.2.103. (Lease time = 172800)
Jan 6 14:16:35    DHCP: Server receive REQUEST from 08:00:27:3f:4f:64.
Jan 6 14:16:35    DHCP: Server sending OFFER of 192.168.2.103.
Jan 6 14:16:35    DHCP: Server receive DISCOVER from 08:00:27:3f:4f:64.
(this is a virtualbox guest running on my desktop pc. It's address is not reserved in the router.)

So this only seems to happen with windows clients. Anyone could tell me why this happening?
Apart from this annoyance, everything is working. I just would like to know how to make things work "tidily".
Thanks for any help.
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Windows Clients getting DHCP ACK followed by a NAK
« Reply #1 on: January 07, 2013, 07:33:28 AM »

Link>Welcome!
What Hardware version is your router? Look at sticker under router.
Link>What Firmware version is currently loaded? Found on routers web page under status.
What region are you located?

Has a Factory Reset been performed?

What ISP Service do you have? Cable or DSL?
What ISP Modem do you have? Stand Alone or built in router?
What ISP Modem make and model do you have?
If this modem has a built in router, it's best to bridge the modem. Having 2 routers on the same line can cause connection problems.
Double NAT
To tell if the modem is bridged or not, look at the routers web page, Status/Device Info/Wan Section, if there is a 192.168.0.# address in the WAN IP address field, then the modem is not bridged.
If the modem can't be bridged then see if the modem has a DMZ option and input the IP address the router gets from the modem and put that into the modems DMZ.
Check ISP MTU requirements, Cable is usually 1500, DSL is around 1492 down to 1472. Call the ISP and ask.

Some things to try: - Log into the routers web page at 192.168.0.1. Use IE, Opera or FF to manage the router.
Turn off ALL QoS or Disable Traffic Shaping (DIR only) GameFuel (DGL only and if ON.) options. Advanced/QoS or Gamefuel.
Turn off Advanced DNS Services if you have this option under Setup/Internet/Manual.
Turn on DNS Relay under Setup/Networking.
Setup DHCP reserved IP addresses for all devices ON the router. Setup/Networking. This ensures each devices gets its own IP address when turned on and connected, eliminates IP address conflicts and helps in troubleshooting.
Ensure devices are set to auto obtain an IP address.
Set Firewall settings to Endpoint Independent for TCP and UDP under Advanced/Firewall.
Enable uPnP and Multi-cast Streaming under Advanced/Networking. Disable uPnP for testing Port Forwarding rules.
WAN Port Speed set to Auto or specific speed? Some newer ISP modems support 1000Mb so manually setting to Gb speeds can be supported by the router. Advanced/Advanced Networking/WAN Port Speed

Link>Wireless Installation Considerations
What wireless modes are you using? Under Setup/Wireless/Manual.
Try single mode G or N or mixed G and N?
Channel Width set for Auto 20/40Mhz or try 20Mhz only.
Try setting a manual channel to a open or unused channel. 1, 6 or 11. 11 for single mode N if the channel is clear.
What security mode are you using? Preferred security is WPA-Personal. WPA2/AES Only. Some WiFi adapters don't support AES, so you might want to try TPIK only or Auto.
What wireless devices do you have connected?
Any cordless house phones?
Any other WiFi routers in the area? Link> Use InSSIDer to find out. How many?
Turn off WISH, and WPS under Advanced.
Try turning off Short GI, WLAN Partition,and Extra Wireless Protection if you have it. Under Advanced/Advanced Wireless.
Enable WMM Enable Under Advanced/Advanced Wireless.

Turn off all anti virus and firewall programs on PC while testing. 3rd party firewalls are not generally needed when using routers as they are effective on blocking malicious inbound traffic.
Turn off all devices accept for one wired PC while testing.


What browser are you using?
Try Opera or FF? If IE 8 or 9, set compatibility mode and test again.
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.