COURSEWORK ASSIGNMENT Module Title: Wireless Mobile and Multimedia Module Code: 7COM1076 Networking Assignment Title: 7COM1076 Coursework Individual Assignment Tutor : Dr Hannan Xiao and Omesh Fernando Internal Moderator : Dr Joe Spring Student ID Number ONLY : Year Code: Marks Awarded %: Marks Awarded after Lateness Penalty applied %: Penalties for Late Submissions Late submission of any item of coursework for each day or part thereof (or for hard copy submission only, working day or part thereof) for up to five days after the published deadline, coursework relating to modules at Levels 0, 4, 5, 6 submitted late (including deferred coursework, but with the exception of referred coursework), will have the numeric grade reduced by 10 grade points until or unless the numeric grade reaches or is 40. Where the numeric grade awarded for the assessment is less than 40, no lateness penalty will be applied. Late submission of referred coursework will automatically be awarded a grade of zero (0). Coursework (including deferred coursework) submitted later than five days (five working days in the case of hard copy submission) after the published deadline will be awarded a grade of zero(0). Where genuine serious adverse circumstances apply, you may apply for an extension to the hand- in date, provided the extension is requested a reasonable period in advance of the deadline. Please refer to your student handbook for details about the grading schemes used by the School when assessing your work. Guidance on assessment will also be given in the Module Guide. Guidance on avoiding academic assessment offences such as plagiarism and collusion is given at this URL: http://www.studynet.herts.ac.uk/ptl/common/LIS.nsf/lis/citing_menu Regulations governing assessment offences including Plagiarism and Collusion are available from: http://sitem.herts.ac.uk/secreg/upr/pdf/AS14-Apx3-Assessment%20Offences-v06.0.pdf

ASSIGNMENT BRIEF Students, you should delete this section before submitting your work. This Assignment assesses the following module Learning Outcomes (Take these from the module DMD): Successful students will typically: LO1: have a knowledge and understanding of the complex problems and issues arising when mobility occurs in networks; LO2: have a knowledge and deep understanding of the complex problems and issues arising when network applications have different quality of service requirements Successful students will typically: LO3: be able to discuss and critically evaluate protocols intended to solve problems or address new applications that arise in mobile networking; LO4: be able to articulate and critically evaluate protocols intended to solve complex problems or address new applications that arise in multimedia networking. Assignment Brief: Please see the attached file Submission Requirements: Please submit the following components via StudyNet module website. •One zipped file of all source files in mininet using your student number as the filename. •Report. You are required to submit the report via StudyNet in a PDF format using your student number as the filename. The final report is an academic report in a PDF and as such the following report structure is expected: 1. Introduction (keep it brief) 2. Main sections of the report on system modelling, simulations, and results analysis. 3. References: one fused reference list. 4. Appendixes This assignment is worth 30 % of the overall assessment for this module. Marks awarded for: Please see the attached file A note to the Students: 1. For undergraduate modules, a score above 40% represent a pass performance at honours level. 2. For postgraduate modules, a score of 50% or above represents a pass mark. 3. Modules may have several components of assessment and may require a pass in all elements. For further details, please consult the relevant Module Guide or ask the Module Leader. Typical (hours) required by the student(s) to complete the assignment: 50 hours Regulations governing assessment offences including Plagiarism and Collusion are available from: http://sitem.herts.ac.uk/secreg/upr/pdf/AS14-Apx3-Assessment%20Offences-v06.0.pdf

Date Work handed out: Date Work to be handed in: Target Date for the return of 31 st October 2019 13 December 2019 the marked assignment: Within 4 weeks of hand in Type of Feedback to be given for this assignment: Formative feedback will be given for the coursework during the scheduled sessions as per the module delivery plan. Individual personalised summative feedback will be given through StudyNet for the final submission. Feedback is not just the marks and the commentary at the end of the module –it is also the regular advice about your work as you undertake the practical activities. If you fail to undertake the practical activities and you fail to engage with the class and with the instructors, you will disadvantage yourself. Regulations governing assessment offences including Plagiarism and Collusion are available from: http://sitem.herts.ac.uk/secreg/upr/pdf/AS14-Apx3-Assessment%20Offences-v06.0.pdf

THE ASSIGNMENT TASK: The goal of this coursework is to apply the knowledge and the understanding form the classroom and understand the application of it in a real scenario. There are two tasks, one on wireless and mobile networking, and the other on multimedia networking. TASK 1: Wireless and Mobile Networking 1) Step 1: WiFi Networking Write a python script to emulate the following environment. Completion of this task will require the knowledge and understanding of thelab material and will require extra knowledge that can be obtained through self-study and research. The topology should be as the following illustration. Figure 1.1: Topology for WiFi network The illustrated topology in Figure 1.1 consists of four access points and three stations. The stations can represent a smart hand-held device which can vary from to a laptop, UE or to any WiFi compatible device. The topology above should be pushed towards the Mininet API using a python script with the following information and criteria. Please adhere to the mentioned settings and configurations and deviating from the given settings may reduce the full marks given. Name MAC IP Address (X,Y) SSID Password Model Range Channel coordinates AP1 00:00:00:00:10:02 N/A 50,50,0 ap1 studentID DI524 25 1 AP2 00:00:00:00:10:03 N/A 100,50,0 ap2 studentID DI524 25 6 AP3 00:00:00:00:10:04 N/A 100,90,0 ap3 studentID DI524 25 2 AP4 00:00:00:00:10:05 N/A 50,90,0 ap4 studentID DI524 25 3 STA1 00:00:00:00:00:02 10.0.0.2/8 30,40,0 N/A studentID N/A 20 N/A STA2 00:00:00:00:00:03 10.0.0.3/8 30,40,0 N/A studentID N/A 20 N/A STA3 00:00:00:00:00:04 10.0.0.4/8 30,40,0 N/A studentID N/A 20 N/A Table 1.1: MAC, IP, SSID, coordinates and other information of the nodes in Figure 1.1 Encryption type for the communication is wpa2 and the failMode is standalone . The stations are in mobility state. Add mobility to your script adhering to the following variables. Links are marked in RED where the pairs (AP1, AP3), (AP1, AP2), and (AP2, AP4) are connected using physical links. Regulations governing assessment offences including Plagiarism and Collusion are available from: http://sitem.herts.ac.uk/secreg/upr/pdf/AS14-Apx3-Assessment%20Offences-v06.0.pdf

The mobility of the station nodes will be in the following sequence. Name Start Location End Location Start Time – End Moving Speed (min- Time max) STA1 30,40,0 100,40,0 10s-20s min_v=1, max_v=5 STA2 30,40,0 30,100,0 30s-60s min_v=5, max_v=10 STA3 30,40,0 100,100,0 25s-60s min_v=2, max_v=7 Table 1.2: Mobility of the Nodes in Figure 1.1 Upon completion of the script with mobility, your network should emulate the following. Figure 1.2: Emulated Network of Figure 1.1 in Mininet Deliverable: Python script that you utilized to push to configurations towards the Mininet API Screenshot from the Mininet WiFI GUI o Prior Mobility o At the completion of mobility Screenshot of the access point connected upon completion of mobility by stations and the command/s used to obtain that information. This should be for all three stations o STA1 o STA2 o STA3 Ping STA1<---> STA2 , STA2<---> STA3, STA1<---> STA3. Provide the screenshot of your successful pings. You may use the Mininet commands line or the x-Term CLI Initiate a TCP Flow between STA1 and STA3 with STA1 being the server and STA3 as the client. Send a TCP flow of 1Gb(1024Mb) using the socket 7789. Capture the server and the client statistics to two text files in the following format. o Server --> stduentID 1031 - ServerTCP.txt o Client --> stduentID 1031 - ClientTCP.txt Capture the transfer using Wireshark and filter TCP flagged packets and TCP packets Provide a screenshot at the end of the transfer. This is the completion of the Step 1. 2) Step 2: Ad Hoc Networking Regulations governing assessment offences including Plagiarism and Collusion are available from: http://sitem.herts.ac.uk/secreg/upr/pdf/AS14-Apx3-Assessment%20Offences-v06.0.pdf

Create a new file from the existing python script, rename this to highlight T2. To your existing emulation, add three more stations of ADHOC mode. The emulation environment and the configurations for the same are as follows. Figure 1.3: Topology for wireless ad hoc network/mesh network Name IPv6 MAC Position Rang Antenn Antenn Protoco SSID HT_CA e a a Gain l P Height sta4a fe80:: 00:00:00:00:00:0 125,150, 40 1 5 olsr adhocUH HT40+ d 4 5 0 sta5a fe80:: 00:00:00:00:00:0 150,150, 40 2 6 olsr adhoc s U HT40+ d 5 6 0 H sta6a fe80:: 00:00:00:00:00:0 175,150, 40 3 7 olsr adhocUH HT40+ d 6 7 0 sta7M fe80:: 00:00:00:00:00:0 175,75,0 30 3 7 N/A mesh HT40+ 7' 8 sta8M fe80:: 00:00:00:00:00:0 175,50,0 30 3 7 N/A mesh HT40+ 8 9 sta9M fe80:: 00:00:00:00:00:1 175,25,0 30 3 7 N/A mesh HT40+ 9 0 Table 1.3: MAC , IP , SSID , coordinates and other information of the nodes for Task1, step 2. Upon completion of the step 2, your topology should have the following in the output. Regulations governing assessment offences including Plagiarism and Collusion are available from: http://sitem.herts.ac.uk/secreg/upr/pdf/AS14-Apx3-Assessment%20Offences-v06.0.pdf

Figure 1.4: Output from Mininet-WiFi Graph Deliverable: Python script that you utilized to push the configurations towards the Mininet-WiFi Initiate an ICMP stream between sta7M < ---> sta8M, sta8M < ---> sta9M and sta7M < --- > sta9M and produce three screenshots for each Initiate an ICMP stream between sta4ad < ---> sta5ad, sta5ad < ---> sta6ad and sta4ad < ---> sta6ad and produce three screenshots for each Report on Task 1: Your report must include the following: Modelling o Two Python Scripts o Screenshots as mentioned in the deliverable section in each task, totalling the number of screenshots but notlimited to 14 o Two texts files containing server and client statistics Results o Throughput, I/O graph, Total number of TCP packets and Total number of TCP flagged packets o Screenshot of the statistic file from Wireshark Analysis o Calculate TCP Success rate, this can be done by the statistics collected at Task 1.5 o Critically evaluate the reason for success or failure of the ICMP streams between sta4ad < ---> sta6ad and sta7M < ---> sta9M. Conduct a discussion of the results with evidence (screenshots) and reference. o If the nodes are in mobility during the transmission of the TCP stream, will the performance deviate from the collected in any way? Conduct a discussion based on this experiment. If needed add reference from background research to further support your claims. There is a maximum of 5-page limit (A4 size) excluding appendices and references, although marginal excess can be condoned. Python file, server and client text files, screenshots should be in the Appendix section which doesn’t reflect on the page count. Regulations governing assessment offences including Plagiarism and Collusion are available from: http://sitem.herts.ac.uk/secreg/upr/pdf/AS14-Apx3-Assessment%20Offences-v06.0.pdf

TASK 2: Multimedia Networking 1) Step 1: Build the SDN network in Mininet Figure 2.1: Network Topology In this task, you will need to model and emulate the topology in Figure 2.1 with different requirements and settings to illustrate a real network scenario. The network has a total of 11 switches configured in OpenFlow with the application of the SDN controller (ONOS), 10 hosts, 2 VLANs and two servers with public IPs addresses. The goal of this coursework is to apply the knowledge and the understanding form the class room and understand the application of it in a real scenario. The topology above has the following configurations. Name IP Address MAC VLAN CPU H1 192.168.1.1/24 00:00:00:00:00:01 N/A N/A H2 192.168.1.2/24 00:00:00:00:00:02 200 N/A H3 192.168.1.3/24 00:00:00:00:00:03 300 N/A H4 192.168.1.4/24 00:00:00:00:00:04 N/A 0.5 H5 192.168.1.5/24 00:00:00:00:00:05 200 N/A H6 192.168.1.6/24 00:00:00:00:00:06 300 N/A H7 192.168.1.7/24 00:00:00:00:00:07 300 N/A H8 192.168.1.8/24 00:00:00:00:00:08 N/A N/A H9 192.168.1.9/24 00:00:00:00:00:09 200 N/A H10 192.168.1.10/24 00:00:00:00:00:10 N/A N/A Server 10.0.0.1/8 00:00:00:00:00:11 N/A N/A UDP 30.0.0.1/8 00:00:00:00:01:01 N/A 0.5 Table 2.1: Network configurations Links drawn in red in the topology has the following modifications and alterations deviating from a perfect network scenario. Link Bandwidth (MB/s) Delay (ms) Loss Switch1 – Switch2 100 3 0 Switch1 – Switch5 250 3 0 Switch1 – Switch6 250 3 0 Regulations governing assessment offences including Plagiarism and Collusion are available from: http://sitem.herts.ac.uk/secreg/upr/pdf/AS14-Apx3-Assessment%20Offences-v06.0.pdf