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
0 Kudos
JozkoMrkvicka
Mentor
Mentor

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

    Tue 23 Apr 2024 @ 11:00 AM (EDT)

    East US: What's New in R82

    Thu 25 Apr 2024 @ 11:00 AM (SGT)

    APAC: CPX 2024 Recap

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82

    Tue 23 Apr 2024 @ 11:00 AM (EDT)

    East US: What's New in R82

    Thu 25 Apr 2024 @ 11:00 AM (SGT)

    APAC: CPX 2024 Recap

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82
    CheckMates Events