Open main menu

CDOT Wiki β

Changes

Lab 8 Warnings / Debrief

1,276 bytes added, 09:20, 29 July 2015
no edit summary
Here is a link to a good explanation of how dhcpd.conf works: [ '''[https://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-dhcp-configuring-server.html Configuring a DHCP Server]''' ]
 
 
<u>'''Running the DHCP Server'''</u>
 
 
After configuring the DHCP server, you need to either start the service (first time) or restart the service in order for your configuration changes to take effect.
 
<u>Useful commands</u>
 
:*<b><code><span style="color:#3366CC;font-size:1.2em;">service dhcpd start</span></code></b> (start dhcpd service for the first time)
:*<b><code><span style="color:#3366CC;font-size:1.2em;">service dhcpd restart</span></code></b> (restart dhcpd service for changes to take effect)
:*<b><code><span style="color:#3366CC;font-size:1.2em;">chkconfig dhcpd on</span></code></b> (enable dhcpd service on server boot-up)
:*<b><code><span style="color:#3366CC;font-size:1.2em;">tail -f /var/log/messages</span></code></b> (utility to confirm dhcp connections as they appear in real-time)
 
 
Note: If there are any errors in the dhcpd.conf file, then that service will not start correctly.
 
<u>Common Errors in dhcpd.conf file</u>
 
:*Syntax Errors
:*Failure to end statements with semi-colon character (;)
:*Forgetting to include braces ( { } ) in subnet declarations
 
 
 
<u>Common Errors in dhcpd.conf file:</u>
:*Syntax Errors
 
:*Failure to end statements with semi-colon character (;)
 
:*Forgetting to include braces ( { } ) in subnet declarations
== Preparing for Lab Sign-Off ==
13,420
edits