From owner-freebsd-current@freebsd.org Fri Nov 30 14:01:36 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 B08A11144D5E for ; Fri, 30 Nov 2018 14:01:36 +0000 (UTC) (envelope-from rb@gid.co.uk) Received: from mx0.gid.co.uk (mx0.gid.co.uk [194.32.164.250]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 00B628352F for ; Fri, 30 Nov 2018 14:01:25 +0000 (UTC) (envelope-from rb@gid.co.uk) Received: from [194.32.164.27] ([194.32.164.27]) by mx0.gid.co.uk (8.14.2/8.14.2) with ESMTP id wAUDtItX088096; Fri, 30 Nov 2018 13:55:18 GMT (envelope-from rb@gid.co.uk) From: Bob Bishop Message-Id: Content-Type: multipart/signed; boundary="Apple-Mail=_F1DF66ED-E446-4AC0-8321-FC19809700A6"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: ipv6/ppp: FreeBSD obtains linklocal on tun0 only Date: Fri, 30 Nov 2018 13:55:08 +0000 In-Reply-To: <20181130131259.1654aee3@thor.intern.walstatt.dynvpn.de> Cc: FreeBSD CURRENT To: "O. Hartmann" References: <20181130131259.1654aee3@thor.intern.walstatt.dynvpn.de> X-Mailer: Apple Mail (2.3273) X-Rspamd-Queue-Id: 00B628352F X-Spamd-Result: default: False [-3.32 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; MX_INVALID(0.50)[greylisted]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; HAS_ATTACHMENT(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[gid.co.uk]; NEURAL_SPAM_SHORT(0.10)[0.099,0]; NEURAL_HAM_LONG(-1.00)[-0.997,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[250.164.32.194.list.dnswl.org : 127.0.10.0]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:42831, ipnet:194.32.164.0/24, country:GB]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.02)[country: GB(-0.10)]; RCVD_COUNT_TWO(0.00)[2] 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 14:01:36 -0000 --Apple-Mail=_F1DF66ED-E446-4AC0-8321-FC19809700A6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi, > On 30 Nov 2018, at 12:12, O. Hartmann wrote: >=20 > Signed PGP part > My ISP is offering IPv6 only "as an experimental feature", so I had to = ask to enable the > IPv6 stack on my connection. I'm using FreeBSD 12-STABLE as the basis = for a > router/firewall/PBX system, FreeBSD's onboard ppp client is performing = the uplink and > authetication and this works well with IPv4 for years for now. >=20 > I'm using IPFW as my filtering system, reading the standard = /etc/rc.ipfirewall and add > some custom rules regarding my setup. >=20 > As far as I know, with the IPv4 stack a IPv4 address is obtained = automatically, so I > would expect the same for IPv6. >=20 > I'm new to IPv6 and I've trouble with my provider for a long time now, = so there is a > slight possibility that my ISP is not truthful on what they say. On = the other hand, there > is still a high probability that I do something wrong. I need need to = send this ahead, > before continueing. >=20 > When booting off, I see the classic tun0 uplink with >=20 > MYADDR -> HISADDR >=20 > For IPv6, I only see my local linklocal address, fe80::... >=20 > Checking the log of ppp (/var/log/ppp.log), there is also a fe80:: = linklocal address > assigned to the variable HISADDR. Somehow, the tun0 never obtains a = IPv6 aprefix so far. >=20 > Can someone give a tip? Guessing because I haven=E2=80=99t used v6 over ppp, but: - You probably need net.inet6.ip6.accept_rtadv set to 1 to accept IPv6 = router advertisement from upstream. You should get a prefix from the = upstream router. - You may also possibly need to run rtsold(8). > Regards, >=20 > oh >=20 >=20 -- Bob Bishop rb@gid.co.uk --Apple-Mail=_F1DF66ED-E446-4AC0-8321-FC19809700A6 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQR+a6Wh87I/iYwcbE+8xpPppLfFvwUCXAFBPAAKCRC8xpPppLfF vyMnAKDZ0zK63f4uS9289KDdtO+i74bN8gCfeS9a/ws4Dkv38rQdRiY+ZQZybYc= =KM9q -----END PGP SIGNATURE----- --Apple-Mail=_F1DF66ED-E446-4AC0-8321-FC19809700A6--