Open main menu

CDOT Wiki β

Changes

OPS245 Lab 8

8 bytes removed, 15:14, 8 April 2022
m
Part 1: Obtaining Leased Address Infomation
::<span style="font-family:courier;">&nbsp; &nbsp;hardware ethernet 52:54:00:ba:75:a8;</span>
::<span style="font-family:courier;">}</span>
<ol><li value="3">On the client '''centos1''' check the contents of the <b>/var/lib/dhclient</b> directory. The files in this directory is where the dhclient stores its record of leases.<br><br> '''NOTE:''' If there are no files, then in a shell as '''root''' in your '''centos1''' VM issue the command: <b><code><span style="color:#3366CC;font-size:1.2em;">sudo dhclient eth0</span></code></b><br>Then check to see if there is file containing lease information in that directory. You should get the similar contents:<br></li></ol>
::<span style="font-family:courier;"> lease {</span>
::<span style="font-family:courier;">&nbsp; &nbsp;interface "eth0";</span>
|}
 
=== Part 2: Configuring DHCP server to Continually Lease Same IP Address===
572
edits