I’m not sure of the overall picture. Are these /32s public IPs you are assigning or /32s provided by an ISP at each location?
Private addresses… just assigning them to the inside of a tunnel.
If they are RFC1918 addresses why do you want to do anything other than use a /30? Conservation of non-RFC1918 addresses is what drives people into /31 & /32 land usually…
I suppose mine was a theoretical experiment to learn about /32 addressing.
If you add proxy-arp and use the eoip interface as the gateway(s) above then you will be able to ping those 10.x.x.x blocks both ways. However, whether that would be acceptable in a real world scenario might depend on a few other factors.
Gotcha. Thanks for the info.
it is easy to set up addresses using /32 addresses.
on router1 you set up
/ip address add address=10.10.10.10/32 interface=ether2 network=11.11.11.11
on router2 you set up mirror of that:
/ip address add address=11.11.11.11/32 interface=ether2 network=10.10.10.10
now you can manage routing or whatever you want to achieve via this. Key part is to set correct network address.
If you check PPPoE, it is working this way, so you can give out to customers real IP addresses but have a local address on the server (same for all tunnels)
Also, RouterOS do accept any other network mask there is(/30 /31), just you have to configure it properly. So if your main goal is to save addresses nothing is more efficient as /32 addressing.
Agreed…public Class A/B/C is the only reason I would mess with /32 and /31 routing. If you’re using 1918 space only, then do yourself a favor and use a /29. I very rarely provision /30 anymore in the private space between routers because you don’t have to redesign or configure if you want to use an IP in that subnet for troubleshooting or add a node.
Thanks for posting on this topic guys, we use /31s all the time and i was really pulling my hair out trying to figure out why the MT wasn’t able to use them like other network gear. using the /32 on the MT solves it perfectly!
I want to suggest that actually this doesnt solve the problem. Its a work around.
To solve it properly, /31 should be supported.
I could go either way on that…it would be nice to have, but given all the development features requested of MikroTik , I’d rather see MPLS fast reroute or BGP ECMP before /31 addresses.
Sorry if I’m reviving a really old thread, however..
Using 10.0.0.A/32 to link router A-B-C together things that work great:
- OSPF
- MPLS
- LDP
- VPLS (point to point between A-B or B-C)
Things that do not work correctly
- VPLS (between A-C no data RX on either router)
Adding an additional loopback address and using it as a transport address seems to “fix” the problem.
This is on 6.36
Anyone else seeing the same issue?
Are there any plans to support RFC 3021 in RouterOS now ?
This is the way I have tried this with routing protocols ospf and bgp and mpls it all works so my definite recommendation MT<->MT scenario is /32 and use the same IP for all local interfaces on one router. this eliminates the need for loopback interface as the router is the same IP to all interfaces. As MT doesn’t work well with /31’s the only way to interconnect MT<->OtherVendor is by /30’s
I read about MT-MT with /32.
As MT doesn’t work well with /31’s the only way to interconnect MT<->OtherVendor is by /30’s
But I need this. I linked MT(/32) - Linux(/31) but I can’t run OSPF over it (with Quagga). I tried nbma, broadcast
and point-to-point settings for OSPF but all unsuccessful. The best that I reach (with nbma, from log of Quagga):
OSPF: Packet 172.16.64.58 [Hello:RECV]: NetworkMask mismatch on eth2:172.16.64.59 (configured pref
ix length is 31, but hello packet indicates 32).
eth2/Linux: 172.16.64.59/31
RouterOS:
/ip address
add address=172.16.64.58 interface=ether1 network=172.16.64.59
So, does no way to run OSPF without /30 ?
Linux support /32 so switch to /32 and OSPF will work.
Linux support /32 so switch to /32
True. I switched “ip address add 172.16.64.59/31 …” to “ip address add 172.16.64.59/31 peer 172.16.64.59 …” and link continued to work. Ok.
and OSPF will work.
But this not. Quagga isn’t up neighbor with error (with nbma):
OSPF: interface eth2:172.16.64.59: ospf_read network address is not same [172.16
.64.58]
I attempted to switch ospf configuration to point-to-point. This gave some result: I can see neighbor in Quagga now:
172.16.64.58 1 Init/DROther 37.334s 172.16.64.58 eth2:172.16.64.59 0 0 0
but I doesn’ot see neighbor in RouterOS. ![]()
show your quagga configuration
Sorry, I forgot about default firewall after reset configuration on MT. It works, thanks.
Linux:
ip address add 172.16.64.59/32 peer 172.16.64.58 dev eth2
Quagga:
!
interface eth2
ip ospf network point-to-point
!
router ospf
ospf router-id 10.10.10.10
!
network 172.16.64.58/31 area 0.0.0.112
!
area 0.0.0.112 stub
!
MT (6.41.2)
/ip address
add address=172.16.64.58 interface=ether1 network=172.16.64.59
/routing ospf area
set [ find default=yes ] disabled=yes
add area-id=0.0.0.112 default-cost=1 inject-summary-lsas=yes name=stub-area1 type=stub
/routing ospf interface
add interface=ether1 network-type=point-to-point
/routing ospf network
add area=stub-area1 network=172.16.64.58/31
change to
network 172.16.64.58/32 area 0.0.0.112