On 23/02/13 17:56, Teemu Savolainen wrote:
And this works with hosts that use IPv6 privacy addresses and not have
IIDs derived from MAC?

If they have only privacy addresses, it doesn't work. If they have both a SLAAC address and a privacy address, and use the privacy address when initiating connections (for privacy), but accept connections to the SLAAC address, then it still works.

Simon.


------------------------------------------------------------------------
From: Simon Kelley <mailto:si...@thekelleys.org.uk>
Sent: ‎22.‎2.‎2013 17:54
To: Ted Lemon <mailto:mel...@fugue.com>
Cc: homenet@ietf.org <mailto:homenet@ietf.org>; David Lamparter
<mailto:equi...@diac24.net>
Subject: Re: [homenet] NPTv6-only home networks

On 22/02/13 14:50, Ted Lemon wrote:
 > On Feb 22, 2013, at 8:24 AM, Simon Kelley <si...@thekelleys.org.uk>
wrote:
 >> It works as well for clients which do DHCPv4 and SLAAC. IPv6-only hosts
 >> would have to do stateful DHCPv6, but the DHCPv4 and SLAAC model covers
 >> an awful lot of currently-deployed clients.
 >
 > So dnsmasq is noticing that the IPv4 and IPv6 hosts are the same host
using the MAC address or something, and then coordinating the DNS
registration?
 >
 >
As the DHCPv4 state machine moves to "lease complete" it spits a (MAC
address, hostname, broadcast domain) tuple over to the IPv6 side.
The broadcast domain plus configuration yields a list of prefixes, and
the MAC address gets turned into a SLAAC host-identifier. The two make a
set of putative addresses. The state machine then sends an ICMP6 echo
request to each putative address and if it responds then that address is
added as an AAAA record with the hostname.

There are some implementation details involving timeouts and retries and
sending speculative router advertisements to ensure that a
new-on-the-network host is ready to reply to the pings.

The practice is that it always works, even a smartphone moving slowly
into a dodgy Wifi network. If the client can get a DHPCv4 lease, the
IPv6 SLAAC address gets a name too.

Simon.

_______________________________________________
homenet mailing list
homenet@ietf.org
https://www.ietf.org/mailman/listinfo/homenet


_______________________________________________
homenet mailing list
homenet@ietf.org
https://www.ietf.org/mailman/listinfo/homenet


_______________________________________________
homenet mailing list
homenet@ietf.org
https://www.ietf.org/mailman/listinfo/homenet

Reply via email to