On Tue, Oct 07, 2014 at 11:42:10PM -0400, Brad Smith wrote:
> On 07/10/14 10:03 PM, Stuart Henderson wrote:
> >Since it's non-obvious how to setup pppoe for v6 now that link-local
> >addresses are no longer configured by default, I think we should have
> >something in the manual.
> >
> >Any comments/objections/suggestions for a better way to do this?
> 
> This doesn't make any sense. IPv6CP configures the link local address.

IPv6CP prevents *collisions* of link-local addresses on the same p2p link.

If an existing link-local address doesn't collide with the remote peer's
address we keep using the existing address. The link-local address will
be changed by IPv6CP only if there is a collision (which won't ever happen
under normal conditions).

> Having to do something like this is illogical and counter intuitive. I
> agree it should be documented per se but the current behavior is just
> plain stupid.

A route to fe80:: needs to be configured statically in any case
until autoconf works with ip6 forwarding enabled.

!/sbin/route add default -ifp pppoe0 fe80::

I suppose we can't run this command from hostname.pppoe0 if there is
no IPv6 address yet, so it makes sense to configure one first.

Reply via email to