From owner-freebsd-net@FreeBSD.ORG Sun Oct 14 23:50:01 2012 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 146C646D for ; Sun, 14 Oct 2012 23:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id F110E8FC08 for ; Sun, 14 Oct 2012 23:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9ENo0sg037688 for ; Sun, 14 Oct 2012 23:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9ENo0ZT037687; Sun, 14 Oct 2012 23:50:00 GMT (envelope-from gnats) Date: Sun, 14 Oct 2012 23:50:00 GMT Message-Id: <201210142350.q9ENo0ZT037687@freefall.freebsd.org> To: freebsd-net@FreeBSD.org Cc: From: Doug Hardie Subject: Re: kern/172683: [ip6] Duplicate IPv6 Link Local Addresses X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Doug Hardie List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Oct 2012 23:50:01 -0000 The following reply was made to PR kern/172683; it has been noted by GNATS. From: Doug Hardie To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/172683: [ip6] Duplicate IPv6 Link Local Addresses Date: Sun, 14 Oct 2012 16:42:50 -0700 Here is some more interesting information on the issue. RFC 4862 states = that if the link-local address is MAC based then it should bring down = the link and log the duplicate address error. Kurt Jaeger pointed out = in a private email that there is a sysctl that is supposed to control = this behavior: net.inet6.ip6.dad_count. The value 1 is to permit the = interface to continue to operate and the value 2 is to stop operation. = Sure enough net.inet6.ip6.dad_count =3D 1 as the default value. I = changed it to 2 and ran the tests again. There was no change in the = performance. The interface remained in use and nothing was logged in = /var/log/messages. Unfortunately I no longer have a Vista machine to = test with since it generates non-MAC related link-local addresses. XP = and Win 7 both use MAC based addresses. Using Vista talking to FreeBSD = 7.2, the Neighbor Advertisement was returned by FreeBSD and Vista chose = another link-local address.=