Knowledge Search


×
 

[ScreenOS] How to configure the NetScreen firewall as a DHCP server

  [KB4243] Show Article Properties


Summary:
This article provides information on how to configure a NetScreen firewall as a DHCP server.
Symptoms:
How to configure the NetScreen firewall as a DHCP server.
Cause:

Solution:
Note: This article is applicable to ScreenOS 5.0 and higher. 
           This article is not applicable to NS500, ISG1000, ISG2000, NS5200, and NS5400.
           DHCP server is not supported on NS500, ISG1000, ISG2000, NS5200, and NS5400.

To configure your NetScreen as a DHCP server, perform the following steps:

Step oneOpen the WebUI. For assistance, refer to KB4060 - Accessing Your NetScreen, SSG, or ISG Firewall Using the WebUI
Step twoFrom the NetScreen options menu, click Network, and then click DHCP.

Image of step two

Step threeFrom Configure, click Edit.

Image of step three

Step fourFrom the DHCP list, click to select DHCP Server.

Image of step four and five

Step five From the DHCP server settings menu, enter the values that your NetScreen will assign to DHCP clients:
  • Gateway: This address will be used by the DHCP clients as the default gateway.
  • Netmask: This is the subnet mask that will be used by the DHCP clients.
  • DNS#1: This address will be used as the primary Domain Name Server by the DHCP clients.
  • WINS#1: This address will be used as the primary Windows Internet Naming Server by the DHCP clients.

Step sixClick Apply.

Image of step six

Note: You will now see three additional options.

Step sevenFrom the additional options list, click Addresses.

Image of step seven

Step eightFrom the DHCP Server Address List page, click New.

Image of step eight

Step nineFrom the IP Address Start text box, enter the beginning IP address of the DHCP range, and from the IP Address End text box, enter the ending IP address of the DHCP range.

Image of step nine and ten

Step tenClick OK.

Configuring the DHCP server settings via the CLI:
set interface ethernet2/4 dhcp server service
set interface ethernet2/4 dhcp server enable
set interface ethernet2/4 dhcp server option lease 1440000
set interface ethernet2/4 dhcp server option gateway 192.168.0.1
set interface ethernet2/4 dhcp server option netmask 255.255.255.0
set interface ethernet2/4 dhcp server option dns1 192.168.0.100
set interface ethernet2/4 dhcp server ip 192.168.0.10 to 192.168.0.100
set interface ethernet2/4 dhcp server config next-server-ip
Related Links: