Normally true, but RFC3021 refers to a way of conserving addresses by using /31 networks on links that do not require the broadcast capability, ie. point-to-point links. If you to take two machines and connect them directly to each other, they do not need to broadcast to find each other, there are two addresses, one for each end of the cable.
This currently works with most network vendor equipment (cisco, juniper, foundry, etc.) as well as linux and BSDs, so I’m really wondering why it doesn’t work with MikroTik.
what does RouterOS show as the network and broadcast when you do an /ip address print (terse) command ? Did it set the network and broadcast correctly? If not, if you set them manually, does that work?
No no, 10.10.10.1 is still in another subnet. Since it’s a point-to-point network, there is no broadcast. The network 10.10.10.2/31 consists of 10.10.10.2-10.10.10.3. Please read the RFC if you’ve never dealt with /31’s before… It’s an easy read. http://www.faqs.org/rfcs/rfc3021.html
I would skip using an actual /31, and just use two /32s. Specify the remote address as the “network”, and you should be good to go.
This mechanism is more flexible than using /31s, as the addresses don’t need to be adjacent; and more efficient since you can re-use the same address for multiple links on a router.
Would fully interconnect them, using only 4 addresses. In this particular case, we get 3 times the address utilization efficiency of /31 addressing.
In an 8 router full-mesh the efficiency is even more spectacular, with only 8 addresses needed for /32 addressing, while a whopping 56 addresses would be needed for /31 addressing.
Interesting concept, quite a hack!
I’m pretty sure I can’t use that when the other end of the device is a cisco router, so I’m still very much wanting real /31 support. But thanks for your suggestion, it’s a really cool hack
The only problem you may run into is with routing protocols that expect matching subnet masks, such as OSPF. Static routing and BGP will be fine, don’t know about other IGPs.
For point-to-point interfaces this is a non-issue all together.
For a point-to-point interfaces there is no such thing as a subnet or subnet mask. Only IP addresses on both sides.
It is perfectly legal for tunnel terminator to only have one IP on the loopback which every ptp tunnel sees as the “servers IP”.
In other words; Network masks smaller than /32 is a hack for limited stacks.