From owner-freebsd-bugs@FreeBSD.ORG Fri Apr 4 17:30:03 2014 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D1C098FB for ; Fri, 4 Apr 2014 17:30:03 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (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 BEDC7A4D for ; Fri, 4 Apr 2014 17:30:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s34HU3LJ090539 for ; Fri, 4 Apr 2014 17:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s34HU33n090538; Fri, 4 Apr 2014 17:30:03 GMT (envelope-from gnats) Date: Fri, 4 Apr 2014 17:30:03 GMT Message-Id: <201404041730.s34HU33n090538@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Andrey V. Elsukov" Subject: Re: kern/188032: IPv6 on lo never leaves 'tentative' state if configured with prefixlen 128 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: "Andrey V. Elsukov" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2014 17:30:03 -0000 The following reply was made to PR kern/188032; it has been noted by GNATS. From: "Andrey V. Elsukov" To: Darren Baginski , "freebsd-gnats-submit@FreeBSD.org" Cc: Subject: Re: kern/188032: IPv6 on lo never leaves 'tentative' state if configured with prefixlen 128 Date: Fri, 04 Apr 2014 21:25:47 +0400 On 04.04.2014 21:18, Darren Baginski wrote: > I do configure IPv6, output clearly says that, and more specifically I configure it with /128. > Let me show again again: > > case A, getting 'tentative' > # ifconfig lo8 create > # ifconfig lo8 up > # ifconfig lo8 inet6 fc00::ff prefixlen 128 <- configuring IPv6 address with /128 prefix > > case B, all good, NO 'tentative' > # ifconfig lo8 create > # ifconfig lo8 up > # ifconfig lo8 inet6 fc00::ff prefixlen 127 <- configuring IPv6 address with /127 prefix > > On FreeBSD 7.x, 8.x, 9.x case A works, while on 10.x interface is stuck in `tentative` permanently. I described why this works as you see in the first message. There are number of configuration variables related to IPv6 configuration. I.e. ipv6_enable, ipv6_activate_all_interfaces, ifconfig_xxx_ipv6. These variables controls behavior of the system when new interface will appears. You can read /etc/network.subr and you will see that presence of IFDISABLED flag depends from these variables. -- WBR, Andrey V. Elsukov