Date: Mon, 3 Dec 2018 12:31:41 +1030 From: "O'Connor, Daniel" <darius@dons.net.au> To: "O. Hartmann" <o.hartmann@walstatt.org> Cc: Gary Palmer <gpalmer@freebsd.org>, "O. Hartmann" <ohartmann@walstatt.org>, FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: Re: ipv6/ppp: FreeBSD obtains linklocal on tun0 only Message-ID: <A5855F89-7C09-407A-805C-DE14935C4E6E@dons.net.au> In-Reply-To: <20181202224622.46b9624d@thor.intern.walstatt.dynvpn.de> References: <20181130131259.1654aee3@thor.intern.walstatt.dynvpn.de> <20181130143252.GA24286@in-addr.com> <20181202224622.46b9624d@thor.intern.walstatt.dynvpn.de>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 3 Dec 2018, at 08:15, O. Hartmann <o.hartmann@walstatt.org> wrote: >=20 >=20 > The documentation lacks in many aspects how to deal with IPv6, = especially when it comes > to "well known things from the old IPv4 world". Since DDNS also is = still something people > use with IPv6, MYADDR6 doesn't carry the IPV6 address obtained after = rtsold has been > started and rtsol tun0 has been issued as described above = (MYADDR6/HISADDR6 are assigned > with the linklocal addresses). FWIW I use dhcp6c to get an IPv6 range from my ISP. My /usr/local/etc/dhcp6c.conf looks like.. interface ng0 { send ia-pd 0; }; id-assoc pd { prefix-interface bridge0 { sla-id 0; sla-len 8; }; }; I am using mpd5 for PPPoE and bridge0 is my LAN interface. My /etc/rtadvd.conf looks like.. # Leaving rltime at the default gives = http://www.freebsd.org/cgi/query-pr.cgi?pr=3D162547 # setting it to 0 prevents it being used as a router. Setting to 1800 = (the putative default) # works.. bridge0:\ :rltime#1800:\ :rdnss=3D"xxx":\ :dnssl=3D"yyy": where xxx is the IPv6 address of my server and yyy is my domain. (I'm not sure if the comment regarding rltime is true any more though = but it works so I don't touch it ;) -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A5855F89-7C09-407A-805C-DE14935C4E6E>