From owner-freebsd-bugs@FreeBSD.ORG Thu Apr 3 01:10:01 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 E24B5D0B for ; Thu, 3 Apr 2014 01:10:01 +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 B35E11F7 for ; Thu, 3 Apr 2014 01:10:01 +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 s331A0Ed062605 for ; Thu, 3 Apr 2014 01:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s331A0Wm062604; Thu, 3 Apr 2014 01:10:00 GMT (envelope-from gnats) Date: Thu, 3 Apr 2014 01:10:00 GMT Message-Id: <201404030110.s331A0Wm062604@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Darren Baginski 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: Darren Baginski List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Apr 2014 01:10:01 -0000 The following reply was made to PR kern/188032; it has been noted by GNATS. From: Darren Baginski To: Andrey V. Elsukov , "freebsd-gnats-submit@FreeBSD.org" Cc: Subject: Re: kern/188032: IPv6 on lo never leaves 'tentative' state if configured with prefixlen 128 Date: Thu, 03 Apr 2014 05:08:45 +0400 31.03.2014, 12:11, "Andrey V. Elsukov" : >> š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 I'm not setting IFDISABLED flag as you see from output below. Moreover the same set of commands doesn't dot put interface into IFDISABLED sate on FreeBSD 7.x, 8.x, 9.x Again, if I set IPv4 /32 it works as well. Thus this /128 case is a clear regression.