Community discussions

MikroTik App
 
Guscht
newbie
Topic Author
Posts: 29
Joined: Thu Jul 01, 2010 5:32 pm

OSPF / PTMP no subnets

Sun Oct 04, 2020 12:22 am

Hi,

I discovered, that with the OSPF network-type PTMP only /32 adresses are transmitted, which results in a lost connectivity regarding the IP behind the router:

ptmp.jpg

As you can see 10.1.0.1 and 10.2.0.1 are derived from OSPF. Which means, I can not ping a host like 10.1.0.254.

White the all other network-types correct subnets are transmitted:

broadcast.jpg

Here you can see the right subnets 10.1.0.0/24 and 10.2.0.0/24 are derived from OSPF. Connectivity is possbile, and the ping gets a response.

My further findings: Only one IP per Interface is transmitted as /32 with PTMP.
Example: A Bridge with an IP 10.1.0.1/24 and 10.1.0.2/24. Only the 10.1.0.1/24 is transmitted as 10.1.0.1/32.
If I disable that IP, the second 10.1.0.2/24 is transmitted as 10.1.0.2/32. But re-enabling the first IP does not bring back the .1 IP. Per Interface (Bridge/VLAN/etc...) always the first IP that is up "wins" with PTMP.

MT-Wikis says:
Discovery on PTMP Subnets
Point-to-MultiPoint treats the network as a collection of point-to-point links.

When i interpret "point-to-point link" as as /32, then it works correct to this point.

The real problem is that in a common scenario a lot IPs are not bound to an dedicated Interface.

E. g. hosts behind a router which runs DHCP on a Bridge/VLAN/ether Interface are literally unreachable, because the IPs the DHCP hands out are not bound to an dedicated Interface of the router and wont get transmitted as /32 via OSPF/PTMP.

Is this behaviour Mikrotik specific or is this "per design" of the PTMP network-type?
I see no sense behind this logic? All it does, it results in a lost connectivity for all IPs not bound to dedicated Interface.

Regards
You do not have the required permissions to view the files attached to this post.
 
User avatar
xvo
Forum Guru
Forum Guru
Posts: 1130
Joined: Sat Mar 03, 2018 1:12 am
Location: Moscow, Russia

Re: OSPF / PTMP no subnets

Sun Oct 04, 2020 2:45 am

MT-Wikis says:
Discovery on PTMP Subnets
Point-to-MultiPoint treats the network as a collection of point-to-point links.
Is this behaviour Mikrotik specific or is this "per design" of the PTMP network-type?
It works exactly as stated in your quote - you end up with bunch of /32 addresses.
For anything "in between" there won't be a route.
Broadcast network type is what you use in scenarios you described (for connected networks).
If there are no other routers there then put the "passive" tick.
 
Guscht
newbie
Topic Author
Posts: 29
Joined: Thu Jul 01, 2010 5:32 pm

Re: OSPF / PTMP no subnets

Sun Oct 04, 2020 3:20 am

Thank you!

Could you please explain the sense behind this? I see no practical reason to distribute /32 routes.
Each router can reach each router - but the hosts in the networks connected to the router cannot reach other hosts in network connected to other routers?

Id love to understand why (in which situations) Id use PtMP?
 
User avatar
xvo
Forum Guru
Forum Guru
Posts: 1130
Joined: Sat Mar 03, 2018 1:12 am
Location: Moscow, Russia

Re: OSPF / PTMP no subnets

Sun Oct 04, 2020 12:43 pm

Could you please explain the sense behind this? I see no practical reason to distribute /32 routes.
Each router can reach each router - but the hosts in the networks connected to the router cannot reach other hosts in network connected to other routers?
It is suited fine for point-to-point links (tunnels, etc.) where there is simply nothing else except the other side of the link.
Id love to understand why (in which situations) Id use PtMP?
Same goes for point-to-multipoint - you use it when all the "clients" are other routers.
This way you get proper set of /32 routes for each point-to-point in that point-to-multipoint setup.

Once again, both modes are not suited for the networks where you have devices that don't run OSPF.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 6168
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: OSPF / PTMP no subnets

Mon Oct 05, 2020 1:30 pm

You use PtMP on non broadcast networks where hosts in the same L2 network cannot reach each other directly.
 
User avatar
IPANetEngineer
Trainer
Trainer
Posts: 1312
Joined: Fri Aug 10, 2012 6:46 am
Location: Jackson, MS, USA
Contact:

Re: OSPF / PTMP no subnets

Mon Oct 05, 2020 3:27 pm

Id love to understand why (in which situations) Id use PtMP?

PtMP was very commonly implemented about 10 to 15 years ago in Frame Relay and ATM networks that were not broadcast capable but could otherwise have more than two hosts on a Layer 2 segment.

It is sometimes used in wireless networks with more than 2 hosts in a subnet that will form an OSPF adjacency.
Global - MikroTik Support & Consulting - English | Español | Serbian | Danish +1 855-645-7684
https://iparchitechs.com/ecosystem/mikr ... consulting mikrotiksupport@iparchitechs.com

Who is online

Users browsing this forum: No registered users and 10 guests