To search for existing route I’m using following script:
:put [/ip route find dst-address=172.16.90.104/30 interface=ether6]
Although searched IP address exists, script returns no value.
Can you help me find the problem? I’m using it on RouterOS v. 2.9.40
Are you looking route or ip address?
I’m looking for route. Sorry
this script works on v2.9.42 make sure you typed correct dst address and interface
The problem is, that script works in 99% of cases, but sometimes it fails to return the value. When I look for the route in output of /ip route print, it is there, but script does not return it.