[Dnsmasq-discuss] Some clients get wrong IP
Claes Parflo
claes.parflo at gmail.com
Tue Dec 20 17:17:37 GMT 2011
Thanks. Seem to be:
not using configured address 192.168.5.160 because it is leased to 00:14:d1:f1:2b:89
I emptied /var/lib/misc/dnsmasq.leases for all 4 cameras in my test and issued SIGHUP before powering on cam's. I gave new MAC bonding to check results and enabled logging.
Where else do I need to flush old IP? Do dnsmasq have other hidden storage?
Extract below.
Dec 20 18:01:14 debian dnsmasq-dhcp[9964]: 2045479800 available DHCP range: 192.168.5.50 -- 192.168.5.150
Dec 20 18:01:14 debian dnsmasq-dhcp[9964]: 2045479800 client provides name: DCS-930
Dec 20 18:01:14 debian dnsmasq-dhcp[9964]: 2045479800 vendor class: udhcp 1.12.1
Dec 20 18:01:14 debian dnsmasq-dhcp[9964]: not using configured address 192.168.5.160 because it is leased to 00:14:d1:f1:2b:89
Dec 20 18:01:17 debian dnsmasq-dhcp[9964]: 2045479800 DHCPDISCOVER(br0) f0:7d:68:02:fb:d2
Dec 20 18:01:17 debian dnsmasq-dhcp[9964]: 2045479800 DHCPOFFER(br0) 192.168.5.79 f0:7d:68:02:fb:d2
Dec 20 18:01:17 debian dnsmasq-dhcp[9964]: 2045479800 requested options: 1:netmask, 3:router, 6:dns-server, 12:hostname,
Dec 20 18:01:17 debian dnsmasq-dhcp[9964]: 2045479800 requested options: 15:domain-name, 28:broadcast, 42:ntp-server
Dec 20 18:01:17 debian dnsmasq-dhcp[9964]: 2045479800 tags: known, br0
Dec 20 18:01:17 debian dnsmasq-dhcp[9964]: 2045479800 next server: 192.168.5.1
Dec 20 18:01:17 debian dnsmasq-dhcp[9964]: 2045479800 sent size: 1 option: 53:message-type 02
Dec 20 18:01:17 debian dnsmasq-dhcp[9964]: 2045479800 sent size: 4 option: 54:server-identifier 192.168.5.1
Dec 20 18:01:17 debian dnsmasq-dhcp[9964]: 2045479800 sent size: 4 option: 51:lease-time 00:00:04:b0
Dec 20 18:01:17 debian dnsmasq-dhcp[9964]: 2045479800 sent size: 4 option: 58:T1 00:00:02:58
Dec 20 18:01:17 debian dnsmasq-dhcp[9964]: 2045479800 sent size: 4 option: 59:T2 00:00:04:1a
Dec 20 18:01:17 debian dnsmasq-dhcp[9964]: 2045479800 sent size: 4 option: 1:netmask 255.255.255.0
Dec 20 18:01:17 debian dnsmasq-dhcp[9964]: 2045479800 sent size: 4 option: 28:broadcast 192.168.5.255
Dec 20 18:01:17 debian dnsmasq-dhcp[9964]: 2045479800 sent size: 4 option: 3:router 192.168.5.1
Dec 20 18:01:17 debian dnsmasq-dhcp[9964]: 2045479800 sent size: 4 option: 6:dns-server 192.168.5.1
Dec 20 18:01:17 debian dnsmasq-dhcp[9964]: 2045479800 sent size: 13 option: 15:domain-name my.home
Dec 20 18:01:17 debian dnsmasq-dhcp[9964]: 2045479800 available DHCP range: 192.168.5.50 -- 192.168.5.150
Dec 20 18:01:17 debian dnsmasq-dhcp[9964]: 2045479800 client provides name: DCS-930
Dec 20 18:01:17 debian dnsmasq-dhcp[9964]: 2045479800 vendor class: udhcp 1.12.1
Dec 20 18:01:17 debian dnsmasq-dhcp[9964]: 2045479800 DHCPREQUEST(br0) 192.168.5.79 f0:7d:68:02:fb:d2
Dec 20 18:01:17 debian dnsmasq-dhcp[9964]: 2045479800 DHCPACK(br0) 192.168.5.79 f0:7d:68:02:fb:d2 D-Link930
Dec 20 18:01:17 debian dnsmasq-dhcp[9964]: 2045479800 requested options: 1:netmask, 3:router, 6:dns-server, 12:hostname,
Dec 20 18:01:17 debian dnsmasq-dhcp[9964]: 2045479800 requested options: 15:domain-name, 28:broadcast, 42:ntp-server
Dec 20 18:01:17 debian dnsmasq-dhcp[9964]: 2045479800 tags: known, br0
Dec 20 18:01:17 debian dnsmasq-dhcp[9964]: 2045479800 next server: 192.168.5.1
Dec 20 18:01:17 debian dnsmasq-dhcp[9964]: 2045479800 sent size: 1 option: 53:message-type 05
Dec 20 18:01:17 debian dnsmasq-dhcp[9964]: 2045479800 sent size: 4 option: 54:server-identifier 192.168.5.1
Dec 20 18:01:17 debian dnsmasq-dhcp[9964]: 2045479800 sent size: 4 option: 51:lease-time 00:00:04:b0
Dec 20 18:01:17 debian dnsmasq-dhcp[9964]: 2045479800 sent size: 4 option: 58:T1 00:00:02:58
Dec 20 18:01:17 debian dnsmasq-dhcp[9964]: 2045479800 sent size: 4 option: 59:T2 00:00:04:1a
Dec 20 18:01:17 debian dnsmasq-dhcp[9964]: 2045479800 sent size: 4 option: 1:netmask 255.255.255.0
Dec 20 18:01:17 debian dnsmasq-dhcp[9964]: 2045479800 sent size: 4 option: 28:broadcast 192.168.5.255
Dec 20 18:01:17 debian dnsmasq-dhcp[9964]: 2045479800 sent size: 4 option: 3:router 192.168.5.1
Dec 20 18:01:17 debian dnsmasq-dhcp[9964]: 2045479800 sent size: 4 option: 6:dns-server 192.168.5.1
Dec 20 18:01:17 debian dnsmasq-dhcp[9964]: 2045479800 sent size: 13 option: 15:domain-name my.home
Dec 20 18:01:17 debian dnsmasq-dhcp[9964]: 2045479800 sent size: 9 option: 12:hostname D-Link930
On Tuesday 20 December 2011-51 at 17:38, richardvoigt at gmail.com wrote:
> Check your log, see if the camera is reporting a wrong MAC, different
> client-id, different vendor class, or something like that.
>
> Or possibly the camera's bootloader is remembering its old address
> (gotten before you configured your hosts file) and requesting a
> renewal. Again, the log would show a renewal request.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20111220/f4da3a80/attachment.htm
More information about the Dnsmasq-discuss
mailing list