From owner-freebsd-net@FreeBSD.ORG Mon Oct 14 21:12:47 2013 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 35D0DB49; Mon, 14 Oct 2013 21:12:47 +0000 (UTC) (envelope-from prox@prolixium.com) Received: from nox.prolixium.com (nox.prolixium.com [IPv6:2001:48c8:1:104::1e]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EFC1128B2; Mon, 14 Oct 2013 21:12:46 +0000 (UTC) Received: from prox by nox.prolixium.com with local (Exim 4.80) (envelope-from ) id 1VVpRV-0002AI-P3; Mon, 14 Oct 2013 17:12:45 -0400 Date: Mon, 14 Oct 2013 17:12:45 -0400 From: Mark Kamichoff To: Hiroki Sato Subject: Re: IPv6 Source Address Selection in 9.x Message-ID: <20131014211245.GK25061@prolixium.com> References: <20131014203929.GG25061@prolixium.com> <20131015.054515.997515800600548642.hrs@allbsd.org> <20131014205824.GI25061@prolixium.com> <20131015.060754.1615183637061250094.hrs@allbsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131015.060754.1615183637061250094.hrs@allbsd.org> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: prox@prolixium.com X-SA-Exim-Scanned: No (on nox.prolixium.com); SAEximRunCond expanded to false Cc: freebsd-net@FreeBSD.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Oct 2013 21:12:47 -0000 On Tue, Oct 15, 2013 at 06:07:54AM +0900, Hiroki Sato wrote: > pr> It's my understanding that by leaving ip6addrctl_policy as AUTO will > pr> only prefer IPv6 if ipv6_enable_all_interfaces is set to YES, which it > pr> is in my /etc/rc.conf. However, it appears that this never resulted in > pr> ip6addrctl_prefer_ipv6 being called from /etc/rc.d/ip6addrctl. Maybe > pr> I'm reading this wrong ... > > It is ipv6_activate_all_interfaces, not ipv6_enable_all_interfaces. > If YES, AUTO (the default value) will set it as ipv6_prefer > automatically. Ah, indeed. I read the two variables as one. Thanks! - Mark -- Mark Kamichoff prox@prolixium.com http://www.prolixium.com/