TokkNet

Determine route for IP

Tokk DE 45 Wörter ~1 Min.

To determine the route for a specific IP on a system with several gateways, ip route show to match can be used:

user@system:~$ ip route show to match 10.190.10.6
default via 192.168.2.1 dev ens160 proto static
10.0.0.0/8 via 192.168.2.250 dev ens160 proto static src 192.168.2.10