Deleting IPv4 iface-routes from extra FIBs

Harald Schmalzbauer h.schmalzbauer at omnilan.de
Wed Apr 23 08:35:28 UTC 2014


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 at 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



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20140423/b2cb0fc2/attachment.sig>


More information about the freebsd-stable mailing list