13,420
edits
Changes
no edit summary
# Save your changes and restart the '''NetworkManager''' service.
# Observe the messages that get logged. You should see output similar to the following:<br><br>
::#<span style="font-family:courier;">Mar 24 13:28:24 centos3 dhcpd: DHCPDISCOVER from 52:54:00:61:00:e7 via eth2</span>::#<span style="font-family:courier;">Mar 24 13:28:25 centos3 dhcpd: DHCPOFFER on 192.168.235.51 to 52:54:00:61:00:e7 via eth2</span>::#<span style="font-family:courier;">Mar 24 13:28:25 centos3 dhcpd: DHCPREQUEST for 192.168.235.51 (192.168.235.13) from 52:54:00:61:00:e7 via eth2</span>::#<span style="font-family:courier;">Mar 24 13:28:25 centos3 dhcpd: DHCPACK on 192.168.235.51 to 52:54:00:61:00:e7 via eth2<br><br></span>
<ol>
<li value="6">On '''centos2''', confirm the IP address assignment using <b><code><span style="color:#3366CC;font-size:1.2em;">ifconfig</span></code></b></li>
# 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;"> starts 3 2010/03/24 17:28:25;</span>::# <span style="font-family:courier;"> ends 3 2010/03/24 17:48:25;</span>::# <span style="font-family:courier;"> cltt 3 2010/03/24 17:28:25;</span>::# <span style="font-family:courier;"> binding state active;</span>::# <span style="font-family:courier;"> next binding state free;</span>::# <span style="font-family:courier;"> hardware ethernet 52:54:00:61:00:e7;</span>::#<span style="font-family:courier;">}</span><br><br><ol><li value="34">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>