Changes

Jump to: navigation, search

OSL740 Lab 8

30 bytes removed, 11:14, 8 April 2022
m
LAB 8 SIGN-OFF (SHOW INSTRUCTOR)
::<span style="font-family:courier;">&nbsp; &nbsp;hardware ethernet 52:54:00:ba:75:a8;</span>
::<span style="font-family:courier;">}</span>
<ol><li value="3">On the client '''centos1''' check the contents of the <b>/var/lib/dhclient</b> directory. The files in this directory is where the dhclient stores its record of leases.<br><br> '''NOTE:''' If there are no files, then in a shell as '''root''' in your '''centos1''' VM issue the command: <b><code><span style="color:#3366CC;font-size:1.2em;">sudo dhclient eth0</span></code></b><br>Then check to see if there is file containing lease information in that directory. You should get the similar contents:<br></li></ol>
::<span style="font-family:courier;"> lease {</span>
::<span style="font-family:courier;">&nbsp; &nbsp;interface "eth0";</span>
|}
 
=== Part 2: Configuring DHCP server to Continually Lease Same IP Address===
# Make certain ALL of your '''centos1''' and '''centos3''' VMs are running.
# Switch to your '''c7host''' VM and change to your user'''su -''' into root.# Change to the s '''/root/bin''' directory.
# Issue the Linux command: <b><code><span style="color:#3366CC;font-size:1.2em;">wget https://osl740.github.io/labs/lab8-check.bash</span></code></b>
# Give the '''lab8-check.bash''' file execute permissions (for the file owner).
572
edits

Navigation menu