<div dir="ltr"><div>Hi,</div><div><br></div><div>As far as I know, it is not possible to transform BGP routes (with gateway) into device routes in the bird itself. But may be somebody else knows the trick.</div><div>From my point of view you can consider such options:</div><div>- patch bird with custom protocol, which will do the thing</div><div>- add some fictional remote address to the device and use it as a gateway, for L3 device arp should not be used, so it should not be actually configured on the remote side</div><div>- export routes to some other kernel table and run some software that monitors this table (through netlink for example) and clones that routes to the dev-routes you need<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Nov 3, 2018 at 9:51 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">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>
Is this possible with bird? If yes, how can I acchieve this?<br>
<br>
<br>
Mit freundlichen Grüßen,<br>
<span class="HOEnZb"><font color="#888888"><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>
</font></span></blockquote></div><br></div>