From owner-freebsd-current@freebsd.org Fri Nov 30 15:59:52 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F2EC11147940 for ; Fri, 30 Nov 2018 15:59:51 +0000 (UTC) (envelope-from cmt@burggraben.net) Received: from smtp.burggraben.net (smtp.burggraben.net [IPv6:2a01:4f8:140:50a2::3:1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "ns.exwg.net", Issuer "Christoph Moench-Tegeder" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 17869699D5 for ; Fri, 30 Nov 2018 15:59:50 +0000 (UTC) (envelope-from cmt@burggraben.net) Received: from localhost (localhost [127.0.0.1]) by smtp.burggraben.net (Postfix) with ESMTP id 603E06002F3 for ; Fri, 30 Nov 2018 16:59:49 +0100 (CET) X-Spam-Scanned: by amavisd-new at exwg.net Received: from smtp.burggraben.net ([127.0.0.1]) by localhost (ns.burggraben.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fOr9fmPGVhBG for ; Fri, 30 Nov 2018 16:59:38 +0100 (CET) Received: from elch.exwg.net (elch.exwg.net [IPv6:2001:470:7120:1:127b:44ff:fe4f:148d]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "elch.exwg.net", Issuer "Christoph Moench-Tegeder" (verified OK)) by smtp.burggraben.net (Postfix) with ESMTPS for ; Fri, 30 Nov 2018 16:59:38 +0100 (CET) Received: by elch.exwg.net (Postfix, from userid 1000) id 526A8274BF; Fri, 30 Nov 2018 16:59:38 +0100 (CET) Date: Fri, 30 Nov 2018 16:59:38 +0100 From: Christoph Moench-Tegeder To: freebsd-current@freebsd.org Subject: Re: ipv6/ppp: FreeBSD obtains linklocal on tun0 only Message-ID: <20181130155937.GA74153@elch.exwg.net> References: <20181130131259.1654aee3@thor.intern.walstatt.dynvpn.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20181130131259.1654aee3@thor.intern.walstatt.dynvpn.de> User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: 17869699D5 X-Spamd-Result: default: False [-3.37 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[burggraben.net]; MX_GOOD(-0.01)[smtp.burggraben.net]; NEURAL_HAM_SHORT(-0.94)[-0.944,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; IP_SCORE(-1.32)[ipnet: 2a01:4f8::/29(-3.92), asn: 24940(-2.67), country: DE(-0.02)] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Nov 2018 15:59:52 -0000 ## 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... If it's IPV6CP, make sure it's enabled in ppp (it is by default), and check with "show ipv6cp". If you expect NDP, amke sure you don't drop icmp6 packets and use rtsol et al. I would not expect DHCPv6 - that's more work to set up on the ISP side - but if that's what you get, you'd need net/isc-dhcp44-client or similar (net/dhcpv6 might work, base dhclient does not look like it supports IPv6). Regards, Christoph -- Spare Space