Changes

Jump to: navigation, search

OPS235 Lab 8 - CentOS7 - SSD

23 bytes added, 08:50, 15 June 2016
no edit summary
<br><br>
The term '''DORA''' best describes how DHCP Works:
<br><br>
{|cellpadding="2" width="60%"
|width="90%" |The client sends a '''message of acceptance to the server'''. In turn, the client receives from the server a '''packet of information''' containing the lease duration and other configuration information
|}
<br><br>== Part 1: Installation of a DHCP==
{| width="40%" align="right" cellpadding="10"
|- valign="top"
|{{Admon/note|VM Backups and Yum Updates|Before proceeding with this lab make certain that you have backed-up from lab7, and then perform a '''yum update''' on all machines (including your VMs)|}}
|}
=== Part 1: Installation of a DHCP===
 
'''Perform the following steps:'''
 
# Perform this section in your '''centos3''' VM.<br><br>The version of DHCP server that comes with CentOS is maintained and distributed by the Internet Software Consortium (http://www.isc.org). The source package that you can download from ISC includes not only the DHCP server, but also a DHCP client and a DHCP relay agent. CentOS separates it into two RPM packages: the DHCP client package and the DHCP server package. The DHCP client package is installed by default by the workstation installation.<br><br>
# To check that you have <b>dhclient</b> installed, enter the command:
# Copy the '''dhcpd.conf.example''' file to the '''/etc/dhcp''' directory making sure it is named: '''/etc/dhcp/dhcpd.conf'''
'''Answer Part 1 observations / questions in your lab log book.'''
[[Image:dhcp-config.png|thumb|right|500px|The '''dhcpd.config''' file allows the Linux system administrator to customize the DCHP server. Generally in this file are '''global settings''' (options that apply throughout entire network) and '''subnet declarations''' (options that apply only to that subnet). Whenever changes are made to this file, the '''DCHP service needs to be restarted''' to allow new settings to take effect.<br><br>'''NOTE: Any errors in this file (such as typos or missing semi-colons) can cause the DHCP server not to restart!''' ]]
=== Part 2: Configuring the DHCP Server===
[[Image:dhcp-config.png|thumb|right|500px|The '''dhcpd.config''' file allows the Linux system administrator to customize the DCHP server. Generally in this file are '''global settings''' (options that apply throughout entire network) and '''subnet declarations''' (options that apply only to that subnet). Whenever changes are made to this file, Perform the '''DCHP service needs to be restarted''' to allow new settings to take effect.<br><br>'''NOTEfollowing steps: Any errors in this file (such as typos or missing semi-colons) can cause the DHCP server not to restart!''' ]]
# Remain in your '''centos3''' VM for this section.
'''Answer Part 2 observations / questions in your lab log book.'''
 
 
== Part 3: Configuring DHCP Server for Static IP Addresses==
{|width="40%" align="right"
|}
== Part 3: Configuring DHCP Server for Static IP Addresses==
'''Perform the following steps:'''
# Remain in your '''centos3''' VM for this section.
 
'''Answer Part 3 observations / questions in your lab log book.'''
 
 
== Part 4: How do I test my dhcpd service on my virtual network?==
{|width="40%" align="right"
|}
== Part 4: How do I test my dhcpd service on my virtual network?==
 
'''Perform the following steps:'''
 
# Use your '''centos2''' and '''centos3''' VMs for this section.
# On your '''centos3''' terminal window (via ssh from your c7hsot machine) make sure that the command<br><b>tail -f /var/log/messages</b> is running.
</ol>
'''Answer Part 4 INVESTIGATION 1 observations / questions in your lab log book.'''
== Part 1: Obtaining Leased Address Infomation==
{|width="40%" align="right"
|}
=== Part 1: Obtaining Leased Address Infomation===
 
'''Perform the following steps:'''
# Remain in your '''centos2''' and '''centos3''' VMs for this section.
'''Answer Part 1 observations / questions in your lab log book.'''
== Part 2: Configuring DHCP server to Continually Lease Same IP Address==
{|width="40%" align="right"
|}
=== Part 2: Configuring DHCP server to Continually Lease Same IP Address===
 
'''Perform the following steps:'''
 
# Remain in your '''centos2''' and '''cento3''' VMs for this section.
# Make certain that you are located in your '''centos3''' virtual machine.
'''Answer Part INVESTIGATION 2 observations / questions in your lab log book.'''
= LAB 8 SIGN-OFF (SHOW INSTRUCTOR) =
13,420
edits

Navigation menu