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:
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