Hi all, Martin,

There seems to be an issue with generating eui64 addresses.

[weerd@pom] $ ifconfig em0
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr b8:ca:3a:93:03:e8
        inet6 fe80::3c16:979e:9360:ec89%em0 prefixlen 64 scopeid 0x1
[weerd@pom] $ sysctl kern.version
kern.version=OpenBSD 5.5-current (GENERIC.MP) #136: Mon May 19 09:40:42 MDT 2014
    t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

[weerd@twix] $ ifconfig vr0
vr0: flags=48843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:0d:b9:14:6f:08
        inet6 fe80::cc08:36fd:9a4a:b30%vr0 prefixlen 64 scopeid 0x1
[weerd@twix] $ sysctl kern.version
kern.version=OpenBSD 5.5-current (GENERIC) #115: Mon May 19 08:39:42 MDT 2014
    t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC

[weerd@drop] $ ifconfig iwn0
iwn0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 88:53:2e:d9:dd:9d
        inet6 fe80::c0d9:7d41:5229:b6f3%iwn0 prefixlen 64 scopeid 0x1
[weerd@drop] $ sysctl kern.version
kern.version=OpenBSD 5.5-current (GENERIC.MP) #6: Sat May 17 11:23:06 CEST 2014
    we...@drop.weirdnet.nl:/usr/src/sys/arch/amd64/compile/GENERIC.MP

(ifconfig output redacted for brevity)

As can be seen, the host part of the link-local address doesn't
resemble the lladdr at all.  This isn't a problem for outgoing
connections, but when using SLAAC the global unicast address that is
assigned is now suddenly different from what it used to be (so from
what is in DNS), so I can't easily connect to my machines over IPv6
anymore.

I'm not sure when this started, the last kernel that still worked with
the 'regular' eui64 link-local address on machine 'pom' was:

OpenBSD 5.5-current (GENERIC.MP) #105: Sun May  4 18:35:59 MDT 2014
    dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

One final thing to note is that these 'new' addresses are persistent
across reboots (so it's not a case of misapplied autoconfprivacy, I
think).

Before I go bisecting for the faulty commit, does anybody have an idea
what might be going on?  mpi, I'm CC:'ing you since you've been doing
some changes in this and related areas so maybe this rings a bell with
you.

Cheers,

Paul 'WEiRD' de Weerd

-- 
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<o
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/                 

Reply via email to