misc/138678: FreeBSD does not assign linklocal address to loopbacks
>0
Christoph Weber-Fahr
cwf-ml at arcor.de
Wed Sep 9 20:00:11 UTC 2009
>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 at 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:
More information about the freebsd-bugs
mailing list