From owner-freebsd-current@freebsd.org Mon Dec 3 02:36:12 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 8719A13126A9 for ; Mon, 3 Dec 2018 02:36:12 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by mx1.freebsd.org (Postfix) with ESMTP id D43706C8BE for ; Mon, 3 Dec 2018 02:36:10 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from unknown (HELO midget.dons.net.au) ([118.211.116.174]) by ipmail07.adl2.internode.on.net with ESMTP; 03 Dec 2018 13:01:01 +1030 Received: from midget.dons.net.au (localhost [127.0.0.1]) by midget.dons.net.au (8.15.2/8.15.2) with ESMTPS id wB32UrxJ024787 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 3 Dec 2018 13:00:54 +1030 (ACDT) (envelope-from darius@dons.net.au) Received: (from mailnull@localhost) by midget.dons.net.au (8.15.2/8.15.2/Submit) id wB321mtN001681 for ; Mon, 3 Dec 2018 12:31:48 +1030 (ACDT) (envelope-from darius@dons.net.au) X-Authentication-Warning: midget.dons.net.au: mailnull set sender to using -f Received: from maelstrom.gsoft.com.au (Maelstrom.gsoft.com.au [203.31.81.59]) by [118.211.116.174] (envelope-sender ) (MIMEDefang) with ESMTP id wB321gRt001677; Mon, 03 Dec 2018 12:31:48 +1030 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.1 \(3445.101.1\)) Subject: Re: ipv6/ppp: FreeBSD obtains linklocal on tun0 only From: "O'Connor, Daniel" In-Reply-To: <20181202224622.46b9624d@thor.intern.walstatt.dynvpn.de> Date: Mon, 3 Dec 2018 12:31:41 +1030 Cc: Gary Palmer , "O. Hartmann" , FreeBSD CURRENT Content-Transfer-Encoding: quoted-printable Message-Id: References: <20181130131259.1654aee3@thor.intern.walstatt.dynvpn.de> <20181130143252.GA24286@in-addr.com> <20181202224622.46b9624d@thor.intern.walstatt.dynvpn.de> To: "O. Hartmann" X-Mailer: Apple Mail (2.3445.101.1) X-Spam-Score: 0 () No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.1 X-Scanned-By: MIMEDefang 2.83 on 10.0.2.1 X-Rspamd-Queue-Id: D43706C8BE X-Spamd-Result: default: False [3.48 / 15.00]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; MV_CASE(0.50)[]; NEURAL_SPAM_SHORT(0.76)[0.761,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; HAS_XAW(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[131.137.101.150.rep.mailspike.net : 127.0.0.18]; DMARC_NA(0.00)[dons.net.au]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.66)[0.659,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: midget.dons.net.au]; NEURAL_SPAM_LONG(0.46)[0.464,0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; IP_SCORE(0.21)[ipnet: 150.101.0.0/16(1.25), asn: 4739(-0.18), country: AU(-0.04)]; ASN(0.00)[asn:4739, ipnet:150.101.0.0/16, country:AU]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[131.137.101.150.list.dnswl.org : 127.0.5.1] 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: Mon, 03 Dec 2018 02:36:12 -0000 > On 3 Dec 2018, at 08:15, O. Hartmann 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