ipv6/ppp: FreeBSD obtains linklocal on tun0 only

Bob Bishop rb at gid.co.uk
Fri Nov 30 14:01:36 UTC 2018


Hi,

> On 30 Nov 2018, at 12:12, O. Hartmann <ohartmann at walstatt.org> wrote:
> 
> 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.
> 
> I'm using IPFW as my filtering system, reading the standard /etc/rc.ipfirewall and add
> some custom rules regarding my setup.
> 
> As far as I know, with the IPv4 stack a IPv4 address is obtained automatically, so I
> would expect the same for IPv6.
> 
> 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.
> 
> When booting off, I see the classic tun0 uplink with
> 
> MYADDR -> HISADDR
> 
> For IPv6, I only see my local linklocal address, fe80::...
> 
> 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.
> 
> Can someone give a tip?

Guessing because I haven’t 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,
> 
> oh
> 
> 

--
Bob Bishop
rb at gid.co.uk




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20181130/624305ed/attachment.sig>


More information about the freebsd-current mailing list