Set SRC PREF for routes when injecting routes to kernel

Ondrej Zajicek santiago at crfreenet.org
Mon Jan 15 16:38:27 CET 2018


On Mon, Jan 15, 2018 at 03:00:52PM +0100, Olda Plchot wrote:
> Hi everybody,
>   I am wondering what is the state of krt_prefsrc or something similar that
> would work in FreeBSD? I was experimenting with this some time ago and I
> ended up having to do NAT on the inner address for the router to reach
> internet through specific address as the prefix that is set on our outer
> interface (BGP routing prefix) is not globally advertised. I am not a big
> expert on FreeBSD, so my question is, does the kernel support similar route
> attributes so that it can be added to bird? Now the documentation lists
> these options as Linux specific, and especially krt_prefsrc would come in
> handy also on non-linux systems.

Hi

It is not supported in BIRD, but i also don't know whether such route
attributes are supported in FreeBSD kernel. Unfortunately this part of
kernel API is rarely well-documented, and man 4 route does not show
anything relevant.

-- 
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20180115/efb7105f/attachment.asc>


More information about the Bird-users mailing list