Community discussions

MikroTik App
 
divB
newbie
Topic Author
Posts: 32
Joined: Mon Jul 06, 2015 8:18 pm

How to do OSPF with pt(m)p over a /31 tunnel?

Tue Oct 19, 2021 9:03 am

How can I properly add neighbors for ptp and ptmp?

There is only an "NBMA Neighbors" tab and "Neighbors" is readonly.

Also, what is the proper way to configure OSPF over a point-to-point link (IPIP or GRE) with a /31 network? Say the tunnel endpoint has 192.168.1.254/31 and the Mikrotik has 192.168.1.255/31. What would I enter in "Networks"? In my opinion, "192.168.1.255/31" would be proper but then I get "Error in Network - network address expected". I also tried 192.168.1.254/31, and both 192.168.1.254 and 192.168.1.255 at the same time.

Any help appreciated!
 
millenium7
Long time Member
Long time Member
Posts: 538
Joined: Wed Mar 16, 2016 6:12 am

Re: How to do OSPF with pt(m)p over a /31 tunnel?

Sun Oct 24, 2021 3:26 am

The simple solutions (if possible) are
1) don't use /31 it has issues in mikrotik, just use /32 which you can use the same addressing anyway, or you can totally save on it and use just 1 IP address on the hub router for all neighbours
2) use point to point type, ptmp also has issues. Simply create 1 VLAN per neighbour. As long as you don't have MTU issues it's going to work much better
 
divB
newbie
Topic Author
Posts: 32
Joined: Mon Jul 06, 2015 8:18 pm

Re: How to do OSPF with pt(m)p over a /31 tunnel?  [SOLVED]

Mon Oct 25, 2021 7:41 am

Thanks. I finally got it working with ptp.
In the end, even with the /31.

EDIT: Just for future reference: Check the other tunnel endpoint!
Linux (and derived systems) have the inconvenient property of setting the tunnel ttl to "inherit". OSPF sets TTL=1 (since they should just go one hop). With ttl=inherit, the encapsulated packet will also have TTL=1 and be discarded by the first router.

Who is online

Users browsing this forum: No registered users and 14 guests