On Sat, Jan 10, 2015 at 02:07:49PM +0000, Stuart Henderson wrote:
> [moved from misc@]
> 
> On 2015-01-08, Josh Grosse <j...@jggimi.homeip.net> 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 unsure what eui64 was supposed to do
when IPv6 was on by default and there was no way to disable it.

btw. I'm still trying to figure out what setia6eui64() in ifconfig.c
is trying to achieve, the code after addaf() looks peculiar. If it's
just error checking it looks complicated.

> 
> 
> Index: ifconfig.8
> ===================================================================
> RCS file: /cvs/src/sbin/ifconfig/ifconfig.8,v
> retrieving revision 1.249
> diff -u -p -r1.249 ifconfig.8
> --- ifconfig.8        3 Dec 2014 21:30:30 -0000       1.249
> +++ ifconfig.8        10 Jan 2015 14:05:07 -0000
> @@ -1155,9 +1155,8 @@ Disable IPv6 autoconf privacy extensions
>  Currently configured addresses will not be removed until they become
>  invalid.
>  .It Cm eui64
> -Fill the interface index
> -.Pq the lowermost 64th bit of an IPv6 address
> -automatically.
> +Set the lowermost 64 bits of an IPv6 address automatically based on
> +the interface identifier.
>  .It Cm pltime Ar n
>  Set preferred lifetime for the address.
>  .It Cm tentative
> 
> 

-- 
I'm not entirely sure you are real.

Reply via email to