Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2018 13:55:08 +0000
From:      Bob Bishop <rb@gid.co.uk>
To:        "O. Hartmann" <ohartmann@walstatt.org>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: ipv6/ppp: FreeBSD obtains linklocal on tun0 only
Message-ID:  <A8B289B9-F3B0-4A39-B907-3F3D0C39ADBD@gid.co.uk>
In-Reply-To: <20181130131259.1654aee3@thor.intern.walstatt.dynvpn.de>
References:  <20181130131259.1654aee3@thor.intern.walstatt.dynvpn.de>

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

--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 <ohartmann@walstatt.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A8B289B9-F3B0-4A39-B907-3F3D0C39ADBD>