[Dnsmasq-discuss] DHCP not getting reply - Windows Vista Home client using broadcast flag

Duncan Turnbull Duncan.Turnbull at citylink.co.nz
Thu Feb 21 09:30:48 GMT 2008


Hi there

I have a client using Vista Home Basic that can't get a DHCP lease which
appears to be related to the broadcast flag in the request. Dnsmasq just
seems to ignore the request.

There is apparently a Microsoft patch to the registry to stop it sending
the broadcast flag but we get a lot of different clients (we are a WISP)
and I am really keen on a general fix, as explaining registry changes to
end customers is a challenge.

We have just upgraded to 2.41 - as there is the -dhcp-broadcast option,
but perhaps I am misinterpreting it, it doesn't seem to be the
difference.

This is running on Debian

This is the dnsmasq config

zc-pld:~# cat /etc/dnsmasq.conf
domain-needed
bogus-priv
no-poll
server=203.97.231.226
interface=cafenet

dhcp-range=198.48.3.130,198.48.3.190,15m
dhcp-option=42,0.0.0.0
dhcp-option=3,0.0.0.0
dhcp-option=119,cafenet.co.nz
dhcp-leasefile=/var/tmp/dnsmasq.leases
dhcp-authoritative
dhcp-script=/usr/local/sbin/chg-loc.sh
dhcp-broadcast=#bootp


I see others with the broadcast flag getting answers but something that 
I can't detect is stopping the replies to this client.

The packet dump of theirs and some others below

Their mac is 00:17:c4:10:9a:3c

All and any advice appreciated.

Thanks very much

Cheers duncan


17:36:47.513178 IP (tos 0x0, ttl 128, id 441, offset 0, flags [none], 
length: 328) 169.254.194.239.68 > 255.255.255.255.67: BOOTP/DHCP, 
Request from 00:17:c4:10:9a:3c, length: 300, xid:0xe014ef8f, flags: 
[Broadcast] (0x8000)
           Client Ethernet Address: 00:17:c4:10:9a:3c [|bootp]
17:36:50.527538 IP (tos 0x0, ttl 128, id 442, offset 0, flags [none], 
length: 328) 169.254.194.239.68 > 255.255.255.255.67: BOOTP/DHCP, 
Request from 00:17:c4:10:9a:3c, length: 300, xid:0xe014ef8f, secs:768, 
flags: [Broadcast] (0x8000)
           Client Ethernet Address: 00:17:c4:10:9a:3c [|bootp]
17:36:58.536189 IP (tos 0x0, ttl 128, id 443, offset 0, flags [none], 
length: 328) 169.254.194.239.68 > 255.255.255.255.67: BOOTP/DHCP, 
Request from 00:17:c4:10:9a:3c, length: 300, xid:0xe014ef8f, secs:2816, 
flags: [Broadcast] (0x8000)
           Client Ethernet Address: 00:17:c4:10:9a:3c [|bootp]
17:36:47.513178 IP (tos 0x0, ttl 128, id 441, offset 0, flags [none], 
length: 328) 169.254.194.239.68 > 255.255.255.255.67: BOOTP/DHCP, 
Request from 00:17:c4:10:9a:3c, length: 300, xid:0xe014ef8f, flags: 
[Broadcast] (0x8000)
           Client Ethernet Address: 00:17:c4:10:9a:3c [|bootp]


17:36:50.527538 IP (tos 0x0, ttl 128, id 442, offset 0, flags [none], 
length: 328) 169.254.194.239.68 > 255.255.255.255.67: BOOTP/DHCP, 
Request from 00:17:c4:10:9a:3c, length: 300, xid:0xe014ef8f, secs:768, 
flags: [Broadcast] (0x8000)
           Client Ethernet Address: 00:17:c4:10:9a:3c [|bootp]


17:36:58.536189 IP (tos 0x0, ttl 128, id 443, offset 0, flags [none], 
length: 328) 169.254.194.239.68 > 255.255.255.255.67: BOOTP/DHCP, 
Request from 00:17:c4:10:9a:3c, length: 300, xid:0xe014ef8f, secs:2816, 
flags: [Broadcast] (0x8000)
           Client Ethernet Address: 00:17:c4:10:9a:3c [|bootp]


17:37:13.526449 IP (tos 0x0, ttl 128, id 444, offset 0, flags [none], 
length: 328) 169.254.194.239.68 > 255.255.255.255.67: BOOTP/DHCP, 
Request from 00:17:c4:10:9a:3c, length: 300, xid:0xe014ef8f, secs:6656, 
flags: [Broadcast] (0x8000)
           Client Ethernet Address: 00:17:c4:10:9a:3c [|bootp]

17:37:56.645844 IP (tos 0x0, ttl 128, id 14270, offset 0, flags [none], 
length: 330) 198.48.3.186.68 > 198.48.3.129.67: BOOTP/DHCP, Request from

00:11:f5:1c:18:6d, length: 302, xid:0x8d80c3f5, flags: [none] (0x0000)
           Client IP: 198.48.3.186
           Client Ethernet Address: 00:11:f5:1c:18:6d [|bootp]

17:37:56.646988 IP (tos 0x0, ttl  64, id 27064, offset 0, flags [none], 
length: 334) 198.48.3.129.67 > 198.48.3.186.68: BOOTP/DHCP, Reply, 
length: 306, xid:0x8d80c3f5, flags: [none] (0x0000)
           Client IP: 198.48.3.186
           Your IP: 198.48.3.186
           Server IP: 198.48.3.129
           Client Ethernet Address: 00:11:f5:1c:18:6d [|bootp]

17:46:42.336407 IP (tos 0x0, ttl 128, id 17265, offset 0, flags [none], 
length: 332) 198.48.3.131.68 > 198.48.3.129.67: BOOTP/DHCP, Request from

00:18:de:d5:a3:b2, length: 304, xid:0xfa2755aa, flags: [none] (0x0000)
           Client IP: 198.48.3.131
           Client Ethernet Address: 00:18:de:d5:a3:b2 [|bootp]

17:46:42.337611 IP (tos 0x0, ttl  64, id 4277, offset 0, flags [none], 
length: 335) 198.48.3.129.67 > 198.48.3.131.68: BOOTP/DHCP, Reply, 
length: 307, xid:0xfa2755aa, flags: [Broadcast] (0x8000)
           Client IP: 198.48.3.131
           Your IP: 198.48.3.131
           Server IP: 198.48.3.129
           Client Ethernet Address: 00:18:de:d5:a3:b2 [|bootp]


17:46:46.054080 IP (tos 0x0, ttl 128, id 195, offset 0, flags [none], 
length: 340) 198.48.3.140.68 > 198.48.3.129.67: BOOTP/DHCP, Request from

00:80:c8:04:12:4d, length: 312, xid:0xbd5a96b4, flags: [none] (0x0000)
           Client IP: 198.48.3.140
           Client Ethernet Address: 00:80:c8:04:12:4d [|bootp]


17:46:46.055224 IP (tos 0x0, ttl  64, id 454, offset 0, flags [none], 
length: 339) 198.48.3.129.67 > 198.48.3.140.68: BOOTP/DHCP, Reply, 
length: 311, xid:0xbd5a96b4, flags: [Broadcast] (0x8000)
           Client IP: 198.48.3.140
           Your IP: 198.48.3.140
           Server IP: 198.48.3.129
           Client Ethernet Address: 00:80:c8:04:12:4d [|bootp]


17:47:34.236596 IP (tos 0x0, ttl 128, id 539, offset 0, flags [none], 
length: 328) 169.254.194.239.68 > 255.255.255.255.67: BOOTP/DHCP, 
Request from 00:17:c4:10:9a:3c, length: 300, xid:0x4968129b, flags: 
[Broadcast] (0x8000)
           Client Ethernet Address: 00:17:c4:10:9a:3c [|bootp]

17:47:37.338650 IP (tos 0x0, ttl 128, id 556, offset 0, flags [none], 
length: 328) 169.254.194.239.68 > 255.255.255.255.67: BOOTP/DHCP, 
Request from 00:17:c4:10:9a:3c, length: 300, xid:0x4968129b, secs:1024, 
flags: [Broadcast] (0x8000)
           Client Ethernet Address: 00:17:c4:10:9a:3c [|bootp]

17:47:44.350879 IP (tos 0x0, ttl 128, id 613, offset 0, flags [none], 
length: 328) 169.254.194.239.68 > 255.255.255.255.67: BOOTP/DHCP, 
Request from 00:17:c4:10:9a:3c, length: 300, xid:0x4968129b, secs:2816, 
flags: [Broadcast] (0x8000)
           Client Ethernet Address: 00:17:c4:10:9a:3c [|bootp]





More information about the Dnsmasq-discuss mailing list