Open main menu

CDOT Wiki β

Changes

OPS235 Lab 8 - CentOS7

2 bytes removed, 08:57, 6 May 2015
no edit summary
|- valign="top"
|{{Admon/note | Purpose of <code>'''dhcpd.leases</code> ''' File | dhcpd records address leases in this file. If the service is restarted it reads in the file to know which addresses are currently leased and for how long.}}
|}
# Remain in your '''centos2''' and '''centos3''' VMs for this section.
# If your centos3 DHCP server successfully issued the proper IP address configuration values to '''centos2''', check the file called <code>'''/var/lib/dhcpd/dhcpd.leases</code>'''
# You should see contents similar to:<br><br>
::<span style="font-family:courier;"> lease 192.168.235.51 {</span>
::<span style="font-family:courier;"> &nbsp; hardware ethernet 52:54:00:61:00:e7;</span>
::<span style="font-family:courier;">}</span><br><br>
<ol><li value="4">On the client '''centos2 ''' check the contents of the <code>/var/lib/dhclient</code> directory. The files in this directory is where the dhclient stores its record of leases.</li>
</ol>
13,420
edits