From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id 713F3208AD4 for ; Tue, 5 Feb 2013 08:30:55 -0800 (PST) Received: by mail-wi0-f173.google.com with SMTP id hq4so4426543wib.6 for ; Tue, 05 Feb 2013 08:30:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :content-type; bh=zTX1pQ3EpuQUesSUcP5wqi9upp/k0pA0zoNx1w3aWHk=; b=Ag7kGpAojygSM/7/BUFjg2Wfd3zkX/uJMJSsP6c+2wvArhhX/gKwwBc5mpcNj+ttpF GNi3l7QPjI9omzUG8MWQgj7oqw+Oz11unKhCNWvAz7N7zxOdGq/iaqGyi8aVjMbt93mM /eWo18y++/SeBWzfXFmBTcI+NejDkwx13UHTyrwQYdGI8wXPEqMwVzpCSj/RA4/3a7tx Rg5UDCQuMXfhl2EzQBQiXDUbhouXgkcY2GSaC4+BS4o8gkfzwoDFscCkNtDi4f/Of4a1 UIdXCw3YX5USU945moFx/ONdOPiEGM05CL9DU/lQtdc2h6dfkzPEXyH59MlC8uTuYj/d M6oQ== X-Received: by 10.180.83.227 with SMTP id t3mr18515742wiy.2.1360081853105; Tue, 05 Feb 2013 08:30:53 -0800 (PST) Received: from ?IPv6:2001:470:6aac:3::783c:88e8? ([2001:470:6aac:3::783c:88e8]) by mx.google.com with ESMTPS id be1sm28857983wib.10.2013.02.05.08.30.52 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 05 Feb 2013 08:30:52 -0800 (PST) Message-ID: <511133BB.7050700@gmail.com> Date: Tue, 05 Feb 2013 16:30:51 +0000 From: Robert Bradley User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: cerowrt-devel Content-Type: multipart/alternative; boundary="------------080406040707020401010509" Subject: [Cerowrt-devel] DHCPv6 and DNS assignment for Windows 7 clients X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Feb 2013 16:30:55 -0000 This is a multi-part message in MIME format. --------------080406040707020401010509 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit |The present CeroWRT builds all assign IPv6 addresses via dnsmasq with the settings "ra-names,ra-stateless", which is supposed to make the clients use SLAAC addresses |||(auto-assigned based on MAC address) and add this to DNS. |I noticed today that in the case of Windows 7 clients, the AAAA records were missing. It turns out that the default is to assign random addresses which confuses dnsmasq (the ping to SLAAC test fails). Linux clients are unaffected by this, since they default to SLAAC-friendly assignment. The solutions to this are one of: 1. Run "netsh interface ipv6 set global randomizeidentifiers=disabled" on each Windows 7 client to force them to use SLAAC. 2. Modify /etc/dnsmasq.conf to use "ra-names,slaac" in place of "ra-names,ra-stateless". This means that all clients get SLAAC and DHCPv6 addresses, and the DHCPv6 address gets added to DNS even if the SLAAC address is unpingable. For machines with pingable SLAAC addresses, both type of address are present. Hope this helps anyone else that was confused by that... | -- Robert Bradley --------------080406040707020401010509 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit The present CeroWRT builds all assign IPv6 addresses via dnsmasq with the settings "ra-names,ra-stateless", which is supposed to make the clients use SLAAC addresses (auto-assigned based on MAC address) and add this to DNS.  I noticed today that in the case of Windows 7 clients, the AAAA records were missing.  It turns out that the default is to assign random addresses which confuses dnsmasq (the ping to SLAAC test fails).  Linux clients are unaffected by this, since they default to SLAAC-friendly assignment.

The solutions to this are one of:

1. Run "netsh interface ipv6 set global randomizeidentifiers=disabled" on each Windows 7 client to force them to use SLAAC.
2. Modify /etc/dnsmasq.conf to use "ra-names,slaac" in place of "ra-names,ra-stateless".  This means that all clients get SLAAC and DHCPv6 addresses, and the DHCPv6 address gets added to DNS even if the SLAAC address is unpingable.  For machines with pingable SLAAC addresses, both type of address are present.

Hope this helps anyone else that was confused by that...
-- 
Robert Bradley
--------------080406040707020401010509--