Support Support Downloads Knowledge Base Service Request 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

How to set DHCP Server lease time to unlimited

0

0

Article ID: KB13015 KB Last Updated: 06 Aug 2010Version: 2.0
Summary:
ScreenOS 5.4 and 6.x have different methods of setting the firewall's DHCP Server lease time to unlimited.
Symptoms:
Because the commands to set the DHCP Server lease time to unlimited is different between ScreenOS versions, the customer may see the following error when applying the same command supported in 5.4.x on a firewall running 6.x:

ssg5-v92-wlan-> set interface bgroup0 dhcp server option lease 0
                                                               ^---
0 is not within the valid range (1 - 71582788)

Solution:

ScreenOS 5.4:

Set the lease time to unlimited by setting the parameter to the value 0:
ssg5-serial-> set int eth0/0 dhcp server option lease 0
ssg5-serial-> get config | i dhcp
     set interface ethernet0/0 dhcp server option lease -1
ssg5-serial-> get int eth0/0 dhcp server option
DHCP Server Options:
        Lease:      Unlimited


ScreenOS 6.x:

Set the lease time to unlimited by setting the parameter to the maximum time value:
ssg5-v92-wlan-> set int eth0/1 dhcp server option lease 71582788
ssg5-v92-wlan-> get int eth0/1 dhcp server option
DHCP Server Options:
        Lease:      Unlimited




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

Security Alerts and Vulnerabilities

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