Community discussions

MikroTik App
 
petkodmitriy
just joined
Topic Author
Posts: 13
Joined: Mon Apr 23, 2018 8:44 am

routing table lookup

Tue Feb 28, 2023 2:16 pm

how find active route for DST ip ?
"ip route/print where dst-address=172.28.250.32/32" not workking if you are not have the same route
is there an analogue of the rtlookup command in extreme XOS?
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7056
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: routing table lookup

Tue Feb 28, 2023 2:24 pm

print where x.x.x.x in dst-address
 
petkodmitriy
just joined
Topic Author
Posts: 13
Joined: Mon Apr 23, 2018 8:44 am

Re: routing table lookup

Tue Feb 28, 2023 3:41 pm

thanks, that's helpful. but not quite what I asked. This shows all routes that match the parameter. And how to understand which one is active for this ip dst?
and on a small number of routes it still works, but if there is a fullview or several of them, then the response time is huge. I didn't get a response in 10 minutes.
 
petkodmitriy
just joined
Topic Author
Posts: 13
Joined: Mon Apr 23, 2018 8:44 am

Re: routing table lookup

Fri Mar 03, 2023 8:20 pm

any idea?
 
accarda
Member Candidate
Member Candidate
Posts: 208
Joined: Fri Apr 05, 2019 4:06 pm
Location: Italy

Re: routing table lookup

Sat Mar 04, 2023 11:27 am

Did you try this?
print where x.x.x.x in dst-address and active
 
petkodmitriy
just joined
Topic Author
Posts: 13
Joined: Mon Apr 23, 2018 8:44 am

Re: routing table lookup

Sat Mar 04, 2023 1:29 pm

On ROS 6 and fullview its imposible. will have to wait indefinitely. But if you have not so many routes - its works. but this is not my case, unfortunately.

Who is online

Users browsing this forum: GoogleOther [Bot], mbezuidenhout, noyo, pmcsill, tnperron and 207 guests