> Source: [sk115117](https://support.checkpoint.com/results/sk/sk115117)

# sk115117 - Wrong routing decision for routes learnt via RIM and redistributed into OSPF while using MEP

| Property | Value |
|----------|-------|
| Solution ID | sk115117 |
| Date Created | 2016-12-21 |
| Last Modified | 2017-04-09 |
| Technical Level | Advanced |
| Products | Security Gateway |
| Versions | R82.10, R82, R81.20 |
| OS | Gaia |

## Symptoms

- * VPN MEP Security Gateways redistribute the RIM routes into OSPF.

* The OSPF database on these VPN MEP Security Gateways contains duplicate entries for the same RIM route that comes from both MEP Security Gateways.

  *Example*:

  ```
  
  HostName> show ospf database
  Link ID           ADV Router           Age    Seq Num      Checksum   Tag
  192.168.160.12    192.168.8.2          1416   0x8000007e    0x614f    0x00000000
  192.168.160.12    192.168.1.2          1409   0x80000488    0x3d3a    0x00000000
  ```

* Changing the primary MEP Security Gateway for the VPN peer and installing the security policy resolves the issue.

## Cause

Mishandling of OSPF LSA.

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
