• Keine Ergebnisse gefunden

Lab Exercise Sheet 4

N/A
N/A
Protected

Academic year: 2021

Aktie "Lab Exercise Sheet 4"

Copied!
8
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Lab Exercise Sheet 4

Document and analyze your experimental procedures by using your Wireshark and terminal recordings. Note all relevant intermediate steps. Mark and explain all re- levant information, such as protocol header fields, MAC addresses, IP addresses, port numbers. If you have little experience with Linux, you may need to do some research. Send your self prepared experiment documentation in the PDF file format to christianbaun@fb2.fra-uas.de and cocos@fb2.fra-uas.de and petrozziello@fb2.fra-uas.de. Alternatively, fill out the document, print it out, and submit it during one of the exercise sessions.

First name:

Last name:

Student number:

1. In the 2

nd

lab exercise you created four VMs (mastervm and clonevm[1-3]).

You also configured the network infrastructure in a way that you have a logical Bridge or alternatively IP package forwarding (NAT-Masquerading).

Now, install a DHCP server (package isc-dhcp-server) and a DNS server (package dnsmasq) on the mastervm.

Configure the DHCP server in a way that clonevm[1-3] get their net- work configurations assigned automatically. You also need to modify the file /etc/network/interfaces on clonevm[1-3] in a way that these VMs use DHCP for their virtual network interfaces.

Configure the DNS server and the DHCP server on the mastervm in a way that clonevm[1-3] use the DNS server on the mastervm as name server.

Content: Lab Exercise 4 Page 1 of 8

(2)

Explain how you configured the DHCP and the DNS server on the mastervm and copy the relevant content of the configuration files into these fields:

Filename:

Content: Lab Exercise 4 Page 2 of 8

(3)

Depending on your configuration, you may need more space for your explana- tions. Here you have some some additional space for your solution.

Filename:

Content: Lab Exercise 4 Page 3 of 8

(4)

Depending on your configuration, you may need more space for your explana- tions. Here you have some some additional space for your solution.

Filename:

Content: Lab Exercise 4 Page 4 of 8

(5)

2. Install a web server software (e.g. nginx or the Apache HTTP server) on clonevm[1-3]. Install a HTTP load balancer software (e.g. nginx

1

or HAProxy

2

) on the mastervm. The Ubuntu Linux distribution provides packa- ges for all these software solutions.

Configure the load balancer software on the mastervm in a way that incoming HTTP requests are forwarded (round-robin load balancing) to the web servers on clonevm[1-3].

Explain how you configured the load balancer software on the mastervm and copy the relevant content of the configuration file(s) into these fields:

Filename:

1

http://nginx.org/en/docs/http/load_balancing.html

2

http://www.haproxy.org

Content: Lab Exercise 4 Page 5 of 8

(6)

Depending on your configuration, you may need more space for your explana- tions. Here you have some some additional space for your solution.

Filename:

Content: Lab Exercise 4 Page 6 of 8

(7)

Explain how you configured the web server software on clonevm[1-3] and copy the relevant content of the configuration file(s) into these fields:

Filename:

Content: Lab Exercise 4 Page 7 of 8

(8)

Check the relevant MAC addresses and write them into this table:

Your local Router to the internet:

Physical network interface of your host:

mastervm (bridged interface):

mastervm (internal interface 1):

mastervm (internal interface 2):

mastervm (internal interface 3):

clonevm1 (internal interface):

clonevm2 (internal interface):

clonevm3 (internal interface):

Check the relevant IP addresses and write them into this table:

Your local Router to the internet:

Physical network interface of your host:

mastervm (bridged interface):

mastervm (internal interface 1):

mastervm (internal interface 2):

mastervm (internal interface 3):

clonevm1 (internal interface):

clonevm2 (internal interface):

clonevm3 (internal interface):

Send HTTP requests from your physical host (in other words: send from your host operating system) to the running load balancer. Now, the load balancer should distribute the HTTP requests to the available web servers. Make this visible by slightly modifying the default web pages of the installed web server software.

Monitor with Wireshark on the mastervm the forwarding of the HTTP requests and the replies from the web servers.

Which network protocols are involved in the transmission of the HTTP re- quests/replies? Assign them to the protocol stack.

Layer 7:

Layer 6:

Layer 5:

Layer 4:

Layer 3:

Layer 2:

Layer 1:

Content: Lab Exercise 4 Page 8 of 8

Referenzen

ÄHNLICHE DOKUMENTE

Therefore, we propose that exercise elevates synaptic vestibular input to motor neurons by releasing neurotrophic factors promoting axonal sprouting and synapse formation in

The energy levels ǫ J,n of our molecule are enumerated by the angular momentum and the radial quantum number n.. To understand the structure of the low-lying energy levels we

Duplex printing using the optional Duplex Unit is not possible when Thick or Thick (Back) is selected as the Paper Type setting in the printer driver.... Poor quality paper

Each students was given a pair of macular degeneration simulation glasses purchased from Vision Australia.. (https://www.visionaustralia.org/) and a dispensed label for an eye

Hand in by Thursday, October 29, 2015 at 08:30 in the corresponding mail-box in the H¨ orsaal- geb¨ aude (numbers of the mail-boxes of the exercise groups on the web-page of

2) Explain what emission and absorption spectra are. Calculate the energy of each

The financial standing of a company is influenced by the economical resources it holds, by the financial structure, the liquidity and solvency and also by the capacity to adapt

The results show that the surface elevation of individual mountain blocks has only a very local effect on ice-sheet dynamics. The existing mountain blocks of the