From owner-freebsd-net@freebsd.org Sun Mar 3 18:48:21 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 1F0BC15147EC; Sun, 3 Mar 2019 18:48:21 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (unknown [IPv6:2001:470:1f0f:3ad::53:2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "*.lerctr.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 57C3E8E5D1; Sun, 3 Mar 2019 18:48:20 +0000 (UTC) (envelope-from ler@lerctr.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date: Content-Transfer-Encoding:Content-Type:MIME-Version:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=1WVUoDUAFlw5cp3+nM3FmbqwNM0Ronfijo0SFku8+TA=; b=pWq190s3Edu8MWvi64+J3D3Sl0 61c3acqBbJw3mOxMaF90pCJR1/9Sx3OQ2Mu9xfbseYVysQWbOmtP6ByGu+WfcUCJJGJXBwuC78IYx mZmuqQFQXeTAWfJBne1drute2aYQT+Fy3N4XeyQGjDYBMeFG+I+mcdiR+1HSp4eAv950=; Received: from thebighonker.lerctr.org ([2001:470:1f0f:3ad:bb:dcff:fe50:d900]:42171 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92 (FreeBSD)) (envelope-from ) id 1h0W9q-000BLJ-6B; Sun, 03 Mar 2019 12:48:18 -0600 Received: from 2600:1700:210:b18f:29b3:3887:c557:f10b by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Sun, 03 Mar 2019 12:48:18 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 03 Mar 2019 12:48:18 -0600 From: Larry Rosenman To: Christian Baer Cc: freebsd-net@freebsd.org, owner-freebsd-net@freebsd.org Subject: Re: Recognize change of IPv6 prefix In-Reply-To: <47DC60F0-13FA-46A7-A950-BE5CDFFDD467@debilux.org> References: <47DC60F0-13FA-46A7-A950-BE5CDFFDD467@debilux.org> Message-ID: X-Sender: ler@lerctr.org User-Agent: Roundcube Webmail/1.3.8 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 18:48:21 -0000 On 03/03/2019 3:24 am, Christian Baer wrote: > 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 > > Mobil: +49 160 969 769 37 > > Naheweinstr. 44, D-55450 Mainz > are you running rtsold? -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106