From owner-freebsd-net@freebsd.org Sun Mar 3 09:24:40 2019 Return-Path: Delivered-To: freebsd-net@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 C202B15039F3 for ; Sun, 3 Mar 2019 09:24:39 +0000 (UTC) (envelope-from chris@debilux.org) Received: from mail.dblx.io (mail.dblx.io [IPv6:2a01:4f8:161:10c7::13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6DC0375855 for ; Sun, 3 Mar 2019 09:24:38 +0000 (UTC) (envelope-from chris@debilux.org) Received: from p200300c0373b6830d027b499df0fb961.dip0.t-ipconnect.de (p200300C0373B6830D027B499DF0FB961.dip0.t-ipconnect.de [IPv6:2003:c0:373b:6830:d027:b499:df0f:b961]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.dblx.io (Postfix) with ESMTPSA id 9B238390FC for ; Sun, 3 Mar 2019 10:24:25 +0100 (CET) From: Christian Baer Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Recognize change of IPv6 prefix Message-Id: <47DC60F0-13FA-46A7-A950-BE5CDFFDD467@debilux.org> Date: Sun, 3 Mar 2019 10:24:33 +0100 To: freebsd-net@freebsd.org X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: 6DC0375855 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of chris@debilux.org designates 2a01:4f8:161:10c7::13 as permitted sender) smtp.mailfrom=chris@debilux.org X-Spamd-Result: default: False [-2.93 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.995,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; DMARC_NA(0.00)[debilux.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[mail.dblx.io]; NEURAL_HAM_SHORT(-0.21)[-0.205,0]; IP_SCORE(-0.92)[ipnet: 2a01:4f8::/29(-2.39), asn: 24940(-2.21), country: DE(-0.01)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Mar 2019 09:24:40 -0000 Hello, does anybody know a way to recognize the change of the IPv6 prefix that = my provider advertises me on FreeBSD? Anytime my prefix changes when establishing a new PPPoE connection on my = UniFi router IPv6 connectivity in the iocage jals breaks until I restart = networking and routing. I would like to automate this process. My workaround is to run a ping6 with monit and restart routing and = networking when it fails a few times but that feels dirty. Best regards Chris -- Christian Baer E-Mail: chris@debilux.org=20 Mobil: +49 160 969 769 37 Naheweinstr. 44, D-55450 Mainz