Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Aug 2014 07:54:03 +0200
From:      Nikolay Denev <nike_d@cytexbg.com>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        FreeBSD Net <freebsd-net@freebsd.org>, Josh Moore <jmoore@devalias.io>
Subject:   Re: Set arbitrary protocol for route?
Message-ID:  <CA%2BP_MZFSKe-nW%2BkrR5S0pQnkC6FStejv3y3O5zK5sxoW8RN88Q@mail.gmail.com>
In-Reply-To: <CAJ-VmonJV4-v=ALE6h9ZgzeV0e2xWpGfS-ABE3mn1e-=vsET7A@mail.gmail.com>
References:  <vj6j7dygt5neoa0ukx3l1rva.1408746830451@email.android.com> <CAJ-VmonJV4-v=ALE6h9ZgzeV0e2xWpGfS-ABE3mn1e-=vsET7A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 23, 2014 at 3:20 AM, Adrian Chadd <adrian@freebsd.org> wrote:
> On 22 August 2014 15:39, Josh Moore <jmoore@devalias.io> wrote:
>> I am trying to add a local route with an arbitrary protocol number.  This is done with iproute2 in Linux by:
>>
>> ip route add to local $ip/32 dev eth0 proto $num
>>
>> How can I do this in FreeBSD 10?
>>
>
> What's that supposed to do?
>
>
>
> -a
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"

Unfortunately I don't think there is a direct equivalent for this on FreeBSD.
This route protocol id on Linux allows let's say different routing
daemons to install routes with it's own protocol ID,
which can be used to select which one has priority.
I think similar proposals sparked some discussions about is the kernel
routing table a FIB or a RIB in the past.

--Nikolay



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BP_MZFSKe-nW%2BkrR5S0pQnkC6FStejv3y3O5zK5sxoW8RN88Q>