Configuring a DHCP Server/Relay Proxy

System > Network > Advanced Network > DHCP

By configuring a DHCP server, Hillstone devices can act as a DHCP server to allocate IP addresses for the DHCP clients in the sub networks; by configuring a DHCP relay proxy, the system can act as a DHCP relay proxy to receive requests from a DHCP client and send requests to the DHCP server, and then obtain DHCP information from the server and return it to the client.

In the DHCP page, you can execute the following tasks:

Options in the DHCP Configuration dialog:

Option Description
Basic
Interface

Select an interface to which DHCP server will be applied.

Gateway

Configures a gateway IP for the client.

Netmask

Configures a netmask for the client.

DNS1

Configures a primary DNS server for the client. Type the server's IP address into the text box.

DNS2

Configures an alternative DNS server for the client. Type the server's IP address into the text box.

Start IP/End IP

Configures an IP range in the address pool. The IPs within this range will be allocated. Take the following steps:

  1. Type the start IP and end IP into the Start IP and End IP text boxes respectively.
  2. Click Add to add an IP range item which will be displayed in the list below.
  3. Repeat the above steps to add more items. To delete items, select items you want to delete from the list and click Delete.
Reserved Address
Start IP/End IP

Configure the reserved address settings. IP addresses specified as the Reserved Address, within the IP range of the address pool, are reserved for the DHCP server and will not be allocated. Take the following steps to configure reserved address settings:

  1. Type the start and end IP for an IP range into the Start IP and End IP text boxes respectively.
  2. Click Add to add the IP range item and it will be displayed in the table.
  3. Repeat the above steps to add more items. To delete items, select items you want to delete from the list and click Delete.
IP-MAC Binding
IP Address/MAC Address

Configure IP-MAC Binding. If the IP is bound to a MAC address manually, the IP will only be allocated to the specified MAC address. To configure an IP-MAC Binding, take the following steps:

  1. Type the IP and MAC address into the IP address and MAC text boxes respectively.
  2. Click Add to add the address binding item and it will be displayed in the table.
  3. Repeat the above steps to add more items. To delete items, select items you want to delete from the list and click Delete.
Advanced
Domain

The domain name configured by the DHCP client.

Lease

Specifies a lease time. The value range is 300 to 1048575 seconds. The default value is 3600. Lease is the period during which a client is allowed to use an IP address, starting from the time the IP address is assigned. After the lease expired, the client will have to request an IP address again from the DHCP server.

Auto Configure

Enables automatic configuration. Select an interface with DHCP client enabled on the same gateway from the drop-down list. "---” indicates auto configure is not enabled.

Auto configure will function in the following condition: Another interface with DHCP configured on the Hillstone device enables DHCP client. When auto configure is enabled, if the DHCP server (Hillstone) does not have DNS, WINS or domain name configured, the DHCP client (DHCP) will dispatch the DNS, WINS and domain name information obtained from a connected DHCP server to the host that obtains such information from the DHCP server (Hillstone). However, the DNS, WINS and domain name that are configured manually still have the priority.

WINS1/2

Configures a primary/auxiliary WINS server for the client. Type the server's IP addresses into the text box.

SMTP Server

Configures a SMTP server for the client. Type the server's IP address into the text box.

POP3 Server

Configures a POP3 server for the client. Type the server's IP address into the text box.

News Server

Configures a news server for the client. Type the server's IP address into the text box.

IP/Netmask 1/2/3

Configure the relay agent settings.

When the security gateway (Hillstone1) with DHCP server enabled is connected to another security gateway (Hillstone2) with DHCP relay enabled, and the PC obtains Hillstone1's DHCP information from Hillstone2, then only when the relay agent's IP address and netmask are configured on Hillstone1 can the DHCP information be transmitted to the PC successfully.

Type relay agent's IP address and netmask, i.e., the IP address and netmask for the interface with relay agent enabled on Hillstone2.

Options in the DHCP Relay Proxy dialog:

Option Description
Interface

Select an interface to which the DHCP Relay Proxy will be applied from the  drop-down list.

Server 1/2/3

Type the IP addresses of DHCP servers into the Server 1/Server 2/Server 3 text boxes.