Open main menu

CDOT Wiki β

Changes

OPS235 Lab 8

7 bytes added, 00:43, 26 February 2017
Changing Start to Restart
# Make certain that you are located in your '''centos3''' virtual machine.
# Edit the dchpd.conf file and make the following changes:<ul><li> Create a <u>'''host'''</u> declaration with the name: '''centos1'''<br>(tip: search for the key-word '''"host"''' in the text editor to see an example).</li><li>Set the '''hardware ethernet''' option for the MAC address of the eth0 on your '''centos1''' VM.</li><li>Set the '''fixed-address''' option to the ip address: '''192.168.235.42'''</li></ul><br>'''Note:''' When supplying fixed-address it is important that the address assigned is exclusive of any ranges that have been declared. Otherwise it may be possible for 2 different hosts to receive the same address.<br><br>
<ol><li value="4">Start your Restart the dhcpd service and test the address assignment by releasing your current address on '''centos1''' and then requesting a new address. Use the following commands on '''centos1''':</li>
</ol>
::: <b><code><span style="color:#3366CC;font-size:1.2em;">ifdown eth0</span></code></b>