with GNS3 I have simulated a small network area that also causes problems on a large scale. the ROS version used is 6.48.3, which is the latest stable. The problem occurs when I set up a second OSPF area on the Mikrotik (CHR3). Then no more OSPF routes can be found via "ip route print", but the routes are still listed via "routing ospf lsa print". As soon as I remove the second area, the routes are back.
If I replace the Mikrotik with a Cisco, the problem does not exist and everything works.
Here the configs.
CHR1
Code: Select all
/routing ospf instance
set [ find default=yes ] distribute-default=if-installed-as-type-1 \
redistribute-connected=as-type-1
/ip address
add address=10.0.0.1/30 interface=ether2 network=10.0.0.0
/ip dhcp-client
add !dhcp-options disabled=no interface=ether1
/ip firewall nat
add action=masquerade chain=srcnat out-interface=ether1
/routing ospf network
add area=backbone network=10.0.0.0/30
/system identity
set name=CHR1
CHR2
Code: Select all
/routing ospf area
add area-id=0.0.0.10 name=area10
/routing ospf instance
set [ find default=yes ] distribute-default=if-installed-as-type-1 \
redistribute-connected=as-type-1 router-id=10.0.0.2
/ip address
add address=10.0.0.2/30 interface=ether1 network=10.0.0.0
add address=10.10.0.1/24 interface=ether2 network=10.10.0.0
/routing ospf network
add area=backbone network=10.0.0.0/30
add area=area10 network=10.10.0.0/24
/routing ospf virtual-link
add neighbor-id=10.10.0.6 transit-area=area10
/system identity
set name=CHR2
CHR3
Code: Select all
/routing ospf area
add area-id=0.0.0.10 name=area10
add area-id=0.0.0.20 name=area20
/routing ospf instance
set [ find default=yes ] redistribute-connected=as-type-1 router-id=10.10.0.6
/ip address
add address=10.10.0.6/24 interface=ether1 network=10.10.0.0
add address=5.5.5.5/24 interface=ether2 network=5.5.5.0
/routing ospf network
add area=area10 network=10.10.0.0/24
add area=area20 network=5.5.5.0/24 # when is removed then i can see the OSPF routes "ip route print"
/routing ospf virtual-link
add neighbor-id=10.0.0.2 transit-area=area10
/system identity
set name=CHR3
CHR4
Code: Select all
/routing ospf area
add area-id=0.0.0.20 name=area20
set [ find default=yes ] redistribute-connected=as-type-1
/ip address
add address=5.5.5.1/24 interface=ether1 network=5.5.5.0
/routing ospf network
add area=area20 network=5.5.5.0/24
/system identity
set name=CHR4
here an screenshot with and without the OSPF network entry