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

Simon Kelley simon at thekelleys.org.uk
Sun Jan 15 14:54:18 GMT 2017


-----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 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
> requested options: 1:netmask, 3:router, 12:hostname,
> 15:domain-name, Jan 13 14:12:31 dnsmasq-dhcp[12619]: 341215309
> requested options: 6:dns-server, 33:static-route,
> 121:classless-static-route, Jan 13 14:12:31 dnsmasq-dhcp[12619]:
> 341215309 requested options: 42:ntp-server, 101 Jan 13 14:12:31
> dnsmasq-dhcp[12619]: 341215309 next server: 10.111.222.6 Jan 13
> 14:12:31 dnsmasq-dhcp[12619]: 341215309 sent size:  1 option: 53 
> message-type  2 Jan 13 14:12:31 dnsmasq-dhcp[12619]: 341215309 sent
> size:  4 option: 54 server-identifier  10.111.222.6 Jan 13 14:12:31
> dnsmasq-dhcp[12619]: 341215309 sent size:  4 option: 51 lease-time
> 2d Jan 13 14:12:31 dnsmasq-dhcp[12619]: 341215309 sent size:  4
> option: 58 T1 1d -- Jan 13 14:12:31 dnsmasq-dhcp[12619]: 341215309
> sent size:  4 option:  1 netmask  255.255.248.0 Jan 13 14:12:31
> dnsmasq-dhcp[12619]: 341215309 sent size:  4 option: 28 broadcast
> 10.111.223.255 Jan 13 14:12:31 dnsmasq-dhcp[12619]: 341215309 sent
> size: 16 option: 15 domain-name  xxx.com Jan 13 14:12:31
> dnsmasq-dhcp[12619]: 341215309 sent size:  8 option: 42 ntp-server
> 10.111.222.18, 10.111.222.22 Jan 13 14:12:31 dnsmasq-dhcp[12619]:
> 341215309 sent size:  4 option:  6 dns-server  10.111.222.6 Jan 13
> 14:12:31 dnsmasq-dhcp[12619]: 341215309 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
> DHCPREQUEST(eth0) 10.111.218.130 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 DHCPACK(eth0) 10.111.218.130 
> f4:4d:30:60:90:8d nuc_labtest_1 Jan 13 14:12:31
> dnsmasq-dhcp[12619]: 341215309 requested options: 1:netmask,
> 3:router, 12:hostname, 15:domain-name, Jan 13 14:12:31
> dnsmasq-dhcp[12619]: 341215309 requested options: 6:dns-server,
> 33:static-route, 121:classless-static-route, Jan 13 14:12:31
> dnsmasq-dhcp[12619]: 341215309 requested options: 42:ntp-server,
> 101 Jan 13 14:12:31 dnsmasq-dhcp[12619]: 341215309 next server:
> 10.111.222.6 Jan 13 14:12:31 dnsmasq-dhcp[12619]: 341215309 sent
> size:  1 option: 53 message-type  5 Jan 13 14:12:31
> dnsmasq-dhcp[12619]: 341215309 sent size:  4 option: 54 
> server-identifier  10.111.222.6 Jan 13 14:12:31
> dnsmasq-dhcp[12619]: 341215309 sent size:  4 option: 51 lease-time
> 2d Jan 13 14:12:31 dnsmasq-dhcp[12619]: 341215309 sent size:  4
> option: 58 T1 1d
> 
> 
> 
> _______________________________________________ Dnsmasq-discuss
> mailing list Dnsmasq-discuss at lists.thekelleys.org.uk 
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBCAAGBQJYe40aAAoJEBXN2mrhkTWiDrQQAIiLgf8lQs3aSWd7BLJrZ+4F
JlmqJ+IdN8ttD5PCtpfLI0ar+HUv4zg4lzXVKiCGSF69TkWMyrt4zNl6El2rPIs0
7F4OUJhl4leWuxj9UICPLigx+Rz77pbnKTcBOJWUJ02hHO04TnMKdeG+99lJeIgG
TwNYBs5WGzWKf50YzZlmS0KytZYBtpK93A5qDGxq0r3lj5h/vHw4bXtHi0ysfHE2
xAAqS7DSAjxYzl1IruKSDJ/m9CCyGtZEsNhLrPsoyEBlq1LZK1UmkyXAUM4MaTVC
mxA0QlQo8wEPuNODXfyikM3GlMBa00wS1cGxShyUQmjTxL3BIRc9xi2OIAMJJsZy
opKM7oIyP1ywk5HB+fb+aEnJnPV7iW0lhp9yOJiI8xwaaQIKCQLtnDQOLSzTZjHV
bq2mNgJHWqrIqICuWGj0eE5EofVKQ3joobAY3sx5dEfSNXMTz3n9KvKTznPCheWM
SEN024TwrkR8hjGzF8cQ4Z+gKIJ/v+AN5rFbQv5OFAejLRlXPzyo9kCN9KPpYk+i
mpsoXiGQc+O8YruXDFpGAd0rPf+8qrXzmkFQVtb4iURBV3eK98o3ryI/gM5rmaN1
rIHFaIvrXltf1o7bpC0SRdzwzqFNdzK++cR38PHnBU8CQY38djI+bDB8Jt/7Uz2e
cSZDW/IZXfb1iBtSNm2y
=A55+
-----END PGP SIGNATURE-----



More information about the Dnsmasq-discuss mailing list