SRX

last person joined: yesterday 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 1.  OSPF between SRX and Mikrotik

    Posted 01-13-2016 06:57

    Hi all first post here so be gentle 🙂

    I'm new to JunOS and learning networking as I go along.

     

    Hi all, please see diagram below:
    OSPF forum help request2.png

    I'm trying to get BGP and OSPF working between a Juniper SRX (packet mode) and the rest of our network. This is just a small part of what we have planned but I've broke it down into a small chunk.

    Here's the Juniper's OSPF config:

    # show routing-options router-id 
    router-id 3.3.3.32;
    # show protocols ospf
    area 0.0.0.0 {
    area 0.0.0.0 {
    interface lo0.0;
    interface ge-0/0/14.0;
    }
    }

    And the Mikrotik's OSPF:

    > routing ospf export
    /routing ospf instance
    set [ find default=yes ] router-id=3.3.3.34
    /routing ospf interface
    add interface=lo0
    /routing ospf network
    add area=backbone network=172.16.1.24/30
    > interface bridge export 
    /interface bridge
    add admin-mac=01:00:00:00:01:00 auto-mac=no name=lo0
    

    Here's the Juniper's OSPF status:

    > show ospf database 
    OSPF database, Area 0.0.0.0
    Type ID Adv Rtr Seq Age Opt Cksum Len 
    Router *3.3.3.32 3.3.3.32 0x8000000e 221 0x22 0xd715 48
    Router 3.3.3.34 3.3.3.34 0x8000000b 410 0x2 0x69d1 36
    Network *172.16.1.25 3.3.3.32 0x80000007 2007 0x22 0xc022 32
    > show ospf neighbor 
    Address Interface State ID Pri Dead
    172.16.1.26 ge-0/0/14.0 Full 3.3.3.34 1 29

    And the MTik's status:

    > routing ospf neighbor pr
    0 instance=default router-id=3.3.3.32 address=172.16.1.25 interface=ether1 priority=128 dr-address=172.16.1.25 backup-dr-address=172.16.1.26 state="Full" state-changes=6 
    ls-retransmits=0 ls-requests=0 db-summaries=0 adjacency=4h38m42s
    ip route pr 
    Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P - prohibit 
    # DST-ADDRESS PREF-SRC GATEWAY DISTANCE
    0 ADo 3.3.3.32/32 172.16.1.25 110
    1 ADC 3.3.3.34/32 3.3.3.34 lo0 0
    2 ADC 172.16.1.24/30 172.16.1.26 ether1 0
    3 DC 192.168.88.0/24 192.168.88.1 ether10 255

     

    I'm not sure if this is quite correct. I can ping the SRX's loopback address from the Mikrotik but not the reverse. From the SRX I get:

    > ping 3.3.3.34 
    PING 3.3.3.34 (3.3.3.34): 56 data bytes
    ping: sendto: No route to host

    Seems like I'm missing something fundamental on the SRX. Can anyone help?

    Many thanks for reading

    NTB



  • 2.  RE: OSPF between SRX and Mikrotik
    Best Answer

    Posted 01-13-2016 14:50

    Hello,

    I am no expert on Mikrotik, but it looks like it does not advertise its lo0 prefix to SRX.

    Please post the following SRX printout:

     

    show ospf database extensive

    I am guessing that following Mikrotik command could help:

     

    /routing ospf network
    add area=backbone network=3.3.3.34/32

    HTH

    Thx

    Alex



  • 3.  RE: OSPF between SRX and Mikrotik

    Posted 01-15-2016 05:13

    That was it!  I got the answer from the Mikrotik forum as well.

     

    Many thanks for your help

     

    NTB

    8o)