I will need to test this on a separate install of OpenBSD on my LAN as I
was just trying to get my one install that is used as my
firewall/gateway and IPv6 router to the public Internet from my private
LAN working again after the upgrade.

And when I initially used autoconf as an ifconfig option in the
interface's hostname files, I got the link local address as expected,
but any IPs setup on the machine were not routable to the local LAN it
was plumbed up on.  The implied route by the /64 prefix was just missing
and I knew no way to manually add that back (couldn't figure out the
appropriate route add syntax to do so).

Once I changed the option to eui64, I got almost the exact same behavior
save for the missing routes suddenly were there and everything else that
didn't work (due to the missing route) now worked.

Of course in this case, autoconf is likely inappropriate for this
particular machine as it's being used as a router and has
net.inet6.ip6.forwarding=1 which explicitly disables accepting and
honoring RAs.  But still the plumbing up of the link local addresses,
but without the route seemed to me like a bug.

Reilly

On 01/08/2015 04:25 PM, Josh Grosse wrote:
> On Thu, Jan 08, 2015 at 03:20:46PM +0000, Florian Obser wrote:
>
>> [...]
>>
>>      eui64   Fill the interface index (the lowermost 64th bit of an IPv6
>>              address) automatically.
> But as I understand this, EUI64 isn't about a singular bit.  It's the 
> conversion of the 48 bit MAC address into a 64-bit value.
>
> Perhaps the grammer could change for clarity?  I was confused until
> I tested the option.
>
> Index: ifconfig.8
> ===================================================================
> RCS file: /cvs/src/sbin/ifconfig/ifconfig.8,v
> retrieving revision 1.249
> diff -u -p -u -p -r1.249 ifconfig.8
> --- ifconfig.8        3 Dec 2014 21:30:30 -0000       1.249
> +++ ifconfig.8        8 Jan 2015 21:23:04 -0000
> @@ -1156,7 +1156,7 @@ Currently configured addresses will not 
>  invalid.
>  .It Cm eui64
>  Fill the interface index
> -.Pq the lowermost 64th bit of an IPv6 address
> +.Pq the lowermost 64 bits of an IPv6 address 
>  automatically.
>  .It Cm pltime Ar n
>  Set preferred lifetime for the address.

Reply via email to