Discussion:
[Dnsmasq-discuss] Duplicate IPs assigned to devices with similar MAC (same vendor)
Oleg Brodkin
2017-01-14 16:28:23 UTC
Permalink
# 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
Jim Alles
2017-01-14 22:21:17 UTC
Permalink
​May we have dnsmasq.conf?​


On Jan 14, 2017 11:56 AM, "Oleg Brodkin" <***@kumunetworks.com> 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 Brodkin
2017-01-14 23:36:38 UTC
Permalink
here is dnsmasq.conf

========================
resolv-file=/etc/resolv-dnsmasq.conf
read-ethers
domain-needed
expand-hosts
log-facility = /var/log/dnsmasq
log-dhcp
listen-address=127.0.0.1
listen-address=10.111.222.6
bind-interfaces
addn-hosts = /etc/hosts_dnsmasq.cobbler
srv-host =_kerberos._udp.abclan.com,vzhost1.abclan.com,88
srv-host =_kerberos._udp.abclan.com,vzhost2.abclan.com,88
srv-host =_kerberos._tcp.abclan.com,vzhost1.abclan.com,88
srv-host =_kerberos._tcp.abclan.com,vzhost2.abclan.com,88
srv-host =_kerberos-master._tcp.abclan.com,vzhost1.abclan.com,88
srv-host =_kerberos-master._tcp.abclan.com,vzhost2.abclan.com,88
srv-host =_kerberos-master._udp.abclan.com,vzhost1.abclan.com,88
srv-host =_kerberos-master._udp.abclan.com,vzhost2.abclan.com,88
srv-host =_kpasswd._tcp.abclan.com,vzhost1.abclan.com,464
srv-host =_kpasswd._tcp.abclan.com,vzhost2.abclan.com,464
srv-host =_kpasswd._udp.abclan.com,vzhost1.abclan.com,464
srv-host =_kpasswd._udp.abclan.com,vzhost2.abclan.com,464
srv-host =_ldap._tcp.abclan.com,vzhost1.abclan.com,389
srv-host =_ldap._tcp.abclan.com,vzhost2.abclan.com,389
srv-host =_ntp._udp.abclan.com,vzhost1.abclan.com,123
srv-host =_ntp._udp.abclan.com,vzhost2.abclan.com,123
txt-record=_kerberos.abclan.com,"ABCLAN.COM"
dhcp-host=10.111.222.128,f4:4d:30:60:90:8d,nuc_labtest_1.abclan.com,72h
ptr-record=128.222.111.10.in-addr.arpa,"nuc_labtest_1.abclan.com"
address=/nuc_labtest_1.abclan.com/10.111.222.128
dhcp-host=10.111.222.127,9C:5D:12:72:67:00,aerohive_ping-ping.abclan.com,72h
ptr-record=127.222.111.10.in-addr.arpa,"aerohive_ping-pong.abclan.com"
address=/aerohive_ping-pong.abclan.com/10.111.222.127
dhcp-host=10.111.222.126,9C:5D:12:6F:BC:00,aerohive_lab.abclan.com,72h
ptr-record=126.222.111.10.in-addr.arpa,"aerohive_lab.abclan.com"
address=/aerohive_lab.abclan.com/10.111.222.126
dhcp-host=10.111.222.125,00:0E:E3:03:B7:22,lif-200.abclan.com,72h
ptr-record=125.222.111.10.in-addr.arpa,"lif-200.abclan.com"
address=/lif-200.abclan.com/10.111.222.125
dhcp-host=10.111.216.108,5C:C5:D4:82:90:15,kyocera.abclan.com,72h
ptr-record=108.216.111.10.in-addr.arpa,"keyocera.abclan.com"
address=/kyocera.abclan.com/10.111.216.108
dhcp-host=10.111.222.123,00:06:67:25:AD:FE,trippliteups01.abclan.com,72h
ptr-record=123.222.111.10.in-addr.arpa,"trippliteups01.abclan.com"
address=/trippliteups01.abclan.com/10.111.222.123
dhcp-host=10.111.222.121,d0:73:7f:93:88:33,lab-att-01.abclan.com,72h
ptr-record=121.222.111.10.in-addr.arpa,"lab-att-01.abclan.com"
address=/lab-att-01.abclan.com/10.111.222.121
dhcp-host=10.111.222.122,d0:73:7f:93:88:0d,lab-att-02.abclan.com,72h
ptr-record=122.222.111.10.in-addr.arpa,"lab-att-02.abclan.com"
address=/lab-att-02.abclan.com/10.111.222.122
dhcp-host=10.111.222.21,00:1B:21:AD:C8:CC,metrics.abclan.com,72h
ptr-record=21.222.111.10.in-addr.arpa,"metrics.abclan.com"
address=/metrics.abclan.com/10.111.222.21
dhcp-host=10.111.222.120,01:A0:88:B4:38:E2:40,ricky-lab.abclan.com,72h
ptr-record=120.222.111.10.in-addr.arpa,"ricky-lab.abclan.com"
address=/ricky-lab.abclan.com/10.111.222.120
dhcp-host=10.111.222.119,18:CF:5E:B8:F6:0F,security-laptop.abclan.com,72h
ptr-record=119.222.111.10.in-addr.arpa,"security-laptop.abclan.com"
address=/security-laptop.abclan.com/10.111.222.119
dhcp-host=10.111.222.53,00:02:C9:52:12:26,retrospect-srv.abclan.com,24h
ptr-record=53.222.111.10.in-addr.arpa,"retrospect-srv.abclan.com"
address=/retrospect-srv.abclan.com/10.111.222.53
dhcp-host=10.111.222.14,08:60:6E:19:87:18,abc-app02.abclan.com,24h
ptr-record=14.222.111.10.in-addr.arpa,"abc-app02.abclan.com"
address=/abc-app02.abclan.com/10.111.222.14
dhcp-host=10.111.222.136,00:18:51:3E:CA:0D,vm107.abclan.com,24h
dhcp-host=10.111.222.137,00:18:51:9C:F2:F5,vm109.abclan.com,24h
dhcp-host=10.111.222.138,00:18:51:72:59:AC,vm110.abclan.com,24h
dhcp-host=10.111.222.25,00:18:51:4E:F0:25,vm201.abclan.com,24h
dhcp-host=10.111.222.26,00:18:51:C8:7D:BC,vm202.abclan.com,24h
dhcp-host=10.111.222.28,00:18:51:0E:97:27,vm203.abclan.com,24h
dhcp-host=10.111.222.29,00:18:51:F0:2F:DA,vm204.abclan.com,24h
dhcp-host=10.111.222.24,00:18:51:FA:8B:95,vm205.abclan.com,24h
dhcp-host=10.111.222.36,00:26:9E:CD:40:95,bmc-vzhost1.abclan.com,24h
dhcp-host=10.111.222.37,00:26:9E:CD:41:21,bmc-vzhost2.abclan.com,24h
dhcp-host=10.111.222.118,D0-73-7F-8C-3C-2C,Relay-Macro-Atten1.abclan.com,24h
ptr-record=118.222.111.10.in-addr.arpa,"Relay-Macro-Atten1.abclan.com"
address=/Relay-Macro-Atten1.abclan.com/10.111.222.118
dhcp-host=10.111.222.113,00:0D:AD:01:21:E2,iboot-0.abclan.com,24h
ptr-record=113.222.111.10.in-addr.arpa,"iboot-0.abclan.com"
address=/iboot-0.abclan.com/10.111.222.113
dhcp-host=10.111.222.114,00:0D:AD:01:20:40,iboot-1.abclan.com,24h
ptr-record=114.222.111.10.in-addr.arpa,"iboot-1.abclan.com"
address=/iboot-1.abclan.com/10.111.222.114
dhcp-host=10.111.222.115,00:0D:AD:01:28:0A,iboot-2.abclan.com,24h
ptr-record=115.222.111.10.in-addr.arpa,"iboot-2.abclan.com"
address=/iboot-2.abclan.com/10.111.222.115
dhcp-host=10.111.222.116,00:0D:AD:01:25:E2,iboot-3.abclan.com,24h
ptr-record=116.222.111.10.in-addr.arpa,"iboot-3.abclan.com"
address=/iboot-3.abclan.com/10.111.222.116
dhcp-host=10.111.222.117,00:0d:ad:01:28:93,iboot-4.abclan.com,24h
ptr-record=117.222.111.10.in-addr.arpa,"iboot-4.abclan.com"
address=/iboot-4.abclan.com/10.111.222.117
dhcp-host=10.111.222.111,00:E0:4B:40:90:94,exg-0.abclan.com,24h
dhcp-host=10.111.222.112,00:20:0C:6D:F9:8B,pxa-1.abclan.com,24h
dhcp-host=10.111.222.98,00:02:c9:4f:55:a8,build01.abclan.com,24h
ptr-record=98.222.111.10.in-addr.arpa,"build01.abclan.com"
address=/build01.abclan.com/10.111.222.98
dhcp-host=10.111.222.95,00:04:f2:49:79:27,polycom1.abclan.com,24h
ptr-record=95.222.111.10.in-addr.arpa,"polycom1.abclan.com"
address=/polycom1.abclan.com/10.111.222.95
dhcp-host=10.111.222.96,00:04:f2:4f:b5:ca,polycom2.abclan.com,24h
ptr-record=96.222.111.10.in-addr.arpa,"polycom2.abclan.com"
address=/polycom2.abclan.com/10.111.222.96
dhcp-host=10.111.222.97,00:04:f2:4e:ec:d5,polycom3.abclan.com,24h
ptr-record=97.222.111.10.in-addr.arpa,"polycom3.abclan.com"
address=/polycom3.abclan.com/10.111.222.97
dhcp-host=10.111.222.43,02:64:88:A5:02:BB,zc702-kal.abclan.com,24h
ptr-record=43.222.111.10.in-addr.arpa,"zc702-kal.abclan.com"
address=/zc702-kal.abclan.com/10.111.222.43
dhcp-host=10.111.222.45,C4:34:6B:9A:0C:C0,abc-sw04.abclan.com,24h
ptr-record=45.222.111.10.in-addr.arpa,"abc-sw04.abclan.com"
address=/abc-sw04.abclan.com/10.111.222.45
dhcp-host=10.111.222.46,00:18:51:88:85:19,git-lab.abclan.com,24h
ptr-record=46.222.111.10.in-addr.arpa,"git-lab.abclan.com"
address=/git-lab.abclan.com/10.111.222.46
dhcp-host=10.111.222.47,00:21:9B:A3:55:84,abc-app03.abclan.com,24h
ptr-record=47.222.111.10.in-addr.arpa,"abc-app03.abclan.com"
address=/abc-app03.abclan.com/10.111.222.47
dhcp-host=10.111.222.102,D0:17:C2:D1:BF:85,abc2.abclan.com,24h
ptr-record=102.222.111.10.in-addr.arpa,"abc2.abclan.com"
address=/abc2.abclan.com/10.111.222.102
dhcp-host=10.111.222.101,F8:32:E4:BD:AD:B5,abc1.abclan.com,24h
ptr-record=101.222.111.10.in-addr.arpa,"abc1.abclan.com"
address=/abc1.abclan.com/10.111.222.101
dhcp-host=10.111.222.13,00:0C:29:2F:A9:2C,abc-app01.abclan.com,24h
ptr-record=13.222.111.10.in-addr.arpa,"abc-app01.abclan.com"
address=/abc-app01.abclan.com/10.111.222.13
dhcp-host=10.111.222.5,00:0C:29:F0:33:47,abc-dc01.abclan.com,24h
ptr-record=5.222.111.10.in-addr.arpa,"abc-dc01.abclan.com"
address=/abc-dc01.abclan.com/10.111.222.5
dhcp-host=10.111.222.50,00:0C:29:41:4A:26,rhel.abclan.com,24h
ptr-record=50.222.111.10.in-addr.arpa,"rhel.abclan.com"
address=/rhel.abclan.com/10.111.222.50
dhcp-host=10.111.222.17,00:0C:29:16:81:F0,build-server.abclan.com,24h
ptr-record=17.222.111.10.in-addr.arpa,"build-server.abclan.com"
address=/build-server.abclan.com/10.111.222.17
dhcp-host=10.111.222.100,D4:AE:52:93:EB:D7,abc-server.abclan.com,24h
ptr-record=100.222.111.10.in-addr.arpa,"abc-server.abclan.com"
address=/abc-server.abclan.com/10.111.222.100
dhcp-host=10.111.222.15,00:25:90:8B:9C:CF,abc-storage.abclan.com,24h
ptr-record=15.222.111.10.in-addr.arpa,"abc-storage.abclan.com"
address=/abc-storage.abclan.com/10.111.222.15
dhcp-host=10.111.222.99,00:1A:A0:2D:E1:6F,abc-monitor.abclan.com,24h
ptr-record=99.222.111.10.in-addr.arpa,"abc-monitor.abclan.com"
address=/abc-monitor.abclan.com/10.111.222.99
dhcp-host=10.111.222.90,28:d2:44:18:31:77,vsergeev-arch.abclan.com,24h
ptr-record=90.222.111.10.in-addr.arpa,"vsergeev-arch.abclan.com"
address=/vsergeev-arch.abclan.com/10.111.222.90
dhcp-host=10.111.222.1,00:06:F6:FF:A0:90,abc-fw01.abclan.com,24h
ptr-record=1.222.111.10.in-addr.arpa,"abc-fw01.abclan.com"
address=/abc-fw01.abclan.com/10.111.222.1
dhcp-host=10.111.222.2,38:EA:A7:2C:12:80,abc-sw01.abclan.com,72h
ptr-record=2.222.111.10.in-addr.arpa,"abc-sw01.abclan.com"
address=/abc-sw01.abclan.com/10.111.222.2
dhcp-host=10.111.222.3,C8:CB:B8:8D:26:80,abc-sw02.abclan.com,72h
ptr-record=3.222.111.10.in-addr.arpa,"abc-sw02.abclan.com"
address=/abc-sw02.abclan.com/10.111.222.3
dhcp-host=10.111.222.20,9C:5D:12:18:DB:00,aerohive-ap.abclan.com,72h
ptr-record=20.222.111.10.in-addr.arpa,"aerohive-ap.abclan.com"
address=/aerohive-ap.abclan.com/10.111.222.20
dhcp-host=10.111.222.30,00:1B:A9:A5:5B:2E,bro-mfc7860.abclan.com,72h
ptr-record=30.222.111.10.in-addr.arpa,"printer-brother.abclan.com"
address=/printer-brother.abclan.com/10.111.222.30
dhcp-host=10.111.222.31,00:1B:A9:5E:17:A5,bro-mfcj6910.abclan.com,72h
ptr-record=31.222.111.10.in-addr.arpa,"printer-brotherw.abclan.com"
address=/printer-brotherw.abclan.com/10.111.222.31
dhcp-host=10.111.222.32,00:21:B7:F8:5D:6B,printer-lexmark.abclan.com,72h
ptr-record=32.222.111.10.in-addr.arpa,"printer-lexmark.abclan.com"
address=/printer-lexmark.abclan.com/10.111.222.32
dhcp-host=10.111.222.106,28:92:4A:AE:5D:AC,hpdesignjet.abclan.com,24h
dhcp-host=10.111.222.124,30:05:5C:4A:6B:D5,bro-dcp7065a.abclan.com,24h
dhcp-host=10.111.222.217,30:05:5c:4a:6B:DD,bro-dpc7065b.abclan.com,24h
dhcp-host=10.111.218.242,00:0E:E3:03:B7:22,lif200.abclan.com,24h
ptr-record=10.111.218.242.in-addr.arpa,"lif200.abclan.com"
address=/lif200.abclan.com/10.111.218.242
cname=bro-mfc7860.abclan.com,printer-brother.abclan.com
cname=bro-mfcj6910.abclan.com,printer-brotherw.abclan.com
cname=vpn.abclan.com,abc-app03.abclan.com
cname=gerrit.abclan.com,abc-server.abclan.com
cname=confluence.abclan.com,vm205.abclan.com
cname=gitlab.abclan.com,vm109.abclan.com
cname=jira.abclan.com,vm202.abclan.com
cname=zabbix.abclan.com,vm107.abclan.com
cname=software.abclan.com,abc-server.abclan.com
cname=wiki.abclan.com,abc-server.abclan.com
cname=wiki.abc.lan,vm205.abclan.com
cname=abc-server.abc.lan,abc-server.abclan.com
cname=packages.abclan.com,build01.abclan.com
cname=jenkins.abclan.com,build01.abclan.com
cname=boot.abclan.com,build01.abclan.com
cname=review.abclan.com,build01.abclan.com
cname=smb.abclan.com,abc-storage.abclan.com
dhcp-range=10.111.216.10,10.111.219.250,255.255.248.0,48h
dhcp-option=3,10.111.222.1
dhcp-option=6,10.111.222.6
dhcp-option=42,10.111.222.18,10.111.222.22
dhcp-lease-max=950
dhcp-authoritative
dhcp-option=156,"ftpservers=10.11.202.10,configServers=10.11.202.10,country=1,language=1,layer2tagging=1,vlanid=202"
Post by Jim Alles
​May we have dnsmasq.conf?​
# 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
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Simon Kelley
2017-01-15 14:54:18 UTC
Permalink
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 --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
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
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,
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
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
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
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,
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
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
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,
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
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
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,
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
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Oleg Brodkin
2017-01-15 22:09:47 UTC
Permalink
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
-----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.
Loading...