From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 9 20:00:11 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D096106568F for ; Wed, 9 Sep 2009 20:00:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id ABF998FC20 for ; Wed, 9 Sep 2009 20:00:06 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n89K06VJ045364 for ; Wed, 9 Sep 2009 20:00:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n89K0663045363; Wed, 9 Sep 2009 20:00:06 GMT (envelope-from gnats) Resent-Date: Wed, 9 Sep 2009 20:00:06 GMT Resent-Message-Id: <200909092000.n89K0663045363@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Christoph Weber-Fahr Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06C761065692 for ; Wed, 9 Sep 2009 19:58:19 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id EA14F8FC17 for ; Wed, 9 Sep 2009 19:58:18 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n89JwIpp076983 for ; Wed, 9 Sep 2009 19:58:18 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n89JwI4o076982; Wed, 9 Sep 2009 19:58:18 GMT (envelope-from nobody) Message-Id: <200909091958.n89JwI4o076982@www.freebsd.org> Date: Wed, 9 Sep 2009 19:58:18 GMT From: Christoph Weber-Fahr To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/138678: FreeBSD does not assign linklocal address to loopbacks >0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 20:00:11 -0000 >Number: 138678 >Category: misc >Synopsis: FreeBSD does not assign linklocal address to loopbacks >0 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Sep 09 20:00:06 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Christoph Weber-Fahr >Release: 7.2R-p3 >Organization: Vodafone AG >Environment: FreeBSD bbres1.tnd.lab.arcor.de 7.2-RELEASE-p3 FreeBSD 7.2-RELEASE-p3 #0: Wed Sep 9 02:43:39 CEST 2009 root@bbres1.tnd.lab.arcor.de:/usr/obj/usr/src/sys/GENERIC amd64 >Description: we create another loopback interface (lo1) via a cloned_interfaces list and add it to the ipv6_interfaces list. Then we assign it an address. After reboot the system comes up and lo1 does not have a loopback address: bbres1# (~) ifconfig -a [...] lo0: flags=8049 metric 0 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet 127.0.0.1 netmask 0xff000000 lo1: flags=8049 metric 0 mtu 16384 inet6 2a00:ff:cfff:530::1:1 prefixlen 128 This is a problem because route6d refuses to run when it finds a v6 interface without linklocal address. >How-To-Repeat: see above >Fix: Workaround: explicitly configure the linklocal address via rc.conf: ipv6_ifconfig_lo1_alias0="fe80::1/64" >Release-Note: >Audit-Trail: >Unformatted: