13,420
edits
Changes
no edit summary
# Use your '''centos2''' and '''centos3''' VMs for this section.
# On your '''centos3''' terminal window (via ssh from your c7host machine) make sure that the command<br><b>tail -f /var/log/messages</b> is running.
# On your '''centos2''' VM, change the configuration of '''eth0''' (or your interface name) to receive dynamic address configuration (i.e. via graphical application, for IVP4 tab, change ''Address'' from '''Manual''' to '''DHCP''', and '''Apply''' settings)<br>([http://zenit.senecac.on.ca/wiki/index.php/OPS235_Lab_6_-_CentOS7#Part_2:_Configuring_VM_Network_Setup_Graphically_.28system-config-network.29 Refer to Lab6, Investigation1, Part2]).<br><br>Note: if you are configuring via command line, make certain to restart the network for centos2.# Save your changes Logout and restart the your '''NetworkManagercentos2''' service VM.# Observe the messages that get loggedfrom the tail -f command as your centos2 VM starts. 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>