Open main menu

CDOT Wiki β

Changes

OPS235 Lab 8 - CentOS7

144 bytes added, 07:46, 6 May 2015
no edit summary
== Part 4: How do I test my dhcpd service on my virtual network?==
{|width="40%" align="right"
|- valign="top"
 
|{{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.}}
 
|}
# Use your '''centos2''' and '''centos3''' VMs for this section.
# On a your '''centos3 ''' terminal window make sure that the command <b><code><span style="color:#3366CC;font-size:1.2em;">tail -f /var/log/messages</codespan> 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:<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: 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>
{{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 <b><code><span style="color:#3366CC;font-size:1.2em;">ifconfig</codespan></licode></olb>
'''Answer Part 4 observations / questions in your lab log book.'''
13,420
edits