From nobody@FreeBSD.org  Wed Sep  9 19:58:19 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 06C761065692
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <cwf-ml@arcor.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: FreeBSD does not assign linklocal address to loopbacks >0
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         138678
>Category:       kern
>Synopsis:       [lo] FreeBSD does not assign linklocal address to loopbacks >0
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-net
>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:  Wed Sep 09 20:06:34 UTC 2009
>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<UP,LOOPBACK,RUNNING,MULTICAST> 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<UP,LOOPBACK,RUNNING,MULTICAST> 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:
Responsible-Changed-From-To: freebsd-bugs->freebsd-net 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Wed Sep 9 20:05:49 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=138678 
>Unformatted:
