From owner-freebsd-bugs@FreeBSD.ORG Mon Mar 31 08:20:02 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 6196D8F1 for ; Mon, 31 Mar 2014 08:20:02 +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 4E7769ED for ; Mon, 31 Mar 2014 08:20:02 +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 s2V8K1Do003104 for ; Mon, 31 Mar 2014 08:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2V8K1GK003103; Mon, 31 Mar 2014 08:20:01 GMT (envelope-from gnats) Date: Mon, 31 Mar 2014 08:20:01 GMT Message-Id: <201403310820.s2V8K1GK003103@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: Mon, 31 Mar 2014 08:20:02 -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: Mon, 31 Mar 2014 12:11:14 +0400 > IPv6 on lo never leaves 'tentative' state if configured with prefixlen 128. > > Steps to reproduce. > > # ifconfig lo8 create > # ifconfig lo8 up > # ifconfig lo8 inet6 fc00::ff prefixlen 128 > > > # ifconfig lo8 > lo8: flags=8049 metric 0 mtu 16384 > options=600003 > inet6 fc00::ff prefixlen 128 tentative > nd6 options=29 > > > lo8 ipv6 stays 'tentative' stays forever and never become ping-able. > > "Workaround" is to apply any other prefixlen, e.g. /127 >> How-To-Repeat: > > # ifconfig lo8 create > # ifconfig lo8 up > # ifconfig lo8 inet6 fc00::ff prefixlen 128 > > > # ifconfig lo8 > lo8: flags=8049 metric 0 mtu 16384 > options=600003 > inet6 fc00::ff prefixlen 128 tentative > nd6 options=29 > > # ping fc00::ff >> Fix: > "Workaround" is to apply any other prefixlen, e.g. /127 Hello, Actually the problem is in your configuration. As you may see, you have IFDISABLED flag set. When you are configuring /127 prefix, the system does install route on that prefix and automatically clears IFDISABLED flag. When you are configuring /128 prefix, the system won't install route and thus IFDISABLED flag still here. With IFDISABLED flag the system won't do DAD and tentative flag will never cleared. -- WBR, Andrey V. Elsukov