bird does not speak OSPF on a GRE tunnel interface

Alexander Velkov alvel85 at googlemail.com
Mon Jun 27 15:19:03 CEST 2016


Hi Michael,

thank you for your answer!

When I explicitly define the tunnel interface as an OSPF interface, then I
see that bird 'talks' on it. That is very nice, thanks!

Best regards,
Alex


On Mon, Jun 27, 2016 at 2:57 PM, Michael Lechtermann <
michael at lechtermann.net> wrote:

> Hi,
>
> I have bird working over are just fine, I am using OpenBSD though instead
> of Linux.
>
> The below example config works for me. Also make sure you allow GRE and
> OSPF packets through your firewall.
>
> Regards,
> Michael
>
>
> # ifconfig gre0 inet
> gre0: flags=9011<UP,POINTOPOINT,LINK0,MULTICAST> mtu 1400
>         priority: 0
>         groups: gre
>         tunnel: init x.x.x.x -> y.y.y.y
>         init a.a.a.a --> a.a.a.b netmask 0xfffffffc
>
>
> # grep -ve ^# -e ^$ /etc/bird.conf
> router id x.x.x.x;
> protocol kernel {
>         scan time 20;           # Scan kernel routing table every 20
> seconds
>         export all;             # Default is export none
> }
> protocol device {
>         scan time 10;           # Scan interfaces every 10 seconds
> }
> protocol static {
> }
> protocol ospf MyOSPF {
>         tick 2;
>         import all;
>         export all;
>         area 0.0.0.0 {
>                 stub no;
>                 interface "lo0" { stub; };
>                 interface "gre0" {
>                         cost 125;
>                         priority 253;
>                         type broadcast;
>                         check link yes;
>                 };
>         };
> }
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20160627/ec6f76c6/attachment.html>


More information about the Bird-users mailing list