A static route to a different VRF doesn't seem to work when pointing to local IP.
I'm trying to reach the loopback 10.0.0.1 which is in vrf2 from the main vrf, but there is no response :
[admin@MikroTik] > ping 10.0.0.1 vrf=main
SEQ HOST SIZE TTL TIME STATUS
0 10.0.0.1 timeout
1 10.0.0.1 timeout
2 10.0.0.1 timeout
3 10.0.0.1 84 64 125ms520us host unreachable
sent=5 received=0 packet-loss=100
[admin@MikroTik] > ip route/print detail
Flags: D - dynamic; X - disabled, I - inactive, A - active; c - connect, s - static, r - rip, b - bgp, o - ospf, d - dhcp, v - vpn, m - modem, y - copy; H - hw-offloaded;
+ - ecmp
0 As dst-address=10.0.0.1/32 routing-table=main pref-src="" gateway=loopback0@vrf2 immediate-gw=loopback0 distance=1 scope=30 target-scope=10 suppress-hw-offload=no
DAc dst-address=192.168.5.0/24 routing-table=main gateway=ether1 immediate-gw=ether1 distance=0 scope=10 suppress-hw-offload=no local-address=192.168.5.23%ether1
DAc dst-address=10.0.0.0/24 routing-table=vrf2 gateway=loopback0@vrf2 immediate-gw=loopback0 distance=0 scope=10 suppress-hw-offload=no
local-address=10.0.0.1%loopback0@vrf2
[admin@MikroTik] > export
# jan/02/2022 16:39:24 by RouterOS 7.1.1
# software id =
#
/interface bridge
add name=loopback0
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip vrf
add interfaces=loopback0 name=vrf2
/ip address
add address=10.0.0.1/24 interface=loopback0 network=10.0.0.0
/ip dhcp-client
add add-default-route=no interface=ether1
/ip route
add disabled=no distance=1 dst-address=10.0.0.1/32 gateway=loopback0@vrf2 pref-src="" routing-table=main scope=30 suppress-hw-offload=no target-scope=10
Is this a bug ?
I'm running 7.1.1
Thank you.