fa.netbsd.tech.net
[Top] [All Lists]

IPv6 link local address generation for P2P interfaces

Subject: IPv6 link local address generation for P2P interfaces
From: Martin Husemann <martin@xxxxxxxxxxx>
Date: Wed, 16 Jul 2008 22:45:39 UTC
Newsgroups: fa.netbsd.tech.net

Maybe a naive question: the magic that generates link local addresses for
IPv6 interfaces does not seem to care about POINTOPOINT interfaces,
so it creates strange setups like this:

  inet6 fe80::a00:20ff:fe99:fc91%pppoe1 ->  prefixlen 64 scopeid 0xb
or
  inet6 fe80::a00:20ff:fe99:fc91%gre0 ->  prefixlen 64 scopeid 0x9

Should it check IFF_POINTOPOINT, generate a destination address too and
adjust prefixlen?

I'm trying to understand the setup of pppoe(4) for IPv6. The ipcp6 negotiation
uses the first link local address, including it's destination address if not
unspecified as initial suggestion for the negotiation, which does not make
a lot sense to me in the default setup.

Martin

<Prev in Thread] Current Thread [Next in Thread>