Changes

Jump to: navigation, search

SRT210 Assignment1

289 bytes added, 01:25, 17 June 2019
Part 3: Report (10 marks)
Due date: 12th of June
*'''(Update: June 13 2019)''': Final version. Added clarity (See the '''A1 Test Cases''' section below) to what will be tested at demo time (based on A1 requirements). More details of what should be in the project report. [[:File:19b-SRT210_a1.pdf|Download PDF]].
*'''(Update: May 31 2019)''': First draft. Additional edits will only clarify language and improve readability. You may consider these requirements complete for '''Assignment 1 in Summer 2019'''.
*'''(May 7 2019)''': Additional requirements will be added at a later date.
#: * http://lin1.yourmysenecaid.ops connects to Apache (from the earlier lab)
#: * http://lin1a1.yourmysenecaid.ops connects to NGINX running on lin1a1
#: * http://lin1a2lin2a1.yourmysenecaid.ops connects to Caddy running on lin2a1.
# (1 Mark) From a browser running on lin2 show you can connect to all 3 webservers using their IP addresses and their hostnames.
# (1 Mark) From a browser running on Windows show you can connect to each of the 3 webservers using the c7host IP address. NOTE: when doing this test, you will want to turn off the other two VMs.
#* MAC and IP address of <code>eth0</code> on '''lin1a1'''
#* MAC and IP address of <code>eth1</code> on '''lin1a1'''
#* MAC and IP address of <code>eth0</code> on '''lin1a2lin2a1'''
#* MAC and IP address of <code>eth0</code> on '''lin1:'''
#* MAC and IP address of <code>eth0</code> on '''lin2:'''
<ol>
<li><p>Using <code>ping 1.1.1.1</code>, <code>ssh root@hostname</code>, and <code>curl http://centos.org</code> show the following use cases:</p>
<pol type="a"><li>a. From '''lin1a1''': prove Internet connectivity of '''lin1a1''' b. </li><li>From '''lin2a1''': prove '''lin1a1''' acts as a router for '''lin2a1''' and acts as a bridge between '''asg1''' and '''network1''' using the following 3 test cases.</pli>
<ol>
<li>when '''lin1a1''' is shut down '''lin2a1''' no longer has Internet connectivity</li>
<li>when '''lin1a1''' is turned on '''lin2a1''' has Internet connectivity</li>
<li>use <code>ping</code> and <code>ssh</code> from '''lin2a1''' to connect to '''lin1''' and *'''lin2'''</li></ol>
<pli>c. From '''c7host''':</pli>
<ol>
<li><p>use <code>ping</code> and <code>ssh</code> to prove connectivity to '''lin1a1''' and '''lin2a1''' using their IP numbers and their domain names. The domain names for both '''lin1a1''' and '''lin2a1''' should be resolved through '''lin2'''.</p></li>
<li><p>use <code>curl</code> to display the home pages of Apache running on '''lin1'''; NGINX running on '''lin1a1''', and Caddy running on '''lin2a1'''. Use both IP and friendly-names methods to demonstrate this: IP addresses of their respective hosts and the domain names of those respective hosts, for example '''yourMySeneca.host.ops'''. and <code>192.168.X.33</code></p></li></ol>
</li></ol>
<li><p>From Windows, using Internet Exporer or Edge, show home page contents of your website on that host using the webserver installed on that host, example: Apache on '''lin1''', NGINX on '''lin1a1''', and Caddy on '''lin2a1'''. You may have to edit iptables rules on '''c7host''' each time you want to access that particular VM so HTTP requests coming from port <code>80</code> on Windows go directly to that VM.</p></li></ol>
3
edits

Navigation menu