routing

Asked by jacek

what is the command to find a next hop in linux but for a network, for example if I use: ip route get 192.168.1.1 it will find the next hop but only for the host, but what is the syntax for the network?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
jacek
Solved:
Last query:
Last reply:
Revision history for this message
José Ernesto Dávila Pantoja (josernestodavila) said :
#1

Hi, if you use the tracerroute command you can get the next hop for your network.

Revision history for this message
jacek (jacekb57) said :
#2

my question ism if in linux there is a command for finding next hop for a network, and if yes, what is the syntax?