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

Error Message: 'There Are no DHCP Addresses Available'

0

0

Article ID: KB6212 KB Last Updated: 22 Jun 2010Version: 6.0
Summary:

Error Message: 'There Are no DHCP Addresses Available'

Symptoms:

Environment:

  • NetScreen configured as DHCP server
  • PC configured to obtain addresses dynamically via DHCP

Symptoms & Errors:

  • PC Trying to obtain DHCP address from NetScreen, and receives error: "There are no DHCP Addresses Available"
Solution:

Note: This article applies to ScreenOS 4.0 and higher.

There are two possible reasons for why you could receive a 'There are no DHCP addresses available' error message:

  • The range of IP addresses to be offered from the NetScreen as a DHCP server has been exceeded.
  • There is not an IP address range specified for the DHCP server.

Open the CLI. For more information on how to open the CLI, go to Accessing the Command Line Interface Using Telnet.

 To check the list of IP addresses allocated by DHCP, enter get dhcp server ip.

note: In this example, all IP addresses allocated by the DHCP server display as follows:

ns5xt-> get dhcp server ip
       IP               State        MAC        Lease Time
 10.251.7.51            COMMIT  *000a27b0c2c0   1440 minutes
 10.251.7.50            COMMIT  *00055d25c881   1440 minutes
 10.251.7.52            COMMIT  *0001039a5045   1440 minutes
 10.251.7.53            COMMIT  *00055dee7868   1440 minutes

note: If you have any available space, an IDLE entry will display.

ns5xt-> get dhcp server ip
       IP               State        MAC        Lease Time
 10.251.7.51            IDLE
 10.251.7.50            COMMIT  *00055d25c881   1440 minutes
 10.251.7.52            COMMIT  *0001039a5045   1440 minutes
 10.251.7.53            COMMIT  *00055dee7868   1440 minutes

To expand the list of IP addresses to be allocated for DHCP, enter set interface trust dhcp server.

set interface trust dhcp server ip 10.251.7.51 to 10.251.7.60 [Enter]

If the IP address range for your DHCP server returns blank, this typically means the IP address range was not set correctly.

ns50-> get dhcp server ip
       IP               State        MAC        Lease Time

Occasionally users erroneously specify the IP Pool setting, and incorrectly assume this is for DHCP. However, IP Pool is used only to allocate IP addresses for NetScreen-Remote clients connecting through a VPN using either L2TP or XAuth. In addition, the DHCP allocated IP address range can be applied using the set interface dhcp server ip command.

set interface dhcp server ip 10.251.7.51 to 10.251.7.60 [Enter]

note: IP Pool is used only to allocate IP addresses for NetScreen-Remote clients coming in through a VPN using either L2TP or XAuth
 

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