From owner-freebsd-amd64@freebsd.org Tue Nov 22 16:18:50 2016 Return-Path: Delivered-To: freebsd-amd64@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 08112C4F3E7 for ; Tue, 22 Nov 2016 16:18:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CE5E435A for ; Tue, 22 Nov 2016 16:18:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uAMGInWQ013784 for ; Tue, 22 Nov 2016 16:18:49 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-amd64@FreeBSD.org Subject: [Bug 214746] Carp ipv6 duplicate address detection Date: Tue, 22 Nov 2016 16:18:49 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: aduitsis@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Nov 2016 16:18:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214746 Bug ID: 214746 Summary: Carp ipv6 duplicate address detection Product: Base System Version: 10.3-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: aduitsis@gmail.com CC: freebsd-amd64@FreeBSD.org CC: freebsd-amd64@FreeBSD.org Somewhat difficult to ascertain whether this has been previously reported, apologies if this is a duplicate bug. Trying to use carp and IPv6 on a 10.3-RELEASE. Two machines, each one with = its own IPv6 address and one common IPv6. Fairly simple. When a machine boots (the other one is obviously MASTER and has acquired the common IPv6 address), complaints about duplicate address detection of the common IPv6 are logged by the booting machine's kernel. kernel: vmx0: DAD detected duplicate IPv6 address : NS in/out/loopback=3D0/1/0, NA in=3D1 kernel: vmx0: DAD complete for - duplicate found As a result, the machine that has just booted has the duplicated flag for t= hat address in ifconfig and services that want to bind to that common address f= ail to start. In other words, the BACKUP cannot bind to the common address. Trying to setup the common address and carp by hand using ifconfig initially fails with: #ifconfig vmx0 inet6 /64 vhid 34 pass ifconfig: ioctl (SIOCAIFADDR): No such file or directory What's curious, second time that command is issued, no errors are printed a= nd the address is assigned to the interface. Using the no_dad ifconfig flag seems to solve the problem, but I suspect th= at this workaround is not extremely good as it disables DAD. --=20 You are receiving this mail because: You are on the CC list for the bug.=