Changes

Jump to: navigation, search

OPS235 Lab 8 - CentOS7

44 bytes added, 07:54, 6 May 2015
no edit summary
== Part 1: Where does the dhcp server store a record of leased addresses?Obtaining Leased Address Infomation=={|width="40%" align="right"
{{Admon/note | Use your centos2 and centos3 VMs | Complete the following steps on your centos2 and centos3 VMs.}}- 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:<prebr><br>::# lease 192.168.235.51 { ::# &nbsp; starts 3 2010/03/24 17:28:25; ::# &nbsp; ends 3 2010/03/24 17:48:25; ::# &nbsp; cltt 3 2010/03/24 17:28:25; ::# &nbsp; binding state active; ::# &nbsp; next binding state free; ::# &nbsp; hardware ethernet 52:54:00:61:00:e7;::#}</prebr>{{Admon/note | Purpose of <codebr>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.}}
<ol><li value="3">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

Navigation menu