Open main menu

CDOT Wiki β

Changes

OPS235 Lab 8 - CentOS7

279 bytes removed, 10:56, 9 July 2015
no edit summary
# Remain in your '''centos3''' VM for this section.
# 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]<br><br></li></ul>
# x::* broadcast-address::* default-lease-time::* max-lease-time (How is this different from "default-lease-time"?)::* domain-name::* domain-name-servers::* fixed-address::* group::* hardware::* host::* host-name::* range::* routers::* subnet::* subnet-mask<ol><li value="2"> Study the sample '''dhcpd.conf''' file to see examples of how these options are used.</li><li># Edit '''/etc/dhcp/dhcpd.conf''' and examine the top section of the file.</li><li>#Insert the following global settings at the top of the '''dhcpd.conf''' file:</liol value="none"></olli>:: '''domain-name''' '''ops235.org;''':: </li><li>'''domain-name-servers''' ; '''192.168.235.1;''':: </li><li>'''default-lease-time''' '''1200;''':: </li><li>'''max-lease-time''' '''3600;'''<olbr><br></li><li value="5">'''Note: ''' Any values for time are stated in seconds.</li><li>Save and exit your editing session.</li>
</ol>
13,420
edits