From owner-freebsd-stable@FreeBSD.ORG Sat Dec 22 17:14:18 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1588D6DB for ; Sat, 22 Dec 2012 17:14:18 +0000 (UTC) (envelope-from mauzo@anubis.morrow.me.uk) Received: from isis.morrow.me.uk (isis.morrow.me.uk [204.109.63.142]) by mx1.freebsd.org (Postfix) with ESMTP id D09AE8FC0C for ; Sat, 22 Dec 2012 17:14:17 +0000 (UTC) Received: from anubis.morrow.me.uk (host31-53-185-176.range31-53.btcentralplus.com [31.53.185.176]) (Authenticated sender: mauzo) by isis.morrow.me.uk (Postfix) with ESMTPSA id 43D0245046; Sat, 22 Dec 2012 17:14:08 +0000 (UTC) X-DKIM: OpenDKIM Filter v2.4.1 isis.morrow.me.uk 43D0245046 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=morrow.me.uk; s=dkim201101; t=1356196450; bh=ARTPChkQWIIG2Hk9pLRLgRvbqjOlKfldKTJ1JuBJjIQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=UUaIh5g203R6VwYOpK7giaP/FPrZG2em1mj01vyxUSpXrjRCfHOEpIbzeLdYaw4Xm ZocDkXnUjFRfMwRw+heZt2+z+wqSnnD2edNuJ0xXFTCCjcFri8kXnV9Kz0c8Gr/G0w 9GmfEBofRgyyKte505big8O/rAdQNmWXHYiTl/fo= X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.97.5 at isis.morrow.me.uk Received: by anubis.morrow.me.uk (Postfix, from userid 5001) id 949CF703E; Sat, 22 Dec 2012 17:14:04 +0000 (GMT) Date: Sat, 22 Dec 2012 17:14:04 +0000 From: Ben Morrow To: lukasz@wasikowski.net Subject: Re: ipv6_addrs_IF aliases in rc.conf(5) Message-ID: <20121222171400.GA2399@anubis.morrow.me.uk> References: <50D1C553.9060100@wasikowski.net> <20121220132750.GB99616@stack.nl> <50D4F2E4.7020600@wasikowski.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50D5C2F4.1070104@wasikowski.net> X-Newsgroups: gmane.os.freebsd.current,gmane.os.freebsd.stable Organization: morrow.me.uk User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2012 17:14:18 -0000 Quoth =?UTF-8?B?xYF1a2FzeiBXxIVzaWtvd3NraQ==?= : > W dniu 2012-12-22 04:41, Kimmo Paasiala pisze: > > > Yeah, this is problem in network.subr. An interface is not recognized > > as IPv6 capable if the interface is not in "ipv6_network_interfaces" > > and there's no "ifconfig_IF_ipv6" in rc.conf(5), bummer. For IPv4 it > > "just works" because the interface is always assumed to be IPv4 > > capable. > > Ok, I used ifconfig_em0_ipv6="up" and it worked. So it looks like this: The documented way to do this is to just set the link-local address in ifconfig_IF_ipv6, since an interface is required to have a link-local address. Either configure an fe80:: address explicitly or set ifconfig_em0_ipv6="inet6 auto_linklocal" Alternatively, if you set ipv6_activate_all_interfaces all interfaces will be considered IPv6-capable. Ben