Discussion:
[Dnsmasq-discuss] IPv6 dhcp strangeness
Kevin Darbyshire-Bryant
2016-04-29 11:27:48 UTC
Permalink
Hi All,


I've just noticed some strange/different behaviour with regard to dhcpv6
address allocation. I've a couple of 'internal' machines that I'd like
to have fixed ip addresses. To that end, and it used to work I've got
lines similar to:
dhcp-host=E0:3F:49:A1:D4:AA,192.168.219.4,[::0:4],Kermit - In theory
kermit gets 192.168.219.4 and the ipv6 address 'constructed prefix::0:4'


Instead, these lines appear to be partially ignored with the host
getting the usual pseudo random address constructed from the ipv6
prefix/range. An nslookup pointing to dnsmasq does return the '0:4'
address, unfortunately that's not the address handed out by dhcp. I'm
also seeing ' abandoning lease to e0:3f:49:a1:d4:aa of 192.168.219.4'
type warnings which is odd. Also the entry in the leases database looks
odd to me: 1461971298 e0:3f:49:a1:d4:aa 192.168.219.4 Kermit
01:52:41:53:20:e0:3f:49:a1:d4:aa:00:00:09:00:00:00 - that almost looks
like an ipv6 type entry.


Confused!


Kevin
Kevin Darbyshire-Bryant
2016-04-30 10:32:08 UTC
Permalink
Further clues maybe: So initially when kermit comes up it grabs an IPv4
address and I see this entry in dnsmasq's lease database:
1462055024 e0:3f:49:a1:d4:aa 192.168.219.4 Kermit 01:e0:3f:49:a1:d4:aa

Which looks pretty normal to me. Then a little while later, presumably
after a dhcpv6 request it gets changed to
1462055060 e0:3f:49:a1:d4:aa 192.168.219.4 Kermit
01:52:41:53:20:e0:3f:49:a1:d4:aa:00:00:09:00:00:00

There are also syslog messages of "abandoning lease to e0:3f:49:a1:d4:aa
of 192.168.219.4" which I don't get at all.
Post by Kevin Darbyshire-Bryant
Hi All,
I've just noticed some strange/different behaviour with regard to
dhcpv6 address allocation. I've a couple of 'internal' machines that
I'd like to have fixed ip addresses. To that end, and it used to work
dhcp-host=E0:3F:49:A1:D4:AA,192.168.219.4,[::0:4],Kermit - In theory
kermit gets 192.168.219.4 and the ipv6 address 'constructed prefix::0:4'
Instead, these lines appear to be partially ignored with the host
getting the usual pseudo random address constructed from the ipv6
prefix/range. An nslookup pointing to dnsmasq does return the '0:4'
address, unfortunately that's not the address handed out by dhcp.
I'm also seeing ' abandoning lease to e0:3f:49:a1:d4:aa of
192.168.219.4' type warnings which is odd. Also the entry in the
leases database looks odd to me: 1461971298 e0:3f:49:a1:d4:aa
192.168.219.4 Kermit
01:52:41:53:20:e0:3f:49:a1:d4:aa:00:00:09:00:00:00 - that almost looks
like an ipv6 type entry.
Confused!
Kevin
_______________________________________________
Dnsmasq-discuss mailing list
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Simon Kelley
2016-05-02 16:24:47 UTC
Permalink
Post by Kevin Darbyshire-Bryant
Further clues maybe: So initially when kermit comes up it grabs an IPv4
1462055024 e0:3f:49:a1:d4:aa 192.168.219.4 Kermit 01:e0:3f:49:a1:d4:aa
Which looks pretty normal to me. Then a little while later, presumably
after a dhcpv6 request it gets changed to
1462055060 e0:3f:49:a1:d4:aa 192.168.219.4 Kermit
01:52:41:53:20:e0:3f:49:a1:d4:aa:00:00:09:00:00:00
There are also syslog messages of "abandoning lease to e0:3f:49:a1:d4:aa
of 192.168.219.4" which I don't get at all.
Are you dual-booting Kermit, or netbooting it, or doing anything else
which may cause it to run more than one DHCP client? From the
information given it looks like the host with MAC address
e0:3f:49:a1:d4:aa is presenting two different client-ids at different
times. Since client-id trumps MAC address as a unique host identifier,
that could explain what's going on. (the client-id is the last field in
the leases database).

Setting log-dhcp and posting the logs showing this sort of thing
happening would be useful.

Cheers,

Simon.
Post by Kevin Darbyshire-Bryant
Post by Kevin Darbyshire-Bryant
Hi All,
I've just noticed some strange/different behaviour with regard to
dhcpv6 address allocation. I've a couple of 'internal' machines that
I'd like to have fixed ip addresses. To that end, and it used to work
dhcp-host=E0:3F:49:A1:D4:AA,192.168.219.4,[::0:4],Kermit - In theory
kermit gets 192.168.219.4 and the ipv6 address 'constructed prefix::0:4'
Instead, these lines appear to be partially ignored with the host
getting the usual pseudo random address constructed from the ipv6
prefix/range. An nslookup pointing to dnsmasq does return the '0:4'
address, unfortunately that's not the address handed out by dhcp.
I'm also seeing ' abandoning lease to e0:3f:49:a1:d4:aa of
192.168.219.4' type warnings which is odd. Also the entry in the
leases database looks odd to me: 1461971298 e0:3f:49:a1:d4:aa
192.168.219.4 Kermit
01:52:41:53:20:e0:3f:49:a1:d4:aa:00:00:09:00:00:00 - that almost looks
like an ipv6 type entry.
Confused!
Kevin
_______________________________________________
Dnsmasq-discuss mailing list
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
_______________________________________________
Dnsmasq-discuss mailing list
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Kevin Darbyshire-Bryant
2016-05-03 17:55:23 UTC
Permalink
And then a little later:

Tue May 3 18:43:58 2016 daemon.info dnsmasq-dhcp[2862]: 3895499820
available DHCP range: 192.168.219.2 -- 192.168.219.253
Tue May 3 18:43:58 2016 daemon.info dnsmasq-dhcp[2862]: 3895499820
vendor class: MSFT 5.0
Tue May 3 18:43:58 2016 daemon.info dnsmasq-dhcp[2862]: 3895499820 user
class: RRAS.Microsoft
Tue May 3 18:43:58 2016 daemon.info dnsmasq-dhcp[2862]: 3895499820
client provides name: Kermit.darbyshire-bryant.me.uk
Tue May 3 18:43:58 2016 daemon.info dnsmasq-dhcp[2862]: 3895499820
DHCPREQUEST(br-lan) 192.168.219.4 e0:3f:49:a1:d4:aa
Tue May 3 18:43:58 2016 daemon.info dnsmasq-dhcp[2862]: abandoning
lease to e0:3f:49:a1:d4:aa of 192.168.219.4
Tue May 3 18:43:58 2016 daemon.info dnsmasq-dhcp[2862]: 3895499820
tags: lan, known, br-lan
Tue May 3 18:43:58 2016 daemon.info dnsmasq-dhcp[2862]: 3895499820
DHCPACK(br-lan) 192.168.219.4 e0:3f:49:a1:d4:aa kermit
Tue May 3 18:43:58 2016 daemon.info dnsmasq-dhcp[2862]: 3895499820
requested options: 1:netmask, 15:domain-name, 3:router, 6:dns-server,
Tue May 3 18:43:58 2016 daemon.info dnsmasq-dhcp[2862]: 3895499820
requested options: 44:netbios-ns, 46:netbios-nodetype, 47:netbios-scope,
Tue May 3 18:43:58 2016 daemon.info dnsmasq-dhcp[2862]: 3895499820
requested options: 31:router-discovery, 33:static-route,
121:classless-static-route,
Tue May 3 18:43:58 2016 daemon.info dnsmasq-dhcp[2862]: 3895499820
requested options: 249, 43:vendor-encap
Tue May 3 18:43:58 2016 daemon.info dnsmasq-dhcp[2862]: 3895499820 next
server: 192.168.219.1
Tue May 3 18:43:58 2016 daemon.info dnsmasq-dhcp[2862]: 3895499820
broadcast response
Tue May 3 18:43:58 2016 daemon.info dnsmasq-dhcp[2862]: 3895499820 sent
size: 1 option: 53 message-type 5
Tue May 3 18:43:58 2016 daemon.info dnsmasq-dhcp[2862]: 3895499820 sent
size: 4 option: 54 server-identifier 192.168.219.1
Tue May 3 18:43:58 2016 daemon.info dnsmasq-dhcp[2862]: 3895499820 sent
size: 4 option: 51 lease-time 12h
Tue May 3 18:43:58 2016 daemon.info dnsmasq-dhcp[2862]: 3895499820 sent
size: 4 option: 58 T1 6h
Tue May 3 18:43:58 2016 daemon.info dnsmasq-dhcp[2862]: 3895499820 sent
size: 4 option: 59 T2 10h30m
Tue May 3 18:43:58 2016 daemon.info dnsmasq-dhcp[2862]: 3895499820 sent
size: 4 option: 1 netmask 255.255.255.0
Tue May 3 18:43:58 2016 daemon.info dnsmasq-dhcp[2862]: 3895499820 sent
size: 4 option: 28 broadcast 192.168.219.255
Tue May 3 18:43:58 2016 daemon.info dnsmasq-dhcp[2862]: 3895499820 sent
size: 4 option: 3 router 192.168.219.1
Tue May 3 18:43:58 2016 daemon.info dnsmasq-dhcp[2862]: 3895499820 sent
size: 4 option: 6 dns-server 192.168.219.1
Tue May 3 18:43:58 2016 daemon.info dnsmasq-dhcp[2862]: 3895499820 sent
size: 23 option: 15 domain-name darbyshire-bryant.me.uk
Tue May 3 18:43:58 2016 daemon.info dnsmasq-dhcp[2862]: 3895499820 sent
size: 33 option: 81 FQDN 03:ff:ff:6b:65:72:6d:69:74:2e:64:61:72:62...
Tue May 3 18:43:58 2016 daemon.info dnsmasq-dhcp[2862]: 3895499820 sent
size: 4 option: 44 netbios-ns 192.168.219.1

What the hell is this box doing?! :-/


Kevin
Post by Simon Kelley
Post by Kevin Darbyshire-Bryant
Further clues maybe: So initially when kermit comes up it grabs an IPv4
1462055024 e0:3f:49:a1:d4:aa 192.168.219.4 Kermit 01:e0:3f:49:a1:d4:aa
Which looks pretty normal to me. Then a little while later, presumably
after a dhcpv6 request it gets changed to
1462055060 e0:3f:49:a1:d4:aa 192.168.219.4 Kermit
01:52:41:53:20:e0:3f:49:a1:d4:aa:00:00:09:00:00:00
There are also syslog messages of "abandoning lease to e0:3f:49:a1:d4:aa
of 192.168.219.4" which I don't get at all.
Are you dual-booting Kermit, or netbooting it, or doing anything else
which may cause it to run more than one DHCP client? From the
information given it looks like the host with MAC address
e0:3f:49:a1:d4:aa is presenting two different client-ids at different
times. Since client-id trumps MAC address as a unique host identifier,
that could explain what's going on. (the client-id is the last field in
the leases database).
Setting log-dhcp and posting the logs showing this sort of thing
happening would be useful.
Cheers,
Simon.
Post by Kevin Darbyshire-Bryant
Post by Kevin Darbyshire-Bryant
Hi All,
I've just noticed some strange/different behaviour with regard to
dhcpv6 address allocation. I've a couple of 'internal' machines that
I'd like to have fixed ip addresses. To that end, and it used to work
dhcp-host=E0:3F:49:A1:D4:AA,192.168.219.4,[::0:4],Kermit - In theory
kermit gets 192.168.219.4 and the ipv6 address 'constructed prefix::0:4'
Instead, these lines appear to be partially ignored with the host
getting the usual pseudo random address constructed from the ipv6
prefix/range. An nslookup pointing to dnsmasq does return the '0:4'
address, unfortunately that's not the address handed out by dhcp.
I'm also seeing ' abandoning lease to e0:3f:49:a1:d4:aa of
192.168.219.4' type warnings which is odd. Also the entry in the
leases database looks odd to me: 1461971298 e0:3f:49:a1:d4:aa
192.168.219.4 Kermit
01:52:41:53:20:e0:3f:49:a1:d4:aa:00:00:09:00:00:00 - that almost looks
like an ipv6 type entry.
Confused!
Kevin
_______________________________________________
Dnsmasq-discuss mailing list
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
_______________________________________________
Dnsmasq-discuss mailing list
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
_______________________________________________
Dnsmasq-discuss mailing list
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
--
Thanks,

***@Darbyshire-Bryant.me.uk
M: +44 7947 355344 H: +44 1256 478597
Kevin Darbyshire-Bryant
2016-05-04 20:32:19 UTC
Permalink
The mystery is at least partially solved. It looks like I'd somehow
enabled Remote Routing and Access services within Windows Home Server
for VPN access. It looks like it tries to grab a few addresses for
potential VPN clients from a DHCP server, that's why I was seeing
'RRAS.Micrsoft' as a user class for the extra requests. With RRAS
disabled no extra DHCPv4 requests are received which at least removed
some of the lease duplication/abandonment.

It also appears to have solved the DHCPv6 behaviour too, with the server
now getting the DHCPv6 address assigned by the dhcp-hosts configuration
line. Why that should be is also a mystery to me. Oh well, posted here
just in case someone else falls into a similar trap :-)


Kevin
Kevin Darbyshire-Bryant
2016-05-03 17:48:31 UTC
Permalink
Hi Simon,

Thanks for getting back to me. Kermit is a Windows Home Server box and
is definitely not net or dual booted. Here's the relevant 'log dhcp'
extract from a clean boot of it.

dhcp-host=id:00:01:00:01:1b:75:4c:36:e0:3f:49:a1:d4:aa,[::4],Kermit
dhcp-host=E0:3F:49:A1:D4:AA,192.168.219.4,kermit

Before booting:

nslookup kermit
nslookup: can't resolve '(null)': Name does not resolve

Name: kermit
Address 1: 2001:470:183f:da2b::4 kermit.darbyshire-bryant.me.uk
Address 2: 192.168.219.4 kermit.darbyshire-bryant.me.uk

No entries in dhcp.leases.

Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837
available DHCP range: 192.168.219.2 -- 192.168.219.253
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837
vendor class: MSFT 5.0
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837
client provides name: Kermit
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837
DHCPREQUEST(br-lan) 192.168.219.4 e0:3f:49:a1:d4:aa
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837
tags: lan, known, br-lan
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837
DHCPACK(br-lan) 192.168.219.4 e0:3f:49:a1:d4:aa kermit
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837
requested options: 1:netmask, 15:domain-name, 3:router, 6:dns-server,
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837
requested options: 44:netbios-ns, 46:netbios-nodetype, 47:netbios-scope,
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837
requested options: 31:router-discovery, 33:static-route,
121:classless-static-route,
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837
requested options: 249, 43:vendor-encap
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837 next
server: 192.168.219.1
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837
broadcast response
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837 sent
size: 1 option: 53 message-type 5
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837 sent
size: 4 option: 54 server-identifier 192.168.219.1
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837 sent
size: 4 option: 51 lease-time 12h
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837 sent
size: 4 option: 58 T1 6h
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837 sent
size: 4 option: 59 T2 10h30m
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837 sent
size: 4 option: 1 netmask 255.255.255.0
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837 sent
size: 4 option: 28 broadcast 192.168.219.255
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837 sent
size: 4 option: 3 router 192.168.219.1
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837 sent
size: 4 option: 6 dns-server 192.168.219.1
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837 sent
size: 23 option: 15 domain-name darbyshire-bryant.me.uk
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837 sent
size: 33 option: 81 FQDN 03:ff:ff:6b:65:72:6d:69:74:2e:64:61:72:62...
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837 sent
size: 4 option: 44 netbios-ns 192.168.219.1
Tue May 3 18:40:58 2016 daemon.info dnsmasq-dhcp[2862]: 9972055
available DHCP range: 2001:470:183f:da2b::2 -- 2001:470:183f:da2b::ffff:ffff
Tue May 3 18:40:58 2016 daemon.info dnsmasq-dhcp[2862]: 9972055 vendor
class: 311
Tue May 3 18:40:58 2016 daemon.info dnsmasq-dhcp[2862]: 9972055
DHCPCONFIRM(br-lan) 00:01:00:01:1b:75:4c:36:e0:3f:49:a1:d4:aa
Tue May 3 18:40:58 2016 daemon.info dnsmasq-dhcp[2862]: 9972055
DHCPREPLY(br-lan) 2001:470:183f:da2b::9f93:7b6a
00:01:00:01:1b:75:4c:36:e0:3f:49:a1:d4:aa Kermit
Tue May 3 18:40:58 2016 daemon.info dnsmasq-dhcp[2862]: 9972055 tags:
known, dhcpv6, br-lan
Tue May 3 18:40:58 2016 daemon.info dnsmasq-dhcp[2862]: 9972055 sent
size: 14 option: 1 client-id 00:01:00:01:1b:75:4c:36:e0:3f:49:a1:d4:aa
Tue May 3 18:40:58 2016 daemon.info dnsmasq-dhcp[2862]: 9972055 sent
size: 14 option: 2 server-id 00:01:00:01:1e:b7:72:d8:14:cc:20:be:89:33
Tue May 3 18:40:58 2016 daemon.info dnsmasq-dhcp[2862]: 9972055 sent
size: 29 option: 13 status 0 all addresses still on link

Only Entry in dhcp.leases related to kermit

1462340457 e0:3f:49:a1:d4:aa 192.168.219.4 kermit 01:e0:3f:49:a1:d4:aa

Kermit thinks it has 2001:470:183f:da2b::9f93:7b6a as per the dhcp
reply, which is fair enough but I don't understand why the UID was
ignored. Also, nslookup replies from dnsmasq still only return the
configured addresses for kermit and no sign of the dhcpv6 allocated one.

Ideas?


Kevin
Post by Simon Kelley
Post by Kevin Darbyshire-Bryant
Further clues maybe: So initially when kermit comes up it grabs an IPv4
1462055024 e0:3f:49:a1:d4:aa 192.168.219.4 Kermit 01:e0:3f:49:a1:d4:aa
Which looks pretty normal to me. Then a little while later, presumably
after a dhcpv6 request it gets changed to
1462055060 e0:3f:49:a1:d4:aa 192.168.219.4 Kermit
01:52:41:53:20:e0:3f:49:a1:d4:aa:00:00:09:00:00:00
There are also syslog messages of "abandoning lease to e0:3f:49:a1:d4:aa
of 192.168.219.4" which I don't get at all.
Are you dual-booting Kermit, or netbooting it, or doing anything else
which may cause it to run more than one DHCP client? From the
information given it looks like the host with MAC address
e0:3f:49:a1:d4:aa is presenting two different client-ids at different
times. Since client-id trumps MAC address as a unique host identifier,
that could explain what's going on. (the client-id is the last field in
the leases database).
Setting log-dhcp and posting the logs showing this sort of thing
happening would be useful.
Cheers,
Simon.
Post by Kevin Darbyshire-Bryant
Post by Kevin Darbyshire-Bryant
Hi All,
I've just noticed some strange/different behaviour with regard to
dhcpv6 address allocation. I've a couple of 'internal' machines that
I'd like to have fixed ip addresses. To that end, and it used to work
dhcp-host=E0:3F:49:A1:D4:AA,192.168.219.4,[::0:4],Kermit - In theory
kermit gets 192.168.219.4 and the ipv6 address 'constructed prefix::0:4'
Instead, these lines appear to be partially ignored with the host
getting the usual pseudo random address constructed from the ipv6
prefix/range. An nslookup pointing to dnsmasq does return the '0:4'
address, unfortunately that's not the address handed out by dhcp.
I'm also seeing ' abandoning lease to e0:3f:49:a1:d4:aa of
192.168.219.4' type warnings which is odd. Also the entry in the
leases database looks odd to me: 1461971298 e0:3f:49:a1:d4:aa
192.168.219.4 Kermit
01:52:41:53:20:e0:3f:49:a1:d4:aa:00:00:09:00:00:00 - that almost looks
like an ipv6 type entry.
Confused!
Kevin
_______________________________________________
Dnsmasq-discuss mailing list
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
_______________________________________________
Dnsmasq-discuss mailing list
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
_______________________________________________
Dnsmasq-discuss mailing list
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
--
Thanks,

***@Darbyshire-Bryant.me.uk
M: +44 7947 355344 H: +44 1256 478597
Simon Kelley
2016-05-04 20:34:14 UTC
Permalink
Post by Kevin Darbyshire-Bryant
Hi Simon,
Thanks for getting back to me. Kermit is a Windows Home Server box and
is definitely not net or dual booted. Here's the relevant 'log dhcp'
extract from a clean boot of it.
dhcp-host=id:00:01:00:01:1b:75:4c:36:e0:3f:49:a1:d4:aa,[::4],Kermit
dhcp-host=E0:3F:49:A1:D4:AA,192.168.219.4,kermit
nslookup kermit
nslookup: can't resolve '(null)': Name does not resolve
Name: kermit
Address 1: 2001:470:183f:da2b::4 kermit.darbyshire-bryant.me.uk
Address 2: 192.168.219.4 kermit.darbyshire-bryant.me.uk
No entries in dhcp.leases.
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837
available DHCP range: 192.168.219.2 -- 192.168.219.253
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837
vendor class: MSFT 5.0
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837
client provides name: Kermit
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837
DHCPREQUEST(br-lan) 192.168.219.4 e0:3f:49:a1:d4:aa
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837
tags: lan, known, br-lan
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837
DHCPACK(br-lan) 192.168.219.4 e0:3f:49:a1:d4:aa kermit
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837
requested options: 1:netmask, 15:domain-name, 3:router, 6:dns-server,
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837
requested options: 44:netbios-ns, 46:netbios-nodetype, 47:netbios-scope,
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837
requested options: 31:router-discovery, 33:static-route,
121:classless-static-route,
Tue May 3 18:40:57 2016 daemo>
Dnsmasq-discuss mailing list
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Post by Kevin Darbyshire-Bryant
_______________________________________________
Dnsmasq-discuss mailing list
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
_______________________________________________
n.info dnsmasq-dhcp[2862]: 1035611837
Post by Kevin Darbyshire-Bryant
requested options: 249, 43:vendor-encap
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837 next
server: 192.168.219.1
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837
broadcast response
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837 sent
size: 1 option: 53 message-type 5
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837 sent
size: 4 option: 54 server-identifier 192.168.219.1
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837 sent
size: 4 option: 51 lease-time 12h
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837 sent
size: 4 option: 58 T1 6h
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837 sent
size: 4 option: 59 T2 10h30m
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837 sent
size: 4 option: 1 netmask 255.255.255.0
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837 sent
size: 4 option: 28 broadcast 192.168.219.255
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837 sent
size: 4 option: 3 router 192.168.219.1
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837 sent
size: 4 option: 6 dns-server 192.168.219.1
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837 sent
size: 23 option: 15 domain-name darbyshire-bryant.me.uk
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837 sent
size: 33 option: 81 FQDN 03:ff:ff:6b:65:72:6d:69:74:2e:64:61:72:62...
Tue May 3 18:40:57 2016 daemon.info dnsmasq-dhcp[2862]: 1035611837 sent
size: 4 option: 44 netbios-ns 192.168.219.1
Tue May 3 18:40:58 2016 daemon.info dnsmasq-dhcp[2862]: 9972055
available DHCP range: 2001:470:183f:da2b::2 -- 2001:470:183f:da2b::ffff:ffff
Tue May 3 18:40:58 2016 daemon.info dnsmasq-dhcp[2862]: 9972055 vendor
class: 311
Tue May 3 18:40:58 2016 daemon.info dnsmasq-dhcp[2862]: 9972055
DHCPCONFIRM(br-lan) 00:01:00:01:1b:75:4c:36:e0:3f:49:a1:d4:aa
Tue May 3 18:40:58 2016 daemon.info dnsmasq-dhcp[2862]: 9972055
DHCPREPLY(br-lan) 2001:470:183f:da2b::9f93:7b6a
00:01:00:01:1b:75:4c:36:e0:3f:49:a1:d4:aa Kermit
known, dhcpv6, br-lan
Tue May 3 18:40:58 2016 daemon.info dnsmasq-dhcp[2862]: 9972055 sent
size: 14 option: 1 client-id 00:01:00:01:1b:75:4c:36:e0:3f:49:a1:d4:aa
Tue May 3 18:40:58 2016 daemon.info dnsmasq-dhcp[2862]: 9972055 sent
size: 14 option: 2 server-id 00:01:00:01:1e:b7:72:d8:14:cc:20:be:89:33
Tue May 3 18:40:58 2016 daemon.info dnsmasq-dhcp[2862]: 9972055 sent
size: 29 option: 13 status 0 all addresses still on link
Only Entry in dhcp.leases related to kermit
1462340457 e0:3f:49:a1:d4:aa 192.168.219.4 kermit 01:e0:3f:49:a1:d4:aa
Kermit thinks it has 2001:470:183f:da2b::9f93:7b6a as per the dhcp
reply, which is fair enough but I don't understand why the UID was
ignored. Also, nslookup replies from dnsmasq still only return the
configured addresses for kermit and no sign of the dhcpv6 allocated one.
Ideas?
Yes, combine the dhcp-host lines


dhcp-host=id:00:01:00:01:1b:75:4c:36:e0:3f:49:a1:d4:aa,[::4],E0:3F:49:A1:D4:AA,192.168.219.4,Kermit

(should be one line, stupid mail client wrapped it.)

I'll try and work out how having two possibly matching dhcp-host lines
has confused dnsmasq, but in the meantime, that stands a good chance of
fixing things, and it how it was designed to be done.


(Since the DHCPv6 code knows about MAC addresses, you could miss out the
id: section as well, if that makes things easier.

Cheers,

Simon.

Loading...