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] Where do I set the external default gateway?

0

0

Article ID: KB5712 KB Last Updated: 25 May 2019Version: 6.0
Summary:
This article provides information on how to set the external default gateway.
Symptoms:

How to set the external default gateway.

Solution:

To set the external default gateway, perform the following steps:

Open the WebUI. For more information on accessing the WebUI, refer to KB4317 - [ScreenOS] Accessing your Juniper firewall device using the WebUI .

 From the ScreenOS options menu, click Network, select Routing, and then click Destination:

 Click New:

Image of step three

 In the Network Address / Netmask text fields, type 0.0.0.0/0:

Image of step four

Select the Gateway radio button:

Image of step five and six

 From the Interface drop-down menu, select an interface. In the Gateway IP Address text field, type the default gateway IP address.

Note: In this example, 'ethernet3' is bound to the untrust interface and '1.1.1.1' is the Internet router's IP address.


Click OK:

Image of step

Note: All routes must be entered via the routing table by using the 'set route [x.x.x.x/x]' command.

Via the CLI:
set route 0.0.0.0/0 interface ethernet3 gateway 1.1.1.1/32
Modification History:
2019-05-25: Minor, non-technical edit.
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