Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Dec 2018 22:36:09 +0100
From:      "O. Hartmann" <o.hartmann@walstatt.org>
To:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Cc:        "Christoph Moench-Tegeder" <cmt@burggraben.net>, "O. Hartmann" <ohartmann@walstatt.org>, freebsd-current@freebsd.org
Subject:   Re: ipv6/ppp: FreeBSD obtains linklocal on tun0 only
Message-ID:  <20181202223636.5adde7f7@thor.intern.walstatt.dynvpn.de>
In-Reply-To: <FB285269-71FD-4ED0-87A5-ED82AE84ED6C@lists.zabbadoz.net>
References:  <20181130131259.1654aee3@thor.intern.walstatt.dynvpn.de> <20181130155937.GA74153@elch.exwg.net> <FB285269-71FD-4ED0-87A5-ED82AE84ED6C@lists.zabbadoz.net>

next in thread | previous in thread | raw e-mail | index | archive | help

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Am Fri, 30 Nov 2018 16:41:02 +0000
"Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> schrieb:

Sorry for the late reply, had a long weekend off ...

> On 30 Nov 2018, at 15:59, Christoph Moench-Tegeder wrote:
> 
> > ## O. Hartmann (ohartmann@walstatt.org):
> >  
> >> As far as I know, with the IPv4 stack a IPv4 address is obtained
> >> automatically, so I would expect the same for IPv6.  
> >
> > The fun with "automatically" is that there's more than one way...
> > DHCPv6 and NDP (IPV6 Neighbour Discovery Protocol/Router Solicitation)
> > have been mentioned, the third option is IPV6CP (PPP options, just as
> > PPP-with-IPv4 does with IPCP). I've no idea what your provider does, so...  
> 
> No, IPV6CP, to my very best 15 year old memory only negotiates the
> interface identifiers, which are used to generate the link-local addresses.
> There is no negotiation for full prefix/global addresses, hence it is
> different to the IPCP NCP used for IPv4.

In my case. IPV6CP indeed does only negotiate the linklocal addresses (fe80::) on my
WAN interface ...
 
> 
> One wants to run rtsol on the link and then depending on the O/M bits possibly
> also DHCPv6 I’d assume.
> 
> There’s a couple of other options and shortcuts, on how to configure global
> addresses (as always, if you know you have a static prefix assigned, one can
> do it by hand for example);  and then there are shortcuts as to when you’d
> perform DAD, which shouldn’t bother the user.  These days there should also
> be options with regards to RFC4941 (privacy extensions for stateless address
> autoconf).

Studying the manpage for ppp(8), one might not get that IPV6CP does only negotiate the
IPv6 linklocal address ...

> 
> It may no be uncommon to run the ptp-link with link-local addresses only and
> configure an address from a prefix on lo0 or the internal interface only; but
> I am doubtful FreeBSD’s userland implementation is that sophisticated.
> 
> /bz
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"



- -- 
O. Hartmann

Ich widerspreche der Nutzung oder Übermittlung meiner Daten für
Werbezwecke oder für die Markt- oder Meinungsforschung (§ 28 Abs. 4 BDSG).
-----BEGIN PGP SIGNATURE-----

iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCXARQZAAKCRDS528fyFhY
lMXRAf9RE7lygi/eqfkL5U+iAWiQYDEmuITolg6sOpyqMVUIKZeg1zA1HQL8Cw70
7vMSc6Rwbvtuz8b8N+chelawH4dxAf9K2Rs9O+cw91PRO0CNN+JcuRnk/gj/ivYo
pn24sPi8MIoXOOecR2WSLg1e0uspStEBGr0kdxPJ0aJBNVu1AuLd
=cnfs
-----END PGP SIGNATURE-----


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181202223636.5adde7f7>