Changes

Jump to: navigation, search

OPS235 Lab 8 - CentOS7

62 bytes removed, 07:41, 6 May 2015
no edit summary
== Part 4: How do I test my dhcpd service on my virtual network?==
{{Admon/note | # Use your '''centos2 ''' and '''centos3 ''' VMs | Complete the following steps on your centos2 and centos3 VMsfor this section.}} 
# On a centos3 terminal window make sure that the command <code>tail -f /var/log/messages</code> is running.
# On your centos2 VM, change the configuration of '''eth0''' (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 centos3 dhcpd: DHCPDISCOVER from 52:54:00:61:00:e7 via eth2
Mar 24 13:28:25 centos3 dhcpd: DHCPOFFER on 192.168.235.51 to 52:54:00:61:00:e7 via eth2
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
Mar 24 13:28:25 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 centos2, confirm the IP address assignment using <code>ifconfig</code></li>
13,420
edits

Navigation menu