Re: [Dnsmasq-discuss] Duplicate IPs assigned to devices with similar MAC (same vendor)

2017-01-15 Thread Oleg Brodkin

How one find what identifier client sent? DNSMASQ logs show names that client 
provided:

Jan 15 08:12:26 dnsmasq-dhcp[13128]: 2689251041 client provides name: 
nuc_labtest_1

Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 client provides name: g5br2d2


On Sun, Jan 15, 2017 at 02:54:18PM +, Simon Kelley wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
> 
> The most likely explanation is that both devices are supplying the
> same client-id, which trumps MAC address as the system indentifier.
> Are they both running the same system image?
> 
> Cheers,
> 
> Simon.

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] Duplicate IPs assigned to devices with similar MAC (same vendor)

2017-01-15 Thread Simon Kelley
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

The most likely explanation is that both devices are supplying the
same client-id, which trumps MAC address as the system indentifier.
Are they both running the same system image?

Cheers,

Simon.


On 14/01/17 16:28, Oleg Brodkin wrote:
> # dnsmasq --version Dnsmasq version 2.76  Copyright (c) 2000-2016
> Simon Kelley # Lease time 48 hours
> 
> DNSMASQ server has been in our office for last 4-5 years, and
> mostly no issues with assigning IPs. Except there are two recent
> devices in our lab from the same vendor, and the server dishes them
> out duplicate IPs. Any ideas on what is going on and how to fix it?
> Thank you
> 
> Oleg
> 
> -- DEVICE 1 Jan 13 17:33:23 dnsmasq-dhcp[12864]: 328676717 sent
> size:  4 option: 54 server-identifier  10.111.222.6 Jan 13 17:33:23
> dnsmasq-dhcp[12864]: 328676717 sent size:  4 option:  1 netmask
> 255.255.248.0 Jan 13 17:33:23 dnsmasq-dhcp[12864]: 328676717 sent
> size:  4 option: 28 broadcast  10.111.223.255 Jan 13 17:33:23
> dnsmasq-dhcp[12864]: 328676717 sent size: 16 option: 15 domain-name
> xxx.com Jan 13 17:33:23 dnsmasq-dhcp[12864]: 328676717 sent size:
> 4 option:  6 dns-server  10.111.222.6 Jan 13 17:33:23
> dnsmasq-dhcp[12864]: 328676717 sent size:  4 option:  3 router
> 10.111.222.1 Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227
> available DHCP range: 10.111.216.10 -- 10.111.219.250 Jan 13
> 17:33:35 dnsmasq-dhcp[12864]: 792419227 client provides name:
> g5br2d2 Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227
> DHCPDISCOVER(eth0) f4:4d:30:60:73:40 Jan 13 17:33:35
> dnsmasq-dhcp[12864]: 792419227 tags: eth0 Jan 13 17:33:35
> dnsmasq-dhcp[12864]: 792419227 DHCPOFFER(eth0) 10.111.218.130
> f4:4d:30:60:73:40 Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227
> requested options: 1:netmask, 3:router, 12:hostname,
> 15:domain-name, Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227
> requested options: 6:dns-server, 33:static-route,
> 121:classless-static-route, Jan 13 17:33:35 dnsmasq-dhcp[12864]:
> 792419227 requested options: 42:ntp-server, 101 Jan 13 17:33:35
> dnsmasq-dhcp[12864]: 792419227 next server: 10.111.222.6 Jan 13
> 17:33:35 dnsmasq-dhcp[12864]: 792419227 sent size:  1 option: 53 
> message-type  2 Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 sent
> size:  4 option: 54 server-identifier  10.111.222.6 Jan 13 17:33:35
> dnsmasq-dhcp[12864]: 792419227 sent size:  4 option: 51 lease-time
> 2d Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 sent size:  4
> option: 58 T1 1d -- Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227
> sent size:  4 option:  1 netmask  255.255.248.0 Jan 13 17:33:35
> dnsmasq-dhcp[12864]: 792419227 sent size:  4 option: 28 broadcast
> 10.111.223.255 Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 sent
> size: 16 option: 15 domain-name  xxx.com Jan 13 17:33:35
> dnsmasq-dhcp[12864]: 792419227 sent size:  8 option: 42 ntp-server
> 10.111.222.18, 10.111.222.22 Jan 13 17:33:35 dnsmasq-dhcp[12864]:
> 792419227 sent size:  4 option:  6 dns-server  10.111.222.6 Jan 13
> 17:33:35 dnsmasq-dhcp[12864]: 792419227 sent size:  4 option:  3 
> router  10.111.222.1 Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227
> available DHCP range: 10.111.216.10 -- 10.111.219.250 Jan 13
> 17:33:35 dnsmasq-dhcp[12864]: 792419227 client provides name:
> g5br2d2 Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227
> DHCPREQUEST(eth0) 10.111.218.130 f4:4d:30:60:73:40 Jan 13 17:33:35
> dnsmasq-dhcp[12864]: 792419227 tags: eth0 Jan 13 17:33:35
> dnsmasq-dhcp[12864]: 792419227 DHCPACK(eth0) 10.111.218.130 
> f4:4d:30:60:73:40 g5br2d2 Jan 13 17:33:35 dnsmasq-dhcp[12864]:
> 792419227 requested options: 1:netmask, 3:router, 12:hostname,
> 15:domain-name, Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227
> requested options: 6:dns-server, 33:static-route,
> 121:classless-static-route, Jan 13 17:33:35 dnsmasq-dhcp[12864]:
> 792419227 requested options: 42:ntp-server, 101 Jan 13 17:33:35
> dnsmasq-dhcp[12864]: 792419227 next server: 10.111.222.6 Jan 13
> 17:33:35 dnsmasq-dhcp[12864]: 792419227 sent size:  1 option: 53 
> message-type  5 Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 sent
> size:  4 option: 54 server-identifier  10.111.222.6 Jan 13 17:33:35
> dnsmasq-dhcp[12864]: 792419227 sent size:  4 option: 51 lease-time
> 2d Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 sent size:  4
> option: 58 T1 1d
> 
> 
> -- DEVICE 2 Jan 13 14:12:23 dnsmasq-dhcp[12619]: 457454147 sent
> size:  4 option: 54 server-identifier  10.111.222.6 Jan 13 14:12:23
> dnsmasq-dhcp[12619]: 457454147 sent size:  4 option:  1 netmask
> 255.255.248.0 Jan 13 14:12:23 dnsmasq-dhcp[12619]: 457454147 sent
> size:  4 option: 28 broadcast  10.111.223.255 Jan 13 14:12:23
> dnsmasq-dhcp[12619]: 457454147 sent size: 16 option: 15 domain-name
> xxx.com Jan 13 14:12:23 dnsmasq-dhcp[12619]: 457454147 sent size:
> 4 option:  6 dns-server  10.111.222.6 Jan 13 14:12:23
> dnsmasq-dhcp[12619]: 457454147 sent size:  4 option:  3 router
> 10.111.222.1 Jan 13 14:12:31 

Re: [Dnsmasq-discuss] Duplicate IPs assigned to devices with similar MAC (same vendor)

2017-01-14 Thread Jim Alles
​May we have dnsmasq.conf?​


On Jan 14, 2017 11:56 AM, "Oleg Brodkin"  wrote:

# dnsmasq --version
Dnsmasq version 2.76  Copyright (c) 2000-2016 Simon Kelley
# Lease time 48 hours

DNSMASQ server has been in our office for last 4-5 years, and mostly no
issues with assigning IPs. Except there are two recent devices in our lab
from the same vendor, and the server dishes them out duplicate IPs. Any
ideas on what is going on and how to fix it? Thank you
___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


[Dnsmasq-discuss] Duplicate IPs assigned to devices with similar MAC (same vendor)

2017-01-14 Thread Oleg Brodkin
# dnsmasq --version
Dnsmasq version 2.76  Copyright (c) 2000-2016 Simon Kelley
# Lease time 48 hours

DNSMASQ server has been in our office for last 4-5 years, and mostly no
issues with assigning IPs. Except there are two recent devices in our lab
from the same vendor, and the server dishes them out duplicate IPs. Any
ideas on what is going on and how to fix it? Thank you

Oleg

-- DEVICE 1
Jan 13 17:33:23 dnsmasq-dhcp[12864]: 328676717 sent size:  4 option: 54
server-identifier  10.111.222.6
Jan 13 17:33:23 dnsmasq-dhcp[12864]: 328676717 sent size:  4 option:  1
netmask  255.255.248.0
Jan 13 17:33:23 dnsmasq-dhcp[12864]: 328676717 sent size:  4 option: 28
broadcast  10.111.223.255
Jan 13 17:33:23 dnsmasq-dhcp[12864]: 328676717 sent size: 16 option: 15
domain-name  xxx.com
Jan 13 17:33:23 dnsmasq-dhcp[12864]: 328676717 sent size:  4 option:  6
dns-server  10.111.222.6
Jan 13 17:33:23 dnsmasq-dhcp[12864]: 328676717 sent size:  4 option:  3
router  10.111.222.1
Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 available DHCP range:
10.111.216.10 -- 10.111.219.250
Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 client provides name: g5br2d2
Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 DHCPDISCOVER(eth0)
f4:4d:30:60:73:40
Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 tags: eth0
Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 DHCPOFFER(eth0)
10.111.218.130 f4:4d:30:60:73:40
Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 requested options:
1:netmask, 3:router, 12:hostname, 15:domain-name,
Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 requested options:
6:dns-server, 33:static-route, 121:classless-static-route,
Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 requested options:
42:ntp-server, 101
Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 next server: 10.111.222.6
Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 sent size:  1 option: 53
message-type  2
Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 sent size:  4 option: 54
server-identifier  10.111.222.6
Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 sent size:  4 option: 51
lease-time  2d
Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 sent size:  4 option: 58 T1
 1d
--
Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 sent size:  4 option:  1
netmask  255.255.248.0
Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 sent size:  4 option: 28
broadcast  10.111.223.255
Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 sent size: 16 option: 15
domain-name  xxx.com
Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 sent size:  8 option: 42
ntp-server  10.111.222.18, 10.111.222.22
Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 sent size:  4 option:  6
dns-server  10.111.222.6
Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 sent size:  4 option:  3
router  10.111.222.1
Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 available DHCP range:
10.111.216.10 -- 10.111.219.250
Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 client provides name: g5br2d2
Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 DHCPREQUEST(eth0)
10.111.218.130 f4:4d:30:60:73:40
Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 tags: eth0
Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 DHCPACK(eth0) 10.111.218.130
f4:4d:30:60:73:40 g5br2d2
Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 requested options:
1:netmask, 3:router, 12:hostname, 15:domain-name,
Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 requested options:
6:dns-server, 33:static-route, 121:classless-static-route,
Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 requested options:
42:ntp-server, 101
Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 next server: 10.111.222.6
Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 sent size:  1 option: 53
message-type  5
Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 sent size:  4 option: 54
server-identifier  10.111.222.6
Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 sent size:  4 option: 51
lease-time  2d
Jan 13 17:33:35 dnsmasq-dhcp[12864]: 792419227 sent size:  4 option: 58 T1
 1d


-- DEVICE 2
Jan 13 14:12:23 dnsmasq-dhcp[12619]: 457454147 sent size:  4 option: 54
server-identifier  10.111.222.6
Jan 13 14:12:23 dnsmasq-dhcp[12619]: 457454147 sent size:  4 option:  1
netmask  255.255.248.0
Jan 13 14:12:23 dnsmasq-dhcp[12619]: 457454147 sent size:  4 option: 28
broadcast  10.111.223.255
Jan 13 14:12:23 dnsmasq-dhcp[12619]: 457454147 sent size: 16 option: 15
domain-name  xxx.com
Jan 13 14:12:23 dnsmasq-dhcp[12619]: 457454147 sent size:  4 option:  6
dns-server  10.111.222.6
Jan 13 14:12:23 dnsmasq-dhcp[12619]: 457454147 sent size:  4 option:  3
router  10.111.222.1
Jan 13 14:12:31 dnsmasq-dhcp[12619]: 341215309 available DHCP range:
10.111.216.10 -- 10.111.219.250
Jan 13 14:12:31 dnsmasq-dhcp[12619]: 341215309 client provides name:
nuc_labtest_1
Jan 13 14:12:31 dnsmasq-dhcp[12619]: 341215309 DHCPDISCOVER(eth0)
f4:4d:30:60:90:8d
Jan 13 14:12:31 dnsmasq-dhcp[12619]: 341215309 tags: eth0
Jan 13 14:12:31 dnsmasq-dhcp[12619]: 341215309 DHCPOFFER(eth0)
10.111.218.130 f4:4d:30:60:90:8d
Jan 13 14:12:31 dnsmasq-dhcp[12619]: 341215309