Open main menu

CDOT Wiki β

Changes

SRT210 Assignment1

21 bytes added, 09:13, 13 June 2019
A1 Test Cases:
<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>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>
221
edits