572
edits
Changes
→Part 2: Configuring the DHCP Server
# Click on the following link to access the online manual page for the following DHCP items to gain an understanding: <ul><li>[http://linux.die.net/man/8/dhcpd dhcpd]</li><li>[https://www.freebsd.org/cgi/man.cgi?query=dhcpd.conf&sektion=5&apropos=0&manpath=FreeBSD+9.0-RELEASE+and+Ports dhcpd.conf]</li><li>[http://linux.die.net/man/5/dhcp-options dhcpd-options]</li><li>[http://linux.die.net/man/5/dhcpd.leases dhcpd.leases]</li></ul>
# Study the sample '''dhcpd.conf''' file to see examples of how these options are used.
# Edit Review the contents of '''/etc/dhcp/dhcpd.conf''' file (see the picture) and examine the top section of the file.# Below the comment labeledBe advised: "'''"option ''' definitions common to all supported networks"'''. Change the existing global options with the <u>newer values</u> shown below, if the '''dhcpd.conf''' file is empty, add them manually:<br><br>'''option domain-name''' '''"ops235.org";'''<br>'''option domain-name-servers''' '''192.168.235.1;'''<br>'''default-lease-time''' '''1200;'''<br>'''max-lease-time''' '''3600;'''<br><br>'''Note:''' Any values for time are stated in seconds.<br><br>
# View your editing sessions for typos (check for missing semicolons), then save and exit your editing session.<br><br>