Hi, 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. >From my point of view you can consider such options: - patch bird with custom protocol, which will do the thing - 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 - 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
On Sat, Nov 3, 2018 at 9:51 PM, Michael Schwartzkopff <m...@sys4.de> wrote: > hi, > > > I want to export a route learned from BGP to the kernel. but I want to > modify the route while exporting because I want to use a VTI instead of > the next hop route. > > > So instead of 192.168.0.0/24 via 10.0.0.1 I want to export > > 192.168.0.0/24 dev vti0 to the kernel. > > > Is this possible with bird? If yes, how can I acchieve this? > > > Mit freundlichen Grüßen, > > -- > > [*] sys4 AG > > https://sys4.de, +49 (89) 30 90 46 64 > Schleißheimer Straße 26/MG,80333 München > > Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 > Vorstand: Patrick Ben Koetter, Marc Schiffbauer, Wolfgang Stief > Aufsichtsratsvorsitzender: Florian Kirstein > > >