Support Support Downloads Knowledge Base Juniper Support Portal 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] Cannot assign an IP address to an interface



Article ID: KB6478 KB Last Updated: 05 Jan 2021Version: 5.0

This article explains how to assign an IP address to an interface.



Cannot assign an IP address to an Interface



To add an IP address to an interface, make sure the interface is bound to a Security Zone. 

set interface <interface-name> zone <zone-name>
set interface <interface-name> ip <IP/Mask>

Example: To assign interface ethernet1 on the trust zone with an IP address of

set interface ethernet1 zone trust
set interface ethernet1 ip

For more information, refer to the 'Addressing an Interface' section of the ScreenOS Concepts & Examples Guide.


Modification History:

2021-01-05: Article reviewed for accuracy. Updated the link for ScreenOS Concept and Example Guide


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