Open main menu

CDOT Wiki β

Changes

OPS235 Lab 8 - Fedora17

98 bytes added, 10:24, 25 March 2011
no edit summary
{{Admon/note | Note! | Complete the following steps on your fedora3 VM.}}
* # Edit <code>/etc/dhcp/dhcpd.conf</code> and add a new subnet delcaration for your virtual network* # The network address is 192.168.235.0/255.255.255.0 and the range of host addresses should be from 51 to 60* # Also add a default gateway for the virtual network of 192.168.235.1* # Save the file.* # Open another terminal window (ssh into fedora3 from fedora host as user root) and issue the following command:** ::: <code>tail -f /var/log/messages</code>* <ol><li value="6"> This will show you the last 10 lines of <code>/var/log/messages</code> continue to display new lines as they are added to the log.</li>* <li>In your original terminal prompt attempt to start the <code>dhcpd</code> service.</li>* <li>You should see new lines being added to the messages file.</li>* <li>If the service fails to start any error messages will be logged in the messages file. Read the errors and attempt to fix your configuration file.</li>* <li>If the service starts successfully you should see success messages in the log. </li>* <li>If your service starts successfully edit the configuration file and introduce an error by removing a semicolon or closing curly bracket.</li>* <li>Restart your service and observe the error messages generated.</li></ol>
{{Admon/tip | Troubleshooting Tip: | Troubleshooting produces the best results when you are methodical in your approach. Try to fix the first error mentioned before fixing subsequent errors. Often the first error may cause multiple error messages as the configuration file is parsed. When you think you have fixed the first error try to start your service and if it fails check the log again. Fix one error at a time.}}
* <ol><li value="13">When you have successfully started your service answer the Investigation 4 question in your log book. You may want to include all of the syntax you used.</li></ol>
=== Investigation 5: How do I test my dhcpd service on my virtual network?===
13,420
edits