Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Apr 2014 10:35:18 +0200
From:      Harald Schmalzbauer <h.schmalzbauer@omnilan.de>
To:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: Deleting IPv4 iface-routes from extra FIBs
Message-ID:  <53577B46.2010404@omnilan.de>
In-Reply-To: <CA%2BP_MZH_iScuJ4S=xiKocnEwTzT1eRJPNpJKbboZDfG3B=TBzA@mail.gmail.com>
References:  <53569ABA.60007@omnilan.de> <CA%2BP_MZH_iScuJ4S=xiKocnEwTzT1eRJPNpJKbboZDfG3B=TBzA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Bezüglich Nikolay Denev's Nachricht vom 22.04.2014 22:38 (localtime):
> On Tue, Apr 22, 2014 at 5:37 PM, Harald Schmalzbauer
> <h.schmalzbauer@omnilan.de> wrote:
…
>>
>> Desired solution:
>> · Allow deletion of v4-iface-routes if FIB!=0.
…
> As it was suggested before as immediate workaround you can set
> net.add_addr_allfibs=0 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 – the corresponding iface 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…

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 != net.my_fibnum"

Thanks,

-Harry




[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iEYEARECAAYFAlNXe0YACgkQLDqVQ9VXb8hXmQCfThDwUbNkJoyuP0a39eRY5OPg
Z60AnR14W9N2aIMiFltPcmeBBA+uwqr9
=Cum0
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53577B46.2010404>