On 2015/01/10 14:54, Florian Obser wrote: > 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.
Historically eui64 was used like this: ifconfig vlan4 inet6 2001:db8:: eui64 and it would fill in the bottom 64 bits for you, i.e. 2001:db8::f2de:f1ff:fea3:bc17/64 That is still the "normal" use for eui64, prior to it now doing double-duty as "re-enable ipv6 on this interface and set things up as they used to be". > 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. Related to the above. And oh, that uses the "interface index" terminology in a printf...
