'route get' for Red Hat

Hi everyone,

I've always used the 'route get hostname/ip' function in Solaris to test whether routing is setup correctly for particular hosts.

The 'get' switch doesn't seem to be available for Red Hat. Can anyone offer a suitable alternative?

Many thanks.

---------- Post updated at 04:04 AM ---------- Previous update was at 03:53 AM ----------

as always, after scouring the web, the answer comes up immediately after I post for help. 'tracepath' seems to give info on the interface being used.

many thanks.