Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[ScreenOS] How do I Check if an IP Address is reachable from the Juniper Firewall device?

0

0

Article ID: KB6723 KB Last Updated: 27 Dec 2017Version: 6.0
Summary:
The get route command shows how the Firewall device will route a packet for a given address.  Using this command can help confirm if an IP Address is reachable from the Juniper firewall device.
Solution:

A quick way to look at how the Firewall device will route a packet for a given address is to use the following CLI command:

get route ip <ip address> [Enter]

Example 1:   The following output states that the packet for 10.10.10.1 will be routed to the default gateway for the Untrust Interface on the trust-vr of 1.1.1.1

5xt-> get route ip 10.10.10.1
Routes for 10.10.10.1
---------------------
trust-vr       : => 0.0.0.0/0 (id=3) via 1.1.1.1 (vr: trust-vr)
                    Interface untrust , metric 1

 

Example 2:  The following output states that the packet for 10.15.13.150 will be routed to the tunnel.1 Interface in the trust-vr 

5xt-> get route ip 10.15.13.150
Routes for 10.15.13.150
---------------------
trust-vr       : => 10.15.13.145/28 (id=1) via 0.0.0.0 (vr: trust-vr)
                    Interface tunnel.1 , metric 0

 

Example 3: Displays an output where the packet does not have a static route and a default route is non-existent:

5xt-> get route ip 2.2.2.2
Routes for 2.2.2.2
---------------------
trust-vr       : => none
Modification History:
2017-12-07: Article reviewed for accuracy.

Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search