Re: Trace routing path

Grant Taylor <[email protected]> Wed, 27 Feb 2019 16:36:30 +0000
Newsgroups org.kernel.vger.lartc
Message-ID <[email protected]>
On 02/27/2019 05:45 AM, Anton Danilov wrote:
> Hello.

Hi,

> You can resolve the actual routes with 'ip route get' command.
> Something like this: ip -d route get <dst> from <src> iif
> <input-interface>. It will show the table number if table is not main.

It will also honor names in /etc/iproute2/rt_tables

> ip route get command also supports the filrewall mark specifing (ip -d
> route get <dst> fwmark <mark-value>).

ip also supports realms which might help with troubleshooting.

I'm not aware of anything for ip like iptables's trace.



-- 
Grant. . . .
unix || die
smime.p7s (application/pkcs7-signature, 3.9 KB) - not displayed