This is an old revision of the document!
The “DHCP” module is located in the “Network” menu. This module is intended for DHCP protocol settings. The “DHCP” module has four tabs: “DHCP server”, “Settings”, “Addresses”, “Log”.
DHCP is the network protocol which allows nodes to obtain IP-address and other necessary network parameters automatically. It allows to avoid manual setup of workstations in the LAN and reduces the mistakes. DHCP is a client-server protocol: to be automatically configured, the workstation-client requests server and get the necessary parameters from it.
You can see it’s status on the main page of the module, the “Disable” button (ot “Enable” when the module is already disabled) and last log messages. If DHCP is not selected on any of the local networks, the module is in the “Not configured” state.
The setup for DHCP is separate for every LAN and is located in the “Providers and networks” module.
To allow DHCP in a LAN, you need to edit the LAN, enable “Allow DHCP in this network” option, and set a range of IP-addresses that will be given to this LAN’s nodes (syntax should be either like 192.168.1.1-192.168.1.100, or like 192.168.1.1\16).
This tab contains the following settings:
Unordered List ItemChoosing the parameters of DNS-servers and a time server allows you to determine whether for all users receiving addresses automatically ICS CUBE or third-party servers will be used as a DNS server and a time server.
WINS server field - allows you to specify the WINS server issued to clients for resolving Netbios names. https://en.wikipedia.org/wiki/Windows_Internet_Name_Service
URL of TFTP server field - allows you to specify the TFTP issued to clients from which a thin client can be downloaded.
Least time of IP (in minutes) field - allows you to specify the lease period for the address. At the end of this period, if the client with the given address is not in the network, the record of the address issuance is cleared and it can be issued to the new client (if IP and mac addresses are not mapped).
DNS zone for auto registration of addresses field allows you to specify one of the previously created DNS zones in which new users who receive addresses via DHCP will register as A-records of the form <hostname>. <zonename>.
Publish autoconfiguration script with DHCP checkbox allows you to choose how the proxy server’s automatic settings will be transmitted to the user — automatically or from the address in the next field where the settings file is located.
On the “Addresses” tab you can see all the users which are currently obtaining addresses via DHCP.
If you would like nodes to obtain the same IP every time, you need to make a connection between its MAC-address and the IP-address. To assign the current IP address to the user, you can use the “Connect IP with MAC” button. The connections from the ARP table module will also be used by the DHCP server to issue addresses.
When you click the “Add” button, a window with the IP address and MAC address fields will open, which allows you to add a connection between IP and MAC addresses in the same way.
For IP-addresses set for users, the owner’s names will be shown. If you click on the user name, you will be redirected to his page.
DHCP-server uses the same list of the IP and MAC addresses connections, as the ARP table.
On the “Log” tab you can find a summary of all system messages of the DHCP service. Log is divided into pages, you can navigate between pages using “Next” and “Previous” buttons, or enter the page number to proceed to it directly.
Log entries are marked with color depending on its type. Normal messages are while, system statuses (Enabling/Disabling) are green, errors are red.
In the top right corner there is a search line. You can use it to look for specific log entries. Log always shows events of the current date.
If necessary, you can save log in a file, using the “Export” button or delete the log data for a certain period by clicking the “Delete logs” button.