<div dir="ltr">Wow. This settings makes route via interface only? I.e. also undefines gateway?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 5, 2018 at 4:25 PM, Michael Schwartzkopff <span dir="ltr"><<a href="mailto:ms@sys4.de" target="_blank">ms@sys4.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am 05.11.18 um 16:24 schrieb Ondrej Zajicek:<br>
<span class="">> On Sat, Nov 03, 2018 at 09:51:33PM +0100, Michael Schwartzkopff wrote:<br>
>> hi,<br>
>><br>
>><br>
>> I want to export a route learned from BGP to the kernel. but I want to<br>
>> modify the route while exporting because I want to use a VTI instead of<br>
>> the next hop route.<br>
>><br>
>><br>
>> So instead of <a href="http://192.168.0.0/24" rel="noreferrer" target="_blank">192.168.0.0/24</a>  via 10.0.0.1 I want to export<br>
>><br>
>> <a href="http://192.168.0.0/24" rel="noreferrer" target="_blank">192.168.0.0/24</a> dev vti0 to the kernel.<br>
<br>
<br>
<br>
>><br>
>> Is this possible with bird? If yes, how can I acchieve this?<br>
> Hi<br>
><br>
> Attached patch (one for BIRD 1.6, one for BIRD 2.0) will allow<br>
> that by making route attribute ifname read/write. So it could<br>
> be done by<br>
><br>
>   ifname = "vti0";<br>
><br>
> in filters.<br>
><br>
> Compared to setting gateway it may be slower if there are plenty<br>
> of interfaces as the lookup is not cached.<br>
><br>
<br>
<br>
</span>Cool! thanks.<br>
<br>
<br>
I will try to patch and to test.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
Mit freundlichen Grüßen,<br>
<br>
-- <br>
<br>
[*] sys4 AG<br>
<br>
<a href="https://sys4.de" rel="noreferrer" target="_blank">https://sys4.de</a>, +49 (89) 30 90 46 64<br>
Schleißheimer Straße 26/MG,80333 München<br>
<br>
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263<br>
Vorstand: Patrick Ben Koetter, Marc Schiffbauer, Wolfgang Stief<br>
Aufsichtsratsvorsitzender: Florian Kirstein<br>
<br>
<br>
</div></div></blockquote></div><br></div>