1,234
edits
Changes
→Investigation 5: How do I test my dhcpd service on my virtual network?
=== Investigation 5: How do I test my dhcpd service on my virtual network?===
{{Admon/note | Use your fedora2 centos2 and fedora3 centos3 VMs | Complete the following steps on your fedora2 centos2 and fedora3 VM'scentos3 VMs.}}
# On a fedora3 centos3 terminal window make sure that the command <code>tail -f /var/log/messages</code> is running.# On your fedora2 centos2 VM, change the configuration of '''eth1eth0''' (or your interface name) to receive dynamic address configuration.
# Save your changes and restart the <code>NetworkManager</code> service.
# Observe the messages that get logged. You should see output similar to the following:
<pre >
Mar 24 13:28:24 fedora3 centos3 dhcpd: DHCPDISCOVER from 52:54:00:61:00:e7 via eth2Mar 24 13:28:25 fedora3 centos3 dhcpd: DHCPOFFER on 192.168.235.51 to 52:54:00:61:00:e7 via eth2Mar 24 13:28:25 fedora3 centos3 dhcpd: DHCPREQUEST for 192.168.235.51 (192.168.235.13) from 52:54:00:61:00:e7 via eth2Mar 24 13:28:25 fedora3 centos3 dhcpd: DHCPACK on 192.168.235.51 to 52:54:00:61:00:e7 via eth2
</pre>
{{Admon/note | Identifying DHCP Lease Transaction Information | These messages record the DHCP lease transaction that consists of 4 broadcast packets, DISCOVER, OFFER, REQUEST and ACKNOWLEDGE. Try researching on the internet how this transaction differs from a DHCP lease renewal.}}
<ol><li value="5">On fedora2centos2, confirm the IP address assignment using <code>ifconfig</code></li>
</ol>
'''Answer the Investigation 5 observations / questions in your lab log book.'''
== Obtaining Lease Information & Lease Permanent IP Address ==