From owner-freebsd-stable@FreeBSD.ORG Wed Apr 23 08:35:28 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 786B7C84 for ; Wed, 23 Apr 2014 08:35:28 +0000 (UTC) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DB47712D4 for ; Wed, 23 Apr 2014 08:35:27 +0000 (UTC) Received: from mh0.gentlemail.de (mh0.gentlemail.de [78.138.80.135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id s3N8ZJLH083428 for ; Wed, 23 Apr 2014 10:35:24 +0200 (CEST) (envelope-from h.schmalzbauer@omnilan.de) Received: from titan.inop.mo1.omnilan.net (titan.inop.mo1.omnilan.net [IPv6:2001:a60:f0bb:1::3:1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 19580366B; Wed, 23 Apr 2014 10:35:19 +0200 (CEST) Message-ID: <53577B46.2010404@omnilan.de> Date: Wed, 23 Apr 2014 10:35:18 +0200 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: FreeBSD Stable Subject: Re: Deleting IPv4 iface-routes from extra FIBs References: <53569ABA.60007@omnilan.de> In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigC03D3F4236BF98097829ED29" X-Greylist: ACL 119 matched, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [78.138.80.130]); Wed, 23 Apr 2014 10:35:24 +0200 (CEST) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: 78.138.80.135; Sender-helo: mh0.gentlemail.de; ) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Apr 2014 08:35:28 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC03D3F4236BF98097829ED29 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Bez=C3=BCglich Nikolay Denev's Nachricht vom 22.04.2014 22:38 (localtime)= : > On Tue, Apr 22, 2014 at 5:37 PM, Harald Schmalzbauer > wrote: =E2=80=A6 >> >> Desired solution: >> =C2=B7 Allow deletion of v4-iface-routes if FIB!=3D0. =E2=80=A6 > As it was suggested before as immediate workaround you can set > net.add_addr_allfibs=3D0 so that the interface routes are added only in= > the default FIB. Thanks Nikolay, that was new to me! Unfortunately this only affects inet (v4) routes and doesn't work well when configuring iface IPs at jail start =E2=80=93 the corresponding ifac= e route stays absent. So I still have to delete inet6 routes and for consistency I prefere to do the same for inet routes, instead of trying to add iface-routes at another place=E2=80=A6 Are you involved in decisions how this shall be handled in the future? I vote for the smart 'route' way; allow iface-routes to be deleted if parameter "-fib !=3D net.my_fibnum" Thanks, -Harry --------------enigC03D3F4236BF98097829ED29 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAlNXe0YACgkQLDqVQ9VXb8hXmQCfThDwUbNkJoyuP0a39eRY5OPg Z60AnR14W9N2aIMiFltPcmeBBA+uwqr9 =Cum0 -----END PGP SIGNATURE----- --------------enigC03D3F4236BF98097829ED29--