Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
HO
Participant

Route Info

How do I find out over which IP a certain IP address is routed?
For example, if I search for the interface and the next hop router for the IP 8.8.8.8.

Is there a command  on the firewall gateway?

0 Kudos
2 Replies
HeikoAnkenbrand
Champion Champion
Champion

You can use the following command:

ip route get <IP address>

For example:
ip route get 8.8.8.8

Output:
8.8.8.8 via 192.1.1.2 dev eth2 src 192.1.1.211
                   
- next hop router IP
- outgoing firewall interface

➜ CCSM Elite, CCME, CCTE ➜ www.checkpoint.tips
0 Kudos
JozkoMrkvicka
Authority
Authority

This is bash command.

In case you dont have access to the expert mode, you can use following clish command:

show route destination <IP_address>

Kind regards,
Jozko Mrkvicka

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events