Re: DAD question

Fernando Gont <fgont@si6networks.com> Fri, 10 August 2012 23:09 UTC

Return-Path: <fgont@si6networks.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EAA3B21F8517 for <ipv6@ietfa.amsl.com>; Fri, 10 Aug 2012 16:09:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jZxv+xuuT1uX for <ipv6@ietfa.amsl.com>; Fri, 10 Aug 2012 16:09:54 -0700 (PDT)
Received: from web01.jbserver.net (web01.jbserver.net [IPv6:2a00:d10:2000:e::3]) by ietfa.amsl.com (Postfix) with ESMTP id 01F3A21F8508 for <ipv6@ietf.org>; Fri, 10 Aug 2012 16:09:54 -0700 (PDT)
Received: from [190.245.182.195] (helo=[192.168.1.128]) by web01.jbserver.net with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.76) (envelope-from <fgont@si6networks.com>) id 1SzyKx-0006UN-PH; Sat, 11 Aug 2012 01:09:48 +0200
Message-ID: <50259461.8090802@si6networks.com>
Date: Fri, 10 Aug 2012 20:08:17 -0300
From: Fernando Gont <fgont@si6networks.com>
Organization: SI6 Networks
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120714 Thunderbird/14.0
MIME-Version: 1.0
To: "Fred Baker (fred)" <fred@cisco.com>
Subject: Re: DAD question
References: <36AA0AF8-95FD-4751-AE2E-A7A3D07038EB@cisco.com>
In-Reply-To: <36AA0AF8-95FD-4751-AE2E-A7A3D07038EB@cisco.com>
X-Enigmail-Version: 1.5a1pre
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 8bit
Cc: "ipv6@ietf.org 6man" <ipv6@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 10 Aug 2012 23:09:55 -0000

Hi, Fred,

On 08/10/2012 07:17 PM, Fred Baker (fred) wrote:
> Call this "making sure I'm on the same page as anyone else"…
> 
> RFC 4941 describes privacy addresses, and RFC 4291 describes an EID
> based on a MAC Address. RFC 4862 describes stateless address
> autoconfiguration, and uses RFC 4861's duplicate address detection
> mechanism.
> 
> My question is: what happens if any of them discovers that it has
> created an address that is already in use in the network?

For traditional SLAAC (i.e. EID based on the MAC address), SLAAC simply
fails.

IIRC, you get different results depending on whether DAD fails for a
link-local address, or it fails for a non-link-local address. For the
former, you may need to reboot your system. For the later, I seem to
recall that some systems "perform DAD", but do not care if DAD actually
fails.

Simplest answer: "Try it":

Run na6 (http://www.si6networks.com.ar/tools) as follows:

# ./na6 -i eth0 -j :: -c -o -e -L -vv

where:
"-i eth0": your NIC
"-j ::":   tells the tool to only respond to packets with the Src Addr
           set to the unspec addr (i.e., DAD packets)
"-c":      Set the solicited flag
"-o:"      Set the override flag (shouldn't matter in this case)
"-L":      Listen mode (wait for incoming ns'es)
"-vv":     Be very verbose



> There would appear to be two options: (1) "ah, OK, I guess I didn't
> really want to talk today"

This is what all implementations do for tradicional SLAAC (when they do
honor SLAAC --see above).


> (2) Following RFC 4941, guess again until
> one creates a unique address
> 
> Is it fair to assume that implementations do DAD and follow (2)? 

Might be fair to assume this for the temporary address, but it is
certainly not realistic to assume this for the traditional SLAAC address
(*) (**).

(*) Microsoft Windows allegedly replace the traditional SLAAC addresses
with a RFC4941-based scheme that simply does not cycle the addresses
over time -- hence "(2)" might apply to Windows.

(**) Will head in this direction for
draft-ietf-6man-stable-privacy-addresses

Cheers,
-- 
Fernando Gont
e-mail: fernando@gont.com.ar || fgont@si6networks.com
PGP Fingerprint: 7809 84F5 322E 45C7 F1C9 3945 96EE A9EF D076 FFF1




-- 
Fernando Gont
SI6 Networks
e-mail: fgont@si6networks.com
PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492