Open main menu

CDOT Wiki β

Changes

OPS235 Lab 8 - CentOS7

3 bytes added, 08:15, 10 July 2015
no edit summary
# Now, add a new subnet delcaration for your virtual network:<br><br>The network address is: '''192.168.235.0/255.255.255.0'''<br>range of host addresses should be from: '''51 to 60'''<br>default gateway (routers) for the virtual network is: '''192.168.235.1'''<br><br>
# Save your editing session, and exit the text editor.
<ol><li value="6">Open another terminal window (ssh into centos3 from the centos host as user root) and issue the following command:::: <br><b><code><span style="color:#3366CC;font-size:1.2em;">tail -f /var/log/messages</span></code></b><libr><br>(This will show you the last 10 lines of '''/var/log/messages''' continue to display new lines as they are added to the log.)<br><br></li>
<li>In your original terminal prompt attempt to start the '''dhcpd''' service.</li>
<li>You should see new lines being added to the messages file.</li>
|}
<ol>
<li value="109">If the '''dhcpd''' 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 '''dhcpd''' service starts successfully you should see success messages in the log. </li>
<li>If your '''dhcpd''' service starts successfully, try to generate errors by editing the configuration file and introduce an error by removing a semicolon or closing curly bracket.</li>
13,420
edits