Date: Wed, 9 Sep 2009 19:58:18 GMT From: Christoph Weber-Fahr <cwf-ml@arcor.de> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/138678: FreeBSD does not assign linklocal address to loopbacks >0 Message-ID: <200909091958.n89JwI4o076982@www.freebsd.org> Resent-Message-ID: <200909092000.n89K0663045363@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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<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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909091958.n89JwI4o076982>