On 10/01/15(Sat) 14:54, Florian Obser wrote: > On Sat, Jan 10, 2015 at 02:07:49PM +0000, Stuart Henderson wrote: > > [moved from misc@] > > > > On 2015-01-08, Josh Grosse <[email protected]> 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. > > > > I think that's wrong, this isn't the interface index at all. > > This seems to make more sense to me - any comments? > > I don't think this is entirely correct. eui64 enables IPv6 on an interface > by setting a link local address. For lo0 it also sets ::1.
I'm not sure if we should define how the link local address is generated. As for lo0, this is not strictly related to eui64. It is just that the kernel automagically set "::1" on it. Right now it is done the first time the loopback interface is brought up, but it does not mean it should/will stay like that.
