[j-nsp] problem with ospf between linux/quagga and JunOS via GRE interface

Sergey a_s_y at sama.ru
Fri Nov 19 09:40:35 EST 2010


Hello.

I attempt to configure OSPF via gre tunnel. Tunnel works now (tested
by ping/telnet/ssh), but OSPF no. I see OSPF Helo in GRE on Linux side:

15:58:56.169163 IP x.x.x.189 > 224.0.0.5: OSPFv2, Hello, length 48
15:59:01.126895 IP x.x.x.190 > 224.0.0.5: OSPFv2, Hello, length 44
15:59:06.170099 IP x.x.x.189 > 224.0.0.5: OSPFv2, Hello, length 48
15:59:10.566612 IP x.x.x.190 > 224.0.0.5: OSPFv2, Hello, length 44
15:59:16.170182 IP x.x.x.189 > 224.0.0.5: OSPFv2, Hello, length 48
15:59:19.227925 IP x.x.x.190 > 224.0.0.5: OSPFv2, Hello, length 44

but I can't see incoming packets on M7i side. :-(

x.189 - Linux/Quagga 0.99.17
x.190 - M7i/JunOS 9.2R3.5

If I move Linux side endpoint to Cisco router then OSPF works without any
reconfigurations on M7i/JunOS.

====== GRE/JunOS:

# show interfaces gr-1/2/0.2
point-to-point;
tunnel {
    source y.y.y.212;
    destination z.z.z.5;
}
family inet {
    address x.x.x.190/30;
}

====== GRE/Linux

15: gre1: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1476 qdisc noqueue state UNKNOWN
    link/gre z.z.z.5 peer y.y.y.212
    inet x.x.x.189 peer x.x.x.190/32 brd x.x.x.191 scope global gre1

or (I tested both)

15: gre1: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1476 qdisc noqueue state UNKNOWN
    link/gre z.z.z.5 peer y.y.y.212
    inet x.x.x.189/30 brd x.x.x.191 scope global gre1

OSPF/Linux/Quagga

!
interface gre1
!
router ospf
 ospf router-id z.z.z.5
 network x.x.x.188/30 area 0.0.0.0
!

I attempt to add "ip ospf network point-to-point" to gre1 (similar Cisco),\
but it is invisible. Is default or is unsupported ?

====== GRE/Cisco

!
interface Tunnel0
 ip address x.x.x.189 255.255.255.252
 ip mtu 1452
 ip ospf network point-to-point
 tunnel source z.z.z.5
 tunnel destination y.y.y.212
!

Who might have something to recommend ?

-- 
Regards,
Sergey


More information about the juniper-nsp mailing list