Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
New Contributor III

Traceroute on FortiOS CLI thru Specific Interface

Hi All,


I'm using a Forti 200D with 4 WANs.

Wondering if its possible to set which WAN interfaces that a trace route will use. 


Thank you.



traceroute on any device will always use the corresponding route for the target. If there is no statc route for the target it will use the default route. If you have 4 WAN then you either use sd-wan (then the sd-wan decides which wan is used accoarding to the balancing algorithm you chose) or you have to have foour default routes with diffrent priority or distance and then those are used top down by prop/sdistance.


I don't think you can tell traceroute to use a specific interface.


"It is a mistake to think you can solve any major problems just with potatoes." - Douglas Adams

-- "It is a mistake to think you can solve any major problems just with potatoes." - Douglas Adams

If you want to traceroute through a specific path out of 4 options, set a static route for the traceroute destination (/32) to the interface.


Thank you to both for your input. Will test out the static route / priority function to set the traceroute path.


Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Top Kudoed Authors