Hi, I want to set up a gre tunnel between two routers that speak BGP. bird exports the learned route to the kernel with "via": 10.0.1.0/24 via 192.168.88.101 dev eth0 proto bird But with a gre tunnel I'd need something like ip route add 10.0.1.0/24 dev gre0. Is it possible to configure bird that it exports the route to the kernel with "dev <gre>", not with "via <nexthop>"? Thanks for any help or hints in the right direction. 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
Am 09.03.2018 um 21:53 schrieb Clemens Schrimpe:
Is it possible to configure bird that it exports the route to the kernel with "dev <gre>", not with "via <nexthop>"? I think
via "<interface-name>"
works.
Grüße,
Clemens
Can you be a little bit more precise? In what section of the config do I have to add this? bgp? Do you have a documentation link for this? Michael. 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
Anno domini 2018 Michael Schwartzkopff scripsit: Hi,
I want to set up a gre tunnel between two routers that speak BGP. bird exports the learned route to the kernel with "via":
I'm not sure what you are trying to do here. Are the two routers already speaking BGP (eBGP / iBGP?) without the GRE tunnel? Or do you want so speak BGP over the GRE tunnel? Can you draw a picture of the network architecture?
10.0.1.0/24 via 192.168.88.101 dev eth0 proto bird
But with a gre tunnel I'd need something like
ip route add 10.0.1.0/24 dev gre0.
This let's me assume, that you want to route the 10.0.1.0/24 prefix over the tunnel and are trying to signal that via BGP, right?
Is it possible to configure bird that it exports the route to the kernel with "dev <gre>", not with "via <nexthop>"?
That should not be neccessary. Best Max -- Alles sollte so einfach wie möglich gemacht sein. Aber nicht einfacher. (Einstein)
participants (3)
-
Clemens Schrimpe -
Maximilian Wilhelm -
Michael Schwartzkopff