What's new

dnsmasq error

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

iAirJordan

Occasional Visitor
Jan 18 01:37:20 dnsmasq-dhcp[380]: DHCPNAK(br0) 192.168.2.20 24:a2:e1:d7:81:d4 wrong address
Jan 16 23:59:48 dnsmasq-dhcp[380]: DHCPNAK(br0) 192.168.1.112 24:a2:e1:d7:81:d4 wrong address

i get these in my error log. somehow its assigning the wrong ip to this device? idk what causes it either.
 
prbably another router with dhcp/dnsmasq enabled
 
Is this a wireless device?

A lot of wireless devices will attempt to use a shortcut to cut down on the time needed to reacquire a lease.

Instead of the typical DHCP process:

Code:
#Client connects to network
client: DHCPDISCOVER
server: DHCPOFFER x.x.x.x
client: DHCPREQUEST x.x.x.x
server: DHCPACK x.x.x.x

The wireless client will use the last known IP address and immediately request it again.

Code:
#Client connects to network
client: DHCPREQUEST x.x.x.x
server: DHCPACK x.x.x.x

If the client is switching networks, say from a public wifi to your private network, and they use different IP address ranges. You will see exactly this behavior when the client connects because it is attempting to connect more quickly with the last IP address it used.

Code:
#Client connects to network
client: DHCPREQUEST y.y.y.y
server: DHCPNACK y.y.y.y
client: DHCPDISCOVER
server: DHCPOFFER x.x.x.x
client: DHCPREQUEST x.x.x.x
server: DHCPACK x.x.x.x

Or as sinshiva says, there is another DHCP server running on your network.
 
If you only have one router at home, you have nothing to worry about. I get that message all the time when I switch Apple TV back and forth between two different routers (two different LAN segments). Apple TV causes the same message because it tries to connect to other router first. So even if you have two routers, it won't be a problem if you have them cascaded/configured properly in a LAN to WAN cascade.
 
Is this a wireless device?

A lot of wireless devices will attempt to use a shortcut to cut down on the time needed to reacquire a lease.

Instead of the typical DHCP process:

Code:
#Client connects to network
client: DHCPDISCOVER
server: DHCPOFFER x.x.x.x
client: DHCPREQUEST x.x.x.x
server: DHCPACK x.x.x.x

The wireless client will use the last known IP address and immediately request it again.

Code:
#Client connects to network
client: DHCPREQUEST x.x.x.x
server: DHCPACK x.x.x.x

If the client is switching networks, say from a public wifi to your private network, and they use different IP address ranges. You will see exactly this behavior when the client connects because it is attempting to connect more quickly with the last IP address it used.

Code:
#Client connects to network
client: DHCPREQUEST y.y.y.y
server: DHCPNACK y.y.y.y
client: DHCPDISCOVER
server: DHCPOFFER x.x.x.x
client: DHCPREQUEST x.x.x.x
server: DHCPACK x.x.x.x

Or as sinshiva says, there is another DHCP server running on your network.

cool, never knew that
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top